Home
last modified time | relevance | path

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

12

/freebsd/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()
392 if (BinaryOperator *UDiv = dyn_cast<BinaryOperator>(Builder.GetInsertPoint())) { in expandRemainder()
422 bool IsInsertPoint = Div->getIterator() == Builder.GetInsertPoint(); in expandDivision()
433 BinaryOperator *BO = dyn_cast<BinaryOperator>(Builder.GetInsertPoint()); in expandDivision()
H A DScalarEvolutionExpander.cpp110 BasicBlock::iterator BIP = Builder.GetInsertPoint(); in ReuseOrCreateCast()
192 return findInsertPointAfter(I, &*Builder.GetInsertPoint()); in GetOptimalInsertionPointForCastOf()
276 BasicBlock::iterator IP = Builder.GetInsertPoint(); in InsertBinop()
302 DebugLoc Loc = Builder.GetInsertPoint()->getDebugLoc(); in InsertBinop()
360 SE.DT.dominates(cast<Instruction>(V), &*Builder.GetInsertPoint())); in expandAddToGEP()
375 BasicBlock::iterator IP = Builder.GetInsertPoint(); in expandAddToGEP()
785 if (Builder.GetInsertPoint() == It) in fixupInsertPoints()
788 if (InsertPtGuard->GetInsertPoint() == It) in fixupInsertPoints()
1187 &*Builder.GetInsertPoint())) { in expandAddRecExprLiterally()
1260 findInsertPointAfter(cast<Instruction>(V), &*Builder.GetInsertPoint()); in visitAddRecExpr()
[all …]
H A DFlattenCFG.cpp491 BasicBlock::iterator SaveInsertPt = Builder.GetInsertPoint(); in MergeIfRegion()
H A DAMDGPUEmitPrintf.cpp104 Join = Prev->splitBasicBlock(Builder.GetInsertPoint(), in getStrlenWithNull()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGGPUBuiltin.cpp184 llvm::IRBuilder<> IRB(Builder.GetInsertBlock(), Builder.GetInsertPoint()); in EmitAMDGPUDevicePrintfCallExpr()
190 Builder.SetInsertPoint(IRB.GetInsertBlock(), IRB.GetInsertPoint()); in EmitAMDGPUDevicePrintfCallExpr()
H A DCGCleanup.cpp541 assert(!WasInsertBlock || CGF.Builder.GetInsertPoint() == Entry->end()); in SimplifyCleanupEntry()
H A DCGOpenMPRuntimeGPU.cpp1695 CGF.Builder.GetInsertPoint()); in emitReduction()
1747 CGF.Builder.GetInsertPoint()); in emitReduction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DTypeSanitizer.cpp635 NullTDCmp, &*IRB.GetInsertPoint(), false, UnlikelyBW); in instrumentWithShadowUpdate()
701 SplitBlockAndInsertIfThenElse(BadTDCmp, &*IRB.GetInsertPoint(), &BadTDTerm, in instrumentWithShadowUpdate()
709 SplitBlockAndInsertIfThenElse(NullTDCmp, &*IRB.GetInsertPoint(), &NullTDTerm, in instrumentWithShadowUpdate()
727 Instruction *BeforeSetType = &*IRB.GetInsertPoint(); in instrumentWithShadowUpdate()
757 NotAllBadTD, &*IRB.GetInsertPoint(), false, UnlikelyBW); in instrumentWithShadowUpdate()
H A DBoundsChecking.cpp155 BasicBlock::iterator SplitI = IRB.GetInsertPoint(); in insertBoundsCheck()
H A DPGOInstrumentation.cpp1027 assert(Builder.GetInsertPoint() != InstrBB->end() && in instrument()
1068 assert(Builder.GetInsertPoint() != Cand.InsertPt->getParent()->end() && in instrument()
H A DAddressSanitizer.cpp1729 MaskElem, &*IRB.GetInsertPoint(), false); in instrumentMaskedLoadOrStore()
1745 doInstrumentAddress(Pass, I, &*IRB.GetInsertPoint(), InstrumentedAddress, in instrumentMaskedLoadOrStore()
1888 SplitBlockAndInsertIfThen(ReportCond, &*IRB.GetInsertPoint(), false, in genAMDGPUReportBlock()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp650 auto GetInsertPoint = [this](Value *A, Value *B) { in InsertParallelMACs() local
692 Builder.SetInsertPoint(GetInsertPoint(Mul, Acc)); in InsertParallelMACs()
727 Instruction *InsertAfter = GetInsertPoint(WideLHS, WideRHS); in InsertParallelMACs()
728 InsertAfter = GetInsertPoint(InsertAfter, Acc); in InsertParallelMACs()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DScalarEvolutionExpander.h155 : Builder(B), Block(B.GetInsertBlock()), Point(B.GetInsertPoint()), in SCEVInsertPointGuard()
170 BasicBlock::iterator GetInsertPoint() const { return Point; } in GetInsertPoint() function
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86WinEHState.cpp293 insertStateNumberStore(&*Builder.GetInsertPoint(), ParentBaseState); in emitExceptionRegistrationRecord()
322 insertStateNumberStore(&*Builder.GetInsertPoint(), ParentBaseState); in emitExceptionRegistrationRecord()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandFp.cpp139 Entry->splitBasicBlock(Builder.GetInsertPoint(), "fp-to-i-cleanup"); in expandFPToI()
343 Entry->splitBasicBlock(Builder.GetInsertPoint(), "itofp-return"); in expandIToFP()
H A DShadowStackGCLowering.cpp358 IP = AtEntry.GetInsertPoint(); in runOnFunction()
H A DAtomicExpandPass.cpp1273 BB->splitBasicBlock(Builder.GetInsertPoint(), "atomicrmw.end"); in insertRMWLLSCLoop()
1643 BB->splitBasicBlock(Builder.GetInsertPoint(), "atomicrmw.end"); in insertRMWCmpXchgLoop()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfileProbe.cpp397 assert(Builder.GetInsertPoint() != BB->end() && in instrumentOneFunc()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILDataScalarization.cpp192 auto InsertPoint = Builder.GetInsertPoint(); in createArrayFromVector()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAsanInstrumentation.cpp67 ReportCond, &*IRB.GetInsertPoint(), false, in genAMDGPUReportBlock()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64StackTagging.cpp604 tagAlloca(AI, &*IRB.GetInsertPoint(), Ptr, Size); in runOnFunction()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h202 BasicBlock::iterator GetInsertPoint() const { return InsertPt; } in GetInsertPoint() function
312 return InsertPoint(GetInsertBlock(), GetInsertPoint()); in saveIP()
317 InsertPoint IP(GetInsertBlock(), GetInsertPoint()); in saveAndClearIP()
417 : Builder(B), Block(B.GetInsertBlock()), Point(B.GetInsertPoint()), in InsertPointGuard()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp1773 Builder.GetInsertPoint()); in recognizeAndInsertStrLen()
1803 Builder.GetInsertPoint()); in recognizeAndInsertStrLen()
3312 Expander.setInsertPoint(&*Builder.GetInsertPoint()); in recognizeShiftUntilZero()
H A DLoopFlatten.cpp811 if (!DT->dominates(Base, &*Builder.GetInsertPoint())) in DoFlattenLoopPair()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp1134 Builder.GetInsertPoint()->getParent()->insertDbgRecordBefore( in insertSpills()
1135 NewDVR, Builder.GetInsertPoint()); in insertSpills()

12