| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | IntegerDivision.cpp | 218 BasicBlock *End = SpecialCases->splitBasicBlock(Builder.GetInsertPoint(), in generateUnsignedDivisionCode() 392 bool IsInsertPoint = Rem->getIterator() == Builder.GetInsertPoint(); in expandRemainder() 403 BinaryOperator *BO = dyn_cast<BinaryOperator>(Builder.GetInsertPoint()); in expandRemainder() 416 if (BinaryOperator *UDiv = dyn_cast<BinaryOperator>(Builder.GetInsertPoint())) { in expandRemainder() 451 bool IsInsertPoint = Div->getIterator() == Builder.GetInsertPoint(); in expandDivision() 462 BinaryOperator *BO = dyn_cast<BinaryOperator>(Builder.GetInsertPoint()); in expandDivision()
|
| H A D | ScalarEvolutionExpander.cpp | 60 BasicBlock::iterator BIP = Builder.GetInsertPoint(); in ReuseOrCreateCast() 140 return findInsertPointAfter(I, &*Builder.GetInsertPoint()); in GetOptimalInsertionPointForCastOf() 230 BasicBlock::iterator IP = Builder.GetInsertPoint(); in InsertBinop() 261 DebugLoc Loc = Builder.GetInsertPoint()->getDebugLoc(); in InsertBinop() 585 BasicBlock::iterator IP = Builder.GetInsertPoint(); in expandAddToGEP() 1017 if (Builder.GetInsertPoint() == It) in fixupInsertPoints() 1020 if (InsertPtGuard->GetInsertPoint() == It) in fixupInsertPoints() 1439 &*Builder.GetInsertPoint())) { in expandAddRecExprLiterally() 1758 InsertedExpressions[std::make_pair(SH, &*Builder.GetInsertPoint())] = V; in expandCodeForImpl() 1805 Instruction *InsertPt = &*Builder.GetInsertPoint(); in expand() [all …]
|
| H A D | AMDGPUEmitPrintf.cpp | 99 Join = Prev->splitBasicBlock(Builder.GetInsertPoint(), in getStrlenWithNull()
|
| H A D | FlattenCFG.cpp | 488 BasicBlock::iterator SaveInsertPt = Builder.GetInsertPoint(); in MergeIfRegion()
|
| /llvm-project-15.0.7/polly/lib/CodeGen/ |
| H A D | LoopGenerators.cpp | 126 ExitBB = SplitBlock(BeforeBB, &*Builder.GetInsertPoint(), &DT, &LI); in createLoop() 181 BasicBlock::iterator BeforeLoop = Builder.GetInsertPoint(); in createParallelLoop() 186 *LoopBody = Builder.GetInsertPoint(); in createParallelLoop()
|
| H A D | LoopGeneratorsGOMP.cpp | 156 Builder.SetInsertPoint(&*--Builder.GetInsertPoint()); in createSubFn() 162 BasicBlock::iterator LoopBody = Builder.GetInsertPoint(); in createSubFn()
|
| H A D | IslNodeBuilder.cpp | 658 &*Builder.GetInsertPoint(), &DT, &LI); in createForParallel() 724 BasicBlock::iterator AfterLoop = Builder.GetInsertPoint(); in createForParallel() 820 &*Builder.GetInsertPoint(), &DT, &LI); in createIf() 1222 &*Builder.GetInsertPoint(), &DT, &LI); in preloadInvariantLoad() 1459 &*Builder.GetInsertPoint(), &DT, &LI); in preloadInvariantLoads() 1505 assert(Builder.GetInsertBlock()->end() != Builder.GetInsertPoint() && in generateSCEV() 1507 Instruction *InsertLocation = &*Builder.GetInsertPoint(); in generateSCEV()
|
| H A D | BlockGenerators.cpp | 84 auto IP = Builder.GetInsertPoint(); in trySynthesizeNewValue() 430 &*Builder.GetInsertPoint(), &DT, &LI); in splitBB() 635 SplitBlockAndInsertIfThen(Cond, &*Builder.GetInsertPoint(), false, nullptr, in generateConditionalExecution() 1368 &*Builder.GetInsertPoint(), &DT, &LI); in copyStmt() 1474 &*Builder.GetInsertPoint(), &DT, &LI); in copyStmt() 1540 &*Builder.GetInsertPoint(), &DT, &LI); in copyStmt() 1760 auto IP = Builder.GetInsertPoint(); in addOperandToPHI()
|
| H A D | LoopGeneratorsKMP.cpp | 296 Builder.SetInsertPoint(&*--Builder.GetInsertPoint()); in createSubFn() 302 BasicBlock::iterator LoopBody = Builder.GetInsertPoint(); in createSubFn()
|
| H A D | IslExprBuilder.cpp | 323 &*Builder.GetInsertPoint(), nullptr, in createAccessAddress() 611 auto InsertPoint = Builder.GetInsertPoint(); in createOpBooleanConditional()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGGPUBuiltin.cpp | 203 llvm::IRBuilder<> IRB(Builder.GetInsertBlock(), Builder.GetInsertPoint()); in EmitAMDGPUDevicePrintfCallExpr() 206 Builder.SetInsertPoint(IRB.GetInsertBlock(), IRB.GetInsertPoint()); in EmitAMDGPUDevicePrintfCallExpr()
|
| H A D | CGCleanup.cpp | 549 assert(!WasInsertBlock || CGF.Builder.GetInsertPoint() == Entry->end()); in SimplifyCleanupEntry()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMParallelDSP.cpp | 653 auto GetInsertPoint = [this](Value *A, Value *B) { in InsertParallelMACs() local 695 Builder.SetInsertPoint(GetInsertPoint(Mul, Acc)); in InsertParallelMACs() 726 Instruction *InsertAfter = GetInsertPoint(WideLHS, WideRHS); in InsertParallelMACs() 727 InsertAfter = GetInsertPoint(InsertAfter, Acc); in InsertParallelMACs()
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/ |
| H A D | ScalarEvolutionExpander.h | 130 : Builder(B), Block(B.GetInsertBlock()), Point(B.GetInsertPoint()), in SCEVInsertPointGuard() 145 BasicBlock::iterator GetInsertPoint() const { return Point; } in GetInsertPoint() function
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | BoundsChecking.cpp | 124 BasicBlock::iterator SplitI = IRB.GetInsertPoint(); in insertBoundsCheck()
|
| H A D | PGOInstrumentation.cpp | 861 assert(Builder.GetInsertPoint() != InstrBB->end() && in instrumentOneFunc() 900 assert(Builder.GetInsertPoint() != Cand.InsertPt->getParent()->end() && in instrumentOneFunc()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86WinEHState.cpp | 291 insertStateNumberStore(&*Builder.GetInsertPoint(), ParentBaseState); in emitExceptionRegistrationRecord() 321 insertStateNumberStore(&*Builder.GetInsertPoint(), ParentBaseState); in emitExceptionRegistrationRecord()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | SampleProfileProbe.cpp | 333 assert(Builder.GetInsertPoint() != BB->end() && in instrumentOneFunc()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64StackTagging.cpp | 588 tagAlloca(AI, &*IRB.GetInsertPoint(), Ptr, Size); in runOnFunction()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | IRBuilder.h | 174 BasicBlock::iterator GetInsertPoint() const { return InsertPt; } in GetInsertPoint() function 255 return InsertPoint(GetInsertBlock(), GetInsertPoint()); in saveIP() 260 InsertPoint IP(GetInsertBlock(), GetInsertPoint()); in saveAndClearIP() 358 : Builder(B), Block(B.GetInsertBlock()), Point(B.GetInsertPoint()), in InsertPointGuard()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | IRBuilderTest.cpp | 789 EXPECT_EQ(F, &*Builder.GetInsertPoint()); in TEST_F() 792 EXPECT_EQ(BB->end(), Builder.GetInsertPoint()); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | AtomicExpandPass.cpp | 1101 BB->splitBasicBlock(Builder.GetInsertPoint(), "atomicrmw.end"); in insertRMWLLSCLoop() 1466 BB->splitBasicBlock(Builder.GetInsertPoint(), "atomicrmw.end"); in insertRMWCmpXchgLoop()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanRecipes.cpp | 1007 &*State.Builder.GetInsertPoint()); in execute()
|
| /llvm-project-15.0.7/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 835 if (Builder.GetInsertPoint() == BB->end()) { in emitCancelationCheckImpl() 841 NonCancellationBlock = SplitBlock(BB, &*Builder.GetInsertPoint()); in emitCancelationCheckImpl() 2455 Instruction *Comp = &*Builder.GetInsertPoint(); in applyDynamicWorkshareLoop()
|
| /llvm-project-15.0.7/mlir/lib/Target/LLVMIR/Dialect/OpenMP/ |
| H A D | OpenMPToLLVMIRTranslation.cpp | 102 assert(builder.GetInsertPoint() == builder.GetInsertBlock()->end() && in findAllocaInsertPoint()
|