Searched refs:fold (Results 1 – 25 of 383) sorted by relevance
12345678910>>...16
68 bool fold(node &n);69 bool fold(container_node &n);70 bool fold(alu_node &n);71 bool fold(fetch_node &n);72 bool fold(cf_node &n);
41 %does.not.fold.to.true = icmp slt i8 %idx, 4242 ; CHECK: call void @side_effect(i1 %does.not.fold.to.true)43 call void @side_effect(i1 %does.not.fold.to.true)48 ; CHECK: call void @side_effect(i1 %does.not.fold.to.true)49 call void @side_effect(i1 %does.not.fold.to.true)
54 def fold(self, node): member in Optimizer67 visit_Filter = visit_Test = visit_CondExpr = fold68 del fold
1 ; This test checks to make sure that constant exprs fold in some simple situations5 @A = global i32* bitcast (i8* null to i32*) ; Cast null -> fold6 @B = global i32** bitcast (i32** @A to i32**) ; Cast to same type -> fold
7 ; objectsize should fold to a constant, which causes the branch to fold to an8 ; uncond branch. Next, we fold the control flow alltogether.
1 ; This test checks to make sure that constant exprs fold in some simple situations11 @A = global i32* bitcast (i8* null to i32*) ; Cast null -> fold12 @B = global i32** bitcast (i32** @A to i32**) ; Cast to same type -> fold
3 ; Test that we don't fold the shift.17 ; Test that we don't fold the sign-extend.31 ; Test that we don't fold the sign-extend.
5 define void @fold_sgpr(i32 addrspace(1)* %out, i32 %fold) {7 %tmp0 = icmp ne i32 %fold, 012 %offset = add i32 %fold, %id25 %fold = add i32 3, 231 %val = or i32 %id, %fold
9 ; We can not fold either stack load into an 'xor' instruction because that11 ; We can fold the 16-byte constant load into either 'xor' instruction,37 ; We can not fold the load from the stack into the 'and' instruction because39 ; We can fold the load of the constant because it is a 16-byte vector constant.
1 ; This testcase was distilled from 132.ijpeg. Bsaically we cannot fold the4 ; that we do not fold the load into the sub.
4 ; The dag combiner should fold together (x&127)|(y&16711680) -> (x|y)&c117 ; <rdar://problem/7529774> The optimizer shouldn't fold this into (and (or, C), D)
3 ; fold (shl (zext (lshr (A, X))), X) -> (zext (shl (lshr (A, X)), X))7 ; This will help DAGCombiner to identify and then fold the sequence96 ; Don't fold the pattern if we use arithmetic shifts.137 ; Don't fold the pattern if there is more than one use of the190 ; Verify also that we correctly fold the shl-shr sequence into an
3 ; This shouldn't fold, because sin(inf) is invalid.11 ; This should fold.
4 ; Do not fold into shr X, 34, as this uses undefined behavior!11 ; Do not fold into shl X, 34, as this uses undefined behavior!
4 ; Instcombine tries to fold (fptrunc (sqrt (fpext x))) -> (sqrtf x), but this5 ; shouldn't fold when sqrtf isn't available.
115 ; This can't fold because the 25-bit input doesn't fit in the mantissa.145 ; This can fold because the 25-bit input is signed and we disard the sign bit.154 ; This can't fold because the 26-bit input won't fit the mantissa165 ; This can fold because the 54-bit output is signed and we disard the sign bit.174 ; This can't fold because the 55-bit output won't fit the mantissa
5 ; Verify that instcombine is able to fold identity shuffles.23 ; Instcombine should be able to fold the following shuffle to a builtin shufflevector44 ; Verify that instcombine is able to fold constant shuffles.64 ; Verify that instcombine is able to fold constant shuffles with undef mask elements.
11 ; Ensure that we can fold a store to a load of a global across a store to28 ; Ensure that we can fold a store to a load of a global across a store to47 ; Ensure that we can fold a store to a load of a global across a store to68 ; Ensure that we can fold a store to a load of a global across a store to102 ; Ensure that we can fold a store to a load of a global across a store to
6 ; DAGCombiner should fold this code in finite time.34 ; DAGCombiner shouldn't fold the sdiv (ashr) away.67 ; DAG Combiner can't fold this into a load of the 1'th byte.
7 ; objectsize should fold to a constant, which causes the branch to fold to an
5 ; fold the immediate by breaking it into two parts and fold them into the