Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DIntegerDivision.cpp197 BasicBlock *End = SpecialCases->splitBasicBlock(Builder.GetInsertPoint(), in generateUnsignedDivisionCode()
369 bool IsInsertPoint = Rem->getIterator() == Builder.GetInsertPoint(); in expandRemainder()
380 BinaryOperator *BO = dyn_cast<BinaryOperator>(Builder.GetInsertPoint()); in expandRemainder()
393 if (BinaryOperator *UDiv = dyn_cast<BinaryOperator>(Builder.GetInsertPoint())) { in expandRemainder()
423 bool IsInsertPoint = Div->getIterator() == Builder.GetInsertPoint(); in expandDivision()
434 BinaryOperator *BO = dyn_cast<BinaryOperator>(Builder.GetInsertPoint()); in expandDivision()
H A DScalarEvolutionExpander.cpp61 BasicBlock::iterator BIP = Builder.GetInsertPoint(); in ReuseOrCreateCast()
141 return findInsertPointAfter(I, &*Builder.GetInsertPoint()); in GetOptimalInsertionPointForCastOf()
225 BasicBlock::iterator IP = Builder.GetInsertPoint(); in InsertBinop()
256 DebugLoc Loc = Builder.GetInsertPoint()->getDebugLoc(); in InsertBinop()
326 BasicBlock::iterator IP = Builder.GetInsertPoint(); in expandAddToGEP()
712 if (Builder.GetInsertPoint() == It) in fixupInsertPoints()
715 if (InsertPtGuard->GetInsertPoint() == It) in fixupInsertPoints()
1106 &*Builder.GetInsertPoint())) { in expandAddRecExprLiterally()
1412 BasicBlock::iterator InsertPt = Builder.GetInsertPoint(); in expand()
1451 while (InsertPt != Builder.GetInsertPoint() && in expand()
[all …]
H A DFlattenCFG.cpp491 BasicBlock::iterator SaveInsertPt = Builder.GetInsertPoint(); in MergeIfRegion()
H A DAMDGPUEmitPrintf.cpp103 Join = Prev->splitBasicBlock(Builder.GetInsertPoint(), in getStrlenWithNull()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGGPUBuiltin.cpp204 llvm::IRBuilder<> IRB(Builder.GetInsertBlock(), Builder.GetInsertPoint()); in EmitAMDGPUDevicePrintfCallExpr()
210 Builder.SetInsertPoint(IRB.GetInsertBlock(), IRB.GetInsertPoint()); in EmitAMDGPUDevicePrintfCallExpr()
H A DCGCleanup.cpp554 assert(!WasInsertBlock || CGF.Builder.GetInsertPoint() == Entry->end()); in SimplifyCleanupEntry()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp647 auto GetInsertPoint = [this](Value *A, Value *B) { in InsertParallelMACs() local
689 Builder.SetInsertPoint(GetInsertPoint(Mul, Acc)); in InsertParallelMACs()
720 Instruction *InsertAfter = GetInsertPoint(WideLHS, WideRHS); in InsertParallelMACs()
721 InsertAfter = GetInsertPoint(InsertAfter, Acc); in InsertParallelMACs()
/freebsd-14.2/contrib/llvm-project/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
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp125 BasicBlock::iterator SplitI = IRB.GetInsertPoint(); in insertBoundsCheck()
H A DPGOInstrumentation.cpp896 assert(Builder.GetInsertPoint() != InstrBB->end() && in instrumentOneFunc()
937 assert(Builder.GetInsertPoint() != Cand.InsertPt->getParent()->end() && in instrumentOneFunc()
H A DAddressSanitizer.cpp1581 MaskElem, &*IRB.GetInsertPoint(), false); in instrumentMaskedLoadOrStore()
1597 doInstrumentAddress(Pass, I, &*IRB.GetInsertPoint(), in instrumentMaskedLoadOrStore()
1738 SplitBlockAndInsertIfThen(ReportCond, &*IRB.GetInsertPoint(), false, in genAMDGPUReportBlock()
H A DMemorySanitizer.cpp1242 SplitBlockAndInsertSimpleForLoop(End, &*IRB.GetInsertPoint()); in paintOrigin()
1309 Cmp, &*IRB.GetInsertPoint(), false, MS.OriginStoreWeights); in storeOrigin()
1371 IRBuilder<> IRBOrigin(&*IRB.GetInsertPoint()); in insertWarningFn()
1405 Cmp, &*IRB.GetInsertPoint(), in materializeOneCheck()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86WinEHState.cpp291 insertStateNumberStore(&*Builder.GetInsertPoint(), ParentBaseState); in emitExceptionRegistrationRecord()
320 insertStateNumberStore(&*Builder.GetInsertPoint(), ParentBaseState); in emitExceptionRegistrationRecord()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandLargeFpConvert.cpp136 Entry->splitBasicBlock(Builder.GetInsertPoint(), "fp-to-i-cleanup"); in expandFPToI()
335 Entry->splitBasicBlock(Builder.GetInsertPoint(), "itofp-return"); in expandIToFP()
H A DShadowStackGCLowering.cpp360 IP = AtEntry.GetInsertPoint(); in runOnFunction()
H A DAtomicExpandPass.cpp1140 BB->splitBasicBlock(Builder.GetInsertPoint(), "atomicrmw.end"); in insertRMWLLSCLoop()
1503 BB->splitBasicBlock(Builder.GetInsertPoint(), "atomicrmw.end"); in insertRMWCmpXchgLoop()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfileProbe.cpp315 assert(Builder.GetInsertPoint() != BB->end() && in instrumentOneFunc()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64StackTagging.cpp566 tagAlloca(AI, &*IRB.GetInsertPoint(), Ptr, Size); in runOnFunction()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h175 BasicBlock::iterator GetInsertPoint() const { return InsertPt; } in GetInsertPoint() function
272 return InsertPoint(GetInsertBlock(), GetInsertPoint()); in saveIP()
277 InsertPoint IP(GetInsertBlock(), GetInsertPoint()); in saveAndClearIP()
377 : Builder(B), Block(B.GetInsertBlock()), Point(B.GetInsertPoint()), in InsertPointGuard()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopFlatten.cpp800 if (!DT->dominates(Base, &*Builder.GetInsertPoint())) in DoFlattenLoopPair()
H A DConstraintElimination.cpp1287 Cloned->insertBefore(&*Builder.GetInsertPoint()); in generateReproducer()
H A DLoopIdiomRecognize.cpp2791 Expander.setInsertPoint(&*Builder.GetInsertPoint()); in recognizeShiftUntilZero()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp1894 Builder.GetInsertPoint()->getParent()->insertDPValueBefore( in insertSpills()
1895 NewDPV, Builder.GetInsertPoint()); in insertSpills()
1900 &*Builder.GetInsertPoint()); in insertSpills()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp1081 if (Builder.GetInsertPoint() == BB->end()) { in emitCancelationCheckImpl()
1087 NonCancellationBlock = SplitBlock(BB, &*Builder.GetInsertPoint()); in emitCancelationCheckImpl()
1830 Builder.GetInsertPoint()->getParent()->getTerminator(); in createTask()
3106 Instruction *Comp = &*Builder.GetInsertPoint(); in applyDynamicWorkshareLoop()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp1631 &*State.Builder.GetInsertPoint()); in execute()

12