OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:RecurseBB
(Results
1 - 2
of
2
) sorted by null
/external/llvm/examples/Fibonacci/
fibonacci.cpp
61
BasicBlock*
RecurseBB
= BasicBlock::Create(Context, "recurse", FibF);
65
BranchInst::Create(RetBB,
RecurseBB
, CondInst, BB);
71
Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg",
RecurseBB
);
72
CallInst *CallFibX1 = CallInst::Create(FibF, Sub, "fibx1",
RecurseBB
);
76
Sub = BinaryOperator::CreateSub(ArgX, Two, "arg",
RecurseBB
);
77
CallInst *CallFibX2 = CallInst::Create(FibF, Sub, "fibx2",
RecurseBB
);
83
"addresult",
RecurseBB
);
86
ReturnInst::Create(Context, Sum,
RecurseBB
);
/external/llvm/examples/ParallelJIT/
ParallelJIT.cpp
89
BasicBlock*
RecurseBB
= BasicBlock::Create(M->getContext(), "recurse", FibF);
93
BranchInst::Create(RetBB,
RecurseBB
, CondInst, BB);
99
Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg",
RecurseBB
);
100
Value *CallFibX1 = CallInst::Create(FibF, Sub, "fibx1",
RecurseBB
);
103
Sub = BinaryOperator::CreateSub(ArgX, Two, "arg",
RecurseBB
);
104
Value *CallFibX2 = CallInst::Create(FibF, Sub, "fibx2",
RecurseBB
);
108
BinaryOperator::CreateAdd(CallFibX1, CallFibX2, "addresult",
RecurseBB
);
111
ReturnInst::Create(M->getContext(), Sum,
RecurseBB
);
Completed in 86 milliseconds