Displaying 2 results from an estimated 2 matches for "transformcallthroughtrampoline".
2011 Aug 25
0
[LLVMdev] [RFC] Splitting init.trampoline into init.trampoline and adjust.trampoline
...nstFromFunction(*CS.getInstruction());
> }
>
> - if (BitCastInst *BC = dyn_cast<BitCastInst>(Callee))
> - if (IntrinsicInst *In = dyn_cast<IntrinsicInst>(BC->getOperand(0)))
> - if (In->getIntrinsicID() == Intrinsic::init_trampoline)
> - return transformCallThroughTrampoline(CS);
> + if (FindInitTrampoline(Callee))
> + return transformCallThroughTrampoline(CS);
Done like this you have to call FindInitTrampoline twice, once here and once in
transformCallThroughTrampoline. How about passing the FindInitTrampoline result
as an extra argument to transformCallTh...
2011 Aug 23
2
[LLVMdev] [RFC] Splitting init.trampoline into init.trampoline and adjust.trampoline
Hi!
Attached set of patches splits llvm.init.trampoline into an "init"
phase and an "adjust" phase, as discussed on the "Go on dragonegg"
thread.
Thanks!
--
Sanjoy Das
http://playingwithpointers.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Split-intrinsics-and-DAG-nodes.patch
Type: text/x-diff
Size: 8808 bytes
Desc: