Home
last modified time | relevance | path

Searched refs:GetInsertPoint (Results 1 – 25 of 37) sorted by relevance

12

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DIntegerDivision.cpp218 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 DScalarEvolutionExpander.cpp60 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 DAMDGPUEmitPrintf.cpp99 Join = Prev->splitBasicBlock(Builder.GetInsertPoint(), in getStrlenWithNull()
H A DFlattenCFG.cpp488 BasicBlock::iterator SaveInsertPt = Builder.GetInsertPoint(); in MergeIfRegion()
/llvm-project-15.0.7/polly/lib/CodeGen/
H A DLoopGenerators.cpp126 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 DLoopGeneratorsGOMP.cpp156 Builder.SetInsertPoint(&*--Builder.GetInsertPoint()); in createSubFn()
162 BasicBlock::iterator LoopBody = Builder.GetInsertPoint(); in createSubFn()
H A DIslNodeBuilder.cpp658 &*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 DBlockGenerators.cpp84 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 DLoopGeneratorsKMP.cpp296 Builder.SetInsertPoint(&*--Builder.GetInsertPoint()); in createSubFn()
302 BasicBlock::iterator LoopBody = Builder.GetInsertPoint(); in createSubFn()
H A DIslExprBuilder.cpp323 &*Builder.GetInsertPoint(), nullptr, in createAccessAddress()
611 auto InsertPoint = Builder.GetInsertPoint(); in createOpBooleanConditional()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGGPUBuiltin.cpp203 llvm::IRBuilder<> IRB(Builder.GetInsertBlock(), Builder.GetInsertPoint()); in EmitAMDGPUDevicePrintfCallExpr()
206 Builder.SetInsertPoint(IRB.GetInsertBlock(), IRB.GetInsertPoint()); in EmitAMDGPUDevicePrintfCallExpr()
H A DCGCleanup.cpp549 assert(!WasInsertBlock || CGF.Builder.GetInsertPoint() == Entry->end()); in SimplifyCleanupEntry()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp653 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 DScalarEvolutionExpander.h130 : 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 DBoundsChecking.cpp124 BasicBlock::iterator SplitI = IRB.GetInsertPoint(); in insertBoundsCheck()
H A DPGOInstrumentation.cpp861 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 DX86WinEHState.cpp291 insertStateNumberStore(&*Builder.GetInsertPoint(), ParentBaseState); in emitExceptionRegistrationRecord()
321 insertStateNumberStore(&*Builder.GetInsertPoint(), ParentBaseState); in emitExceptionRegistrationRecord()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DSampleProfileProbe.cpp333 assert(Builder.GetInsertPoint() != BB->end() && in instrumentOneFunc()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64StackTagging.cpp588 tagAlloca(AI, &*IRB.GetInsertPoint(), Ptr, Size); in runOnFunction()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DIRBuilder.h174 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 DIRBuilderTest.cpp789 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 DAtomicExpandPass.cpp1101 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 DVPlanRecipes.cpp1007 &*State.Builder.GetInsertPoint()); in execute()
/llvm-project-15.0.7/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp835 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 DOpenMPToLLVMIRTranslation.cpp102 assert(builder.GetInsertPoint() == builder.GetInsertBlock()->end() && in findAllocaInsertPoint()

12