search for: _z2t1i

Displaying 1 result from an estimated 1 matches for "_z2t1i".

Did you mean: _z2i1v
2019 Sep 26
2
Optimizing functions using logical operators
...rce code? Thanks. bool t1(int v1) { return (2 + v1) == 7; } bool t2(float v1) { return (2.f + v1) == 7.f; } bool t3(int v1) { return (2 * v1) > 0; } bool t4(float v1) { return (2.f * v1) > 0; } ; Function Attrs: norecurse nounwind readnone ssp uwtable define zeroext i1 @_Z2t1i(i32) #0 { %2 = icmp eq i32 %0, 5 ret i1 %2 } ; Function Attrs: norecurse nounwind readnone ssp uwtable define zeroext i1 @_Z2t2f(float) #0 { %2 = fadd float %0, 2.000000e+00 %3 = fcmp oeq float %2, 7.000000e+00 ret i1 %3 } ; Function Attrs: norecurse nounwind readnone ssp uwtable define...