search for: call7

Displaying 5 results from an estimated 5 matches for "call7".

Did you mean: call
2015 Aug 21
2
The semantics of the fptrunc instruction with an example of incorrect optimisation
...getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), double 0x3FD3333340000000) #2 %call3 = tail call i32 @fesetround(i32 2048) #2 %call6 = tail call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), double 0x3FD3333340000000) #2 %call7 = tail call i32 @fesetround(i32 1024) #2 %call10 = tail call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), double 0x3FD3333340000000) #2 ret i32 0 } ``` the cast of a constant has been constant folded incorrectly (I guess that clang is assumin...
2014 Jan 14
2
[LLVMdev] Question About the LLVM IR unnamed values!
...intf(i8* getelementptr inbounds ([14 x i8]* @.str1, i32 0, i32 0), i32* %b) %call5 = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([14 x i8]* @.str2, i32 0, i32 0), i32* %e) %call6 = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([14 x i8]* @.str, i32 0, i32 0), i32* %d) %call7 = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([14 x i8]* @.str, i32 0, i32 0), i32* %g) %call8 = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([14 x i8]* @.str, i32 0, i32 0), i32* %f) ret i32 0 } ​ the "add" instructions all have names like "%add", &...
2019 Aug 05
2
LLVM crashing while trying to build SPEC with Clang
Hello, I am building the SPEC 2006 Benchmark with Clang as the compiler. I have written a function pass in LLVM and I am trying to run that for SPEC by invoking the pass in the build options of SPEC. The build options of SPEC are in a *.cfg config file, which allows us to specify the choice of compiler while building SPEC. (https://www.spec.org/cpu2006/Docs/install-guide-unix.html) The pass
2018 Aug 23
2
[RFC] "Properly" Derive Function/Argument/Parameter Attributes
...nw(i32* %r0, i32* %w0) %call3 = call i32* @internal_ret0_nw(i32* %w0, i32* %w0) %call4 = call i32* @external_ret2_nrw(i32* %r0, i32* %r1, i32* %w0) %call5 = call i32* @external_ret2_nrw(i32* %r1, i32* %r0, i32* %w0) %call6 = call i32* @external_sink_ret2_nrw(i32* %r0, i32* %r1, i32* %w0) %call7 = call i32* @external_sink_ret2_nrw(i32* %r1, i32* %r0, i32* %w0) %call8 = call i32* @internal_ret0_nw(i32* %r1, i32* %w0) br label %return return: ; preds = %if.end, %if.then %retval.0 = phi i32* [ %call8, %if.end ], [ %r1, %if.then ] ret i32* %re...
2013 Feb 14
1
[LLVMdev] LiveIntervals analysis problem
....inc.6.i.i %incdec.ptr.7.i.i = getelementptr inbounds i16* %a, i32 8 %46 = load i16* %incdec.ptr.7.i.i, align 2, !tbaa !5 %phitmp.i = icmp eq i16 %46, 0 br i1 %phitmp.i, label %land.lhs.true, label %lor.lhs.false land.lhs.true: ; preds = %for.inc.7.i.i %call7 = call fastcc i32 @ecmp(i16* %b, i16* getelementptr inbounds ([10 x i16]* @ezero, i32 0, i32 0)) %cmp = icmp eq i32 %call7, 0 br i1 %cmp, label %if.then13, label %land.lhs.true.lor.lhs.false_crit_edge land.lhs.true.lor.lhs.false_crit_edge: ; preds = %land.lhs.true %.pre = load i16...