search for: __fff

Displaying 9 results from an estimated 9 matches for "__fff".

Did you mean: __ffs
2009 Sep 28
3
[LLVMdev] Printing Function Arguments
...ewycky wrote: > > ivtm wrote: >> I am processing the LLVM instructions and right now I am at the 'call' >> instruction. >> For now I just want to print the argument type. >> >> For example in the following: >> >> %0 = tail call i32 (...)* @__FFF (i32 8) nounwind; <i32> [#uses=1] >> >> I need to get access to 'i32' and '8' separately. >> >> I do: >> >> CallInst *CI = dyn_cast<CallInst>(I); >> Value *v = CI->getOperand(1) >> >> I can get the type via v...
2009 Sep 28
0
[LLVMdev] Printing Function Arguments
Another question, I need to get the "%0" below in the: %0 = tail call i32 (...)* @__FFF (i32 8) nounwind; <i32> [#uses=1] that is, the return register. I am wondering in general, where should I look in the llvm codebase for parsing instructions ? I am looking at existing passes and also the header files like Function.h, etc to see what methods they have, but it takes a while...
2009 Sep 28
2
[LLVMdev] Printing Function Arguments
I am processing the LLVM instructions and right now I am at the 'call' instruction. For now I just want to print the argument type. For example in the following: %0 = tail call i32 (...)* @__FFF (i32 8) nounwind; <i32> [#uses=1] I need to get access to 'i32' and '8' separately. I do: CallInst *CI = dyn_cast<CallInst>(I); Value *v = CI->getOperand(1) I can get the type via v->getType() and that returns 'i32', which is good. But I also need to...
2009 Sep 28
3
[LLVMdev] Printing Function Arguments
ivtm <martinaide1 at yahoo.com> writes: > Another question, I need to get the "%0" below in the: > > %0 = tail call i32 (...)* @__FFF (i32 8) nounwind; <i32> [#uses=1] > > that is, the return register. What information do you want, exactly? In your example, %0 is the CallInst. So if you have CallInst *ci = CallInst::Create(... then use `ci' whenever you want to use %0. > I am wondering in general, where s...
2009 Sep 28
0
[LLVMdev] Printing Function Arguments
ivtm wrote: > I am processing the LLVM instructions and right now I am at the 'call' > instruction. > For now I just want to print the argument type. > > For example in the following: > > %0 = tail call i32 (...)* @__FFF (i32 8) nounwind; <i32> [#uses=1] > > I need to get access to 'i32' and '8' separately. > > I do: > > CallInst *CI = dyn_cast<CallInst>(I); > Value *v = CI->getOperand(1) > > I can get the type via v->getType() and that returns '...
2009 Sep 28
0
[LLVMdev] Printing Function Arguments
...other stuff). Anyway..concretely, I need to extract the return register for an instruction. Óscar Fuentes wrote: > > ivtm <martinaide1 at yahoo.com> writes: > >> Another question, I need to get the "%0" below in the: >> >> %0 = tail call i32 (...)* @__FFF (i32 8) nounwind; <i32> [#uses=1] >> >> that is, the return register. > > What information do you want, exactly? > > In your example, %0 is the CallInst. So if you have > > CallInst *ci = CallInst::Create(... > > then use `ci' whenever you want to...
2009 Sep 28
4
[LLVMdev] Printing Function Arguments
...need to extract the return register for an > instruction. > > > > Óscar Fuentes wrote: >> ivtm <martinaide1 at yahoo.com> writes: >> >>> Another question, I need to get the "%0" below in the: >>> >>> %0 = tail call i32 (...)* @__FFF (i32 8) nounwind; <i32> [#uses=1] >>> >>> that is, the return register. >> What information do you want, exactly? >> >> In your example, %0 is the CallInst. So if you have >> >> CallInst *ci = CallInst::Create(... >> >> then use `ci...
2009 Sep 28
0
[LLVMdev] Printing Function Arguments
...an >> instruction. >> >> >> >> Óscar Fuentes wrote: >>> ivtm <martinaide1 at yahoo.com> writes: >>> >>>> Another question, I need to get the "%0" below in the: >>>> >>>> %0 = tail call i32 (...)* @__FFF (i32 8) nounwind; <i32> [#uses=1] >>>> >>>> that is, the return register. >>> What information do you want, exactly? >>> >>> In your example, %0 is the CallInst. So if you have >>> >>> CallInst *ci = CallInst::Create(... &g...
2009 Sep 28
0
[LLVMdev] Printing Function Arguments
...an >> instruction. >> >> >> >> Óscar Fuentes wrote: >>> ivtm <martinaide1 at yahoo.com> writes: >>> >>>> Another question, I need to get the "%0" below in the: >>>> >>>> %0 = tail call i32 (...)* @__FFF (i32 8) nounwind; <i32> [#uses=1] >>>> >>>> that is, the return register. >>> What information do you want, exactly? >>> >>> In your example, %0 is the CallInst. So if you have >>> >>> CallInst *ci = CallInst::Create(... &g...