Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/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()
231 BasicBlock::iterator IP = Builder.GetInsertPoint(); in InsertBinop()
262 DebugLoc Loc = Builder.GetInsertPoint()->getDebugLoc(); in InsertBinop()
571 SE.DT.dominates(cast<Instruction>(V), &*Builder.GetInsertPoint())); in expandAddToGEP()
585 BasicBlock::iterator IP = Builder.GetInsertPoint(); in expandAddToGEP()
1024 if (Builder.GetInsertPoint() == It) in fixupInsertPoints()
1027 if (InsertPtGuard->GetInsertPoint() == It) in fixupInsertPoints()
1466 &*Builder.GetInsertPoint())) { in expandAddRecExprLiterally()
1569 findInsertPointAfter(cast<Instruction>(V), &*Builder.GetInsertPoint()); in visitAddRecExpr()
[all …]
H A DAMDGPUEmitPrintf.cpp99 Join = Prev->splitBasicBlock(Builder.GetInsertPoint(), in getStrlenWithNull()
H A DFlattenCFG.cpp487 BasicBlock::iterator SaveInsertPt = Builder.GetInsertPoint(); in MergeIfRegion()
/openbsd-src/gnu/llvm/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()
H A DCGExprAgg.cpp302 cast<llvm::IntrinsicInst>(std::prev(Builder.GetInsertPoint())); in withReturnValueSlot()
H A DCGBlocks.cpp1559 llvm::BasicBlock::iterator entry_ptr = Builder.GetInsertPoint(); in GenerateBlockFunction()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp652 auto GetInsertPoint = [this](Value *A, Value *B) { in InsertParallelMACs() local
694 Builder.SetInsertPoint(GetInsertPoint(Mul, Acc)); in InsertParallelMACs()
725 Instruction *InsertAfter = GetInsertPoint(WideLHS, WideRHS); in InsertParallelMACs()
726 InsertAfter = GetInsertPoint(InsertAfter, Acc); in InsertParallelMACs()
/openbsd-src/gnu/llvm/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
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp124 BasicBlock::iterator SplitI = IRB.GetInsertPoint(); in insertBoundsCheck()
H A DPGOInstrumentation.cpp885 assert(Builder.GetInsertPoint() != InstrBB->end() && in instrumentOneFunc()
924 assert(Builder.GetInsertPoint() != Cand.InsertPt->getParent()->end() && in instrumentOneFunc()
H A DMemorySanitizer.cpp1247 Cmp, &*IRB.GetInsertPoint(), false, MS.OriginStoreWeights); in storeOrigin()
1309 IRBuilder<> IRBOrigin(&*IRB.GetInsertPoint()); in insertWarningFn()
1343 Cmp, &*IRB.GetInsertPoint(), in materializeOneCheck()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86WinEHState.cpp291 insertStateNumberStore(&*Builder.GetInsertPoint(), ParentBaseState); in emitExceptionRegistrationRecord()
321 insertStateNumberStore(&*Builder.GetInsertPoint(), ParentBaseState); in emitExceptionRegistrationRecord()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DExpandLargeFpConvert.cpp135 Entry->splitBasicBlock(Builder.GetInsertPoint(), "fp-to-i-cleanup"); in expandFPToI()
334 Entry->splitBasicBlock(Builder.GetInsertPoint(), "itofp-return"); in expandIToFP()
H A DShadowStackGCLowering.cpp325 IP = AtEntry.GetInsertPoint(); in runOnFunction()
H A DAtomicExpandPass.cpp1152 BB->splitBasicBlock(Builder.GetInsertPoint(), "atomicrmw.end"); in insertRMWLLSCLoop()
1517 BB->splitBasicBlock(Builder.GetInsertPoint(), "atomicrmw.end"); in insertRMWCmpXchgLoop()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DSampleProfileProbe.cpp333 assert(Builder.GetInsertPoint() != BB->end() && in instrumentOneFunc()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64StackTagging.cpp568 tagAlloca(AI, &*IRB.GetInsertPoint(), Ptr, Size); in runOnFunction()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DIRBuilder.h175 BasicBlock::iterator GetInsertPoint() const { return InsertPt; } in GetInsertPoint() function
264 return InsertPoint(GetInsertBlock(), GetInsertPoint()); in saveIP()
269 InsertPoint IP(GetInsertBlock(), GetInsertPoint()); in saveAndClearIP()
369 : Builder(B), Block(B.GetInsertBlock()), Point(B.GetInsertPoint()), in InsertPointGuard()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp1094 &*State.Builder.GetInsertPoint()); in execute()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp1286 BasicBlock::iterator ItOld = B.GetInsertPoint(); in fold_sincos()
/openbsd-src/gnu/llvm/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp851 if (Builder.GetInsertPoint() == BB->end()) { in emitCancelationCheckImpl()
857 NonCancellationBlock = SplitBlock(BB, &*Builder.GetInsertPoint()); in emitCancelationCheckImpl()
2544 Instruction *Comp = &*Builder.GetInsertPoint(); in applyDynamicWorkshareLoop()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp1734 &*Builder.GetInsertPoint()); in insertSpills()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp2856 Expander.setInsertPoint(&*Builder.GetInsertPoint()); in recognizeShiftUntilZero()

12