Home
last modified time | relevance | path

Searched refs:GetInsertPoint (Results 1 – 25 of 38) 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()
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.cpp100 BasicBlock::iterator BIP = Builder.GetInsertPoint(); in ReuseOrCreateCast()
180 return findInsertPointAfter(I, &*Builder.GetInsertPoint()); in GetOptimalInsertionPointForCastOf()
264 BasicBlock::iterator IP = Builder.GetInsertPoint(); in InsertBinop()
295 DebugLoc Loc = Builder.GetInsertPoint()->getDebugLoc(); in InsertBinop()
352 SE.DT.dominates(cast<Instruction>(V), &*Builder.GetInsertPoint())); in expandAddToGEP()
365 BasicBlock::iterator IP = Builder.GetInsertPoint(); in expandAddToGEP()
761 if (Builder.GetInsertPoint() == It) in fixupInsertPoints()
764 if (InsertPtGuard->GetInsertPoint() == It) in fixupInsertPoints()
1163 &*Builder.GetInsertPoint())) { in expandAddRecExprLiterally()
1236 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.cpp207 llvm::IRBuilder<> IRB(Builder.GetInsertBlock(), Builder.GetInsertPoint()); in EmitAMDGPUDevicePrintfCallExpr()
213 Builder.SetInsertPoint(IRB.GetInsertBlock(), IRB.GetInsertPoint()); in EmitAMDGPUDevicePrintfCallExpr()
H A DCGCleanup.cpp527 assert(!WasInsertBlock || CGF.Builder.GetInsertPoint() == Entry->end()); in SimplifyCleanupEntry()
H A DCGOpenMPRuntimeGPU.cpp1697 CGF.Builder.GetInsertPoint()); in emitReduction()
1749 CGF.Builder.GetInsertPoint()); in emitReduction()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp649 auto GetInsertPoint = [this](Value *A, Value *B) { in InsertParallelMACs() local
691 Builder.SetInsertPoint(GetInsertPoint(Mul, Acc)); in InsertParallelMACs()
722 Instruction *InsertAfter = GetInsertPoint(WideLHS, WideRHS); in InsertParallelMACs()
723 InsertAfter = GetInsertPoint(InsertAfter, Acc); in InsertParallelMACs()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DScalarEvolutionExpander.h147 : Builder(B), Block(B.GetInsertBlock()), Point(B.GetInsertPoint()), in SCEVInsertPointGuard()
162 BasicBlock::iterator GetInsertPoint() const { return Point; } in GetInsertPoint() function
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp125 BasicBlock::iterator SplitI = IRB.GetInsertPoint(); in insertBoundsCheck()
H A DPGOInstrumentation.cpp957 assert(Builder.GetInsertPoint() != InstrBB->end() && in instrumentOneFunc()
998 assert(Builder.GetInsertPoint() != Cand.InsertPt->getParent()->end() && in instrumentOneFunc()
H A DAddressSanitizer.cpp1662 MaskElem, &*IRB.GetInsertPoint(), false); in instrumentMaskedLoadOrStore()
1678 doInstrumentAddress(Pass, I, &*IRB.GetInsertPoint(), InstrumentedAddress, in instrumentMaskedLoadOrStore()
1821 SplitBlockAndInsertIfThen(ReportCond, &*IRB.GetInsertPoint(), false, in genAMDGPUReportBlock()
H A DMemorySanitizer.cpp1249 SplitBlockAndInsertSimpleForLoop(End, &*IRB.GetInsertPoint()); in paintOrigin()
1317 Cmp, &*IRB.GetInsertPoint(), false, MS.OriginStoreWeights); in storeOrigin()
1379 IRBuilder<> IRBOrigin(&*IRB.GetInsertPoint()); in insertWarningFn()
1415 Cmp, &*IRB.GetInsertPoint(), in materializeOneCheck()
H A DNumericalStabilitySanitizer.cpp1093 BasicBlock *NextBB = LoadBB->splitBasicBlock(Builder.GetInsertPoint()); in handleLoad()
/freebsd/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/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandLargeFpConvert.cpp137 Entry->splitBasicBlock(Builder.GetInsertPoint(), "fp-to-i-cleanup"); in expandFPToI()
338 Entry->splitBasicBlock(Builder.GetInsertPoint(), "itofp-return"); in expandIToFP()
H A DShadowStackGCLowering.cpp360 IP = AtEntry.GetInsertPoint(); in runOnFunction()
H A DAtomicExpandPass.cpp1224 BB->splitBasicBlock(Builder.GetInsertPoint(), "atomicrmw.end"); in insertRMWLLSCLoop()
1587 BB->splitBasicBlock(Builder.GetInsertPoint(), "atomicrmw.end"); in insertRMWCmpXchgLoop()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfileProbe.cpp401 assert(Builder.GetInsertPoint() != BB->end() && in instrumentOneFunc()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64StackTagging.cpp627 tagAlloca(AI, &*IRB.GetInsertPoint(), Ptr, Size); in runOnFunction()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h172 BasicBlock::iterator GetInsertPoint() const { return InsertPt; } in GetInsertPoint() function
275 return InsertPoint(GetInsertBlock(), GetInsertPoint()); in saveIP()
280 InsertPoint IP(GetInsertBlock(), GetInsertPoint()); in saveAndClearIP()
380 : Builder(B), Block(B.GetInsertBlock()), Point(B.GetInsertPoint()), in InsertPointGuard()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp1924 Builder.GetInsertPoint()->getParent()->insertDbgRecordBefore( in insertSpills()
1925 NewDVR, Builder.GetInsertPoint()); in insertSpills()
1930 &*Builder.GetInsertPoint()); in insertSpills()
H A DCoroSplit.cpp224 &*Builder.GetInsertPoint()); in lowerAwaitSuspend()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopFlatten.cpp811 if (!DT->dominates(Base, &*Builder.GetInsertPoint())) in DoFlattenLoopPair()
H A DConstraintElimination.cpp1322 Cloned->insertBefore(&*Builder.GetInsertPoint()); in generateReproducer()

12