Home
last modified time | relevance | path

Searched refs:RecurseBB (Results 1 – 4 of 4) sorted by relevance

/external/llvm/examples/Fibonacci/
Dfibonacci.cpp74 BasicBlock* RecurseBB = BasicBlock::Create(Context, "recurse", FibF); in CreateFibFunction() local
78 BranchInst::Create(RetBB, RecurseBB, CondInst, BB); in CreateFibFunction()
84 Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg", RecurseBB); in CreateFibFunction()
85 CallInst *CallFibX1 = CallInst::Create(FibF, Sub, "fibx1", RecurseBB); in CreateFibFunction()
89 Sub = BinaryOperator::CreateSub(ArgX, Two, "arg", RecurseBB); in CreateFibFunction()
90 CallInst *CallFibX2 = CallInst::Create(FibF, Sub, "fibx2", RecurseBB); in CreateFibFunction()
95 "addresult", RecurseBB); in CreateFibFunction()
98 ReturnInst::Create(Context, Sum, RecurseBB); in CreateFibFunction()
/external/swiftshader/third_party/LLVM/examples/Fibonacci/
Dfibonacci.cpp61 BasicBlock* RecurseBB = BasicBlock::Create(Context, "recurse", FibF); in CreateFibFunction() local
65 BranchInst::Create(RetBB, RecurseBB, CondInst, BB); in CreateFibFunction()
71 Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg", RecurseBB); in CreateFibFunction()
72 CallInst *CallFibX1 = CallInst::Create(FibF, Sub, "fibx1", RecurseBB); in CreateFibFunction()
76 Sub = BinaryOperator::CreateSub(ArgX, Two, "arg", RecurseBB); in CreateFibFunction()
77 CallInst *CallFibX2 = CallInst::Create(FibF, Sub, "fibx2", RecurseBB); in CreateFibFunction()
83 "addresult", RecurseBB); in CreateFibFunction()
86 ReturnInst::Create(Context, Sum, RecurseBB); in CreateFibFunction()
/external/swiftshader/third_party/LLVM/examples/ParallelJIT/
DParallelJIT.cpp88 BasicBlock* RecurseBB = BasicBlock::Create(M->getContext(), "recurse", FibF); in CreateFibFunction() local
92 BranchInst::Create(RetBB, RecurseBB, CondInst, BB); in CreateFibFunction()
98 Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg", RecurseBB); in CreateFibFunction()
99 Value *CallFibX1 = CallInst::Create(FibF, Sub, "fibx1", RecurseBB); in CreateFibFunction()
102 Sub = BinaryOperator::CreateSub(ArgX, Two, "arg", RecurseBB); in CreateFibFunction()
103 Value *CallFibX2 = CallInst::Create(FibF, Sub, "fibx2", RecurseBB); in CreateFibFunction()
107 BinaryOperator::CreateAdd(CallFibX1, CallFibX2, "addresult", RecurseBB); in CreateFibFunction()
110 ReturnInst::Create(M->getContext(), Sum, RecurseBB); in CreateFibFunction()
/external/llvm/examples/ParallelJIT/
DParallelJIT.cpp105 BasicBlock* RecurseBB = BasicBlock::Create(M->getContext(), "recurse", FibF); in CreateFibFunction() local
109 BranchInst::Create(RetBB, RecurseBB, CondInst, BB); in CreateFibFunction()
115 Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg", RecurseBB); in CreateFibFunction()
116 Value *CallFibX1 = CallInst::Create(FibF, Sub, "fibx1", RecurseBB); in CreateFibFunction()
119 Sub = BinaryOperator::CreateSub(ArgX, Two, "arg", RecurseBB); in CreateFibFunction()
120 Value *CallFibX2 = CallInst::Create(FibF, Sub, "fibx2", RecurseBB); in CreateFibFunction()
124 BinaryOperator::CreateAdd(CallFibX1, CallFibX2, "addresult", RecurseBB); in CreateFibFunction()
127 ReturnInst::Create(M->getContext(), Sum, RecurseBB); in CreateFibFunction()