search for: element_t

Displaying 4 results from an estimated 4 matches for "element_t".

2017 Aug 04
3
[RFC][InlineCost] Modeling JumpThreading (or similar) in inline cost model
All, I'm working on an improvement to the inline cost model, but I'm unsure how to proceed. Let me begin by first describing the problem I'm trying to solve. Consider the following pseudo C code: *typedef struct element { unsigned idx; } element_t; * *static inline unsigned char fn2 (element_t *dst_ptr, const element_t *a_ptr, const element_t *b_ptr, unsigned char changed) { if (a_ptr && b_ptr && a_ptr->idx == b_ptr->idx) { if (!changed && dst_ptr && dst_ptr->idx == a_ptr-...
2017 Aug 07
3
[RFC][InlineCost] Modeling JumpThreading (or similar) in inline cost model
...o:mcrosier at codeaurora.org>> wrote: All, I'm working on an improvement to the inline cost model, but I'm unsure how to proceed. Let me begin by first describing the problem I'm trying to solve. Consider the following pseudo C code: typedef struct element { unsigned idx; } element_t; static inline unsigned char fn2 (element_t *dst_ptr, const element_t *a_ptr, const element_t *b_ptr, unsigned char changed) { if (a_ptr && b_ptr && a_ptr->idx == b_ptr->idx) { if (!changed && dst_ptr && dst_ptr->idx == a_ptr->id...
2017 Aug 04
4
[RFC][InlineCost] Modeling JumpThreading (or similar) in inline cost model
...I'm working on an improvement to the inline cost model, but I'm > unsure how to proceed. Let me begin by first describing the > problem I'm trying to solve. Consider the following pseudo C code: > > *typedef struct element { > unsigned idx; > } element_t; > * > > *static inline > unsigned char fn2 (element_t *dst_ptr, const element_t *a_ptr, > const element_t *b_ptr, unsigned char changed) { > if (a_ptr && b_ptr && a_ptr->idx == b_ptr->idx) { > if (!changed...
2017 Aug 07
2
[RFC][InlineCost] Modeling JumpThreading (or similar) in inline cost model
...but I'm unsure how to proceed. Let me begin by > first describing the problem I'm trying to solve. > Consider the following pseudo C code: > > *typedef struct element { > unsigned idx; > } element_t;* > > *static inline > unsigned char fn2 (element_t *dst_ptr, const element_t > *a_ptr, > const element_t *b_ptr, unsigned char changed) { > if (a_ptr && b_ptr && a_ptr->idx == b_p...