Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DIntegerDivision.cpp219 BasicBlock *End = SpecialCases->splitBasicBlock(Builder.GetInsertPoint(), in generateUnsignedDivisionCode()
393 bool IsInsertPoint = Rem->getIterator() == Builder.GetInsertPoint(); in expandRemainder()
404 BinaryOperator *BO = dyn_cast<BinaryOperator>(Builder.GetInsertPoint()); in expandRemainder()
417 if (BinaryOperator *UDiv = dyn_cast<BinaryOperator>(Builder.GetInsertPoint())) { in expandRemainder()
452 bool IsInsertPoint = Div->getIterator() == Builder.GetInsertPoint(); in expandDivision()
463 BinaryOperator *BO = dyn_cast<BinaryOperator>(Builder.GetInsertPoint()); in expandDivision()
H A DScalarEvolutionExpander.cpp62 BasicBlock::iterator BIP = Builder.GetInsertPoint(); in ReuseOrCreateCast()
142 return findInsertPointAfter(I, &*Builder.GetInsertPoint()); in GetOptimalInsertionPointForCastOf()
231 BasicBlock::iterator IP = Builder.GetInsertPoint(); in InsertBinop()
262 DebugLoc Loc = Builder.GetInsertPoint()->getDebugLoc(); in InsertBinop()
584 BasicBlock::iterator IP = Builder.GetInsertPoint(); in expandAddToGEP()
1044 if (Builder.GetInsertPoint() == It) in fixupInsertPoints()
1047 if (InsertPtGuard->GetInsertPoint() == It) in fixupInsertPoints()
1489 &*Builder.GetInsertPoint())) { in expandAddRecExprLiterally()
1892 InsertedExpressions[std::make_pair(SH, &*Builder.GetInsertPoint())] = V; in expandCodeForImpl()
1939 Instruction *InsertPt = &*Builder.GetInsertPoint(); in expand()
[all …]
H A DAMDGPUEmitPrintf.cpp112 Join = Prev->splitBasicBlock(Builder.GetInsertPoint(), in getStrlenWithNull()
H A DFlattenCFG.cpp488 BasicBlock::iterator SaveInsertPt = Builder.GetInsertPoint(); in MergeIfRegion()
H A DSimplifyCFG.cpp3429 auto *T = SplitBlockAndInsertIfThen(CombinedPred, &*QB.GetInsertPoint(), in mergeConditionalStoreToAddress()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGGPUBuiltin.cpp151 llvm::IRBuilder<> IRB(Builder.GetInsertBlock(), Builder.GetInsertPoint()); in EmitAMDGPUDevicePrintfCallExpr()
154 Builder.SetInsertPoint(IRB.GetInsertBlock(), IRB.GetInsertPoint()); in EmitAMDGPUDevicePrintfCallExpr()
H A DCGCleanup.cpp537 assert(!WasInsertBlock || CGF.Builder.GetInsertPoint() == Entry->end()); in SimplifyCleanupEntry()
H A DCGExprAgg.cpp284 cast<llvm::IntrinsicInst>(std::prev(Builder.GetInsertPoint())); in withReturnValueSlot()
H A DCodeGenFunction.cpp2525 llvm::IRBuilder<> IRB(Builder.GetInsertBlock(), Builder.GetInsertPoint()); in EmitSanitizerStatReport()
H A DCGBlocks.cpp1560 llvm::BasicBlock::iterator entry_ptr = Builder.GetInsertPoint(); in GenerateBlockFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp648 auto GetInsertPoint = [this](Value *A, Value *B) { in InsertParallelMACs() local
690 Builder.SetInsertPoint(GetInsertPoint(Mul, Acc)); in InsertParallelMACs()
721 Instruction *InsertAfter = GetInsertPoint(WideLHS, WideRHS); in InsertParallelMACs()
722 InsertAfter = GetInsertPoint(InsertAfter, Acc); in InsertParallelMACs()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DScalarEvolutionExpander.h143 : Builder(B), Block(B.GetInsertBlock()), Point(B.GetInsertPoint()), in SCEVInsertPointGuard()
158 BasicBlock::iterator GetInsertPoint() const { return Point; } in GetInsertPoint() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp126 BasicBlock::iterator SplitI = IRB.GetInsertPoint(); in insertBoundsCheck()
H A DPGOInstrumentation.cpp914 assert(Builder.GetInsertPoint() != InstrBB->end() && in instrumentOneFunc()
953 assert(Builder.GetInsertPoint() != Cand.InsertPt->getParent()->end() && in instrumentOneFunc()
H A DDataFlowSanitizer.cpp2358 Cmp, &*IRB.GetInsertPoint(), false, DFS.OriginStoreWeights, &DT); in storeOrigin()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86WinEHState.cpp291 insertStateNumberStore(&*Builder.GetInsertPoint(), ParentBaseState); in emitExceptionRegistrationRecord()
321 insertStateNumberStore(&*Builder.GetInsertPoint(), ParentBaseState); in emitExceptionRegistrationRecord()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfileProbe.cpp334 assert(Builder.GetInsertPoint() != BB->end() && in instrumentOneFunc()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp450 if (Builder.GetInsertPoint() == BB->end()) { in emitCancelationCheckImpl()
456 NonCancellationBlock = SplitBlock(BB, &*Builder.GetInsertPoint()); in emitCancelationCheckImpl()
1162 Builder.GetInsertPoint(), BB->end()); in createCanonicalLoop()
1487 Instruction *Comp = &*Builder.GetInsertPoint(); in createDynamicWorkshareLoop()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h179 BasicBlock::iterator GetInsertPoint() const { return InsertPt; } in GetInsertPoint() function
272 return InsertPoint(GetInsertBlock(), GetInsertPoint()); in saveIP()
277 InsertPoint IP(GetInsertBlock(), GetInsertPoint()); in saveAndClearIP()
375 : Builder(B), Block(B.GetInsertBlock()), Point(B.GetInsertPoint()), in InsertPointGuard()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64StackTagging.cpp660 tagAlloca(AI, &*IRB.GetInsertPoint(), Ptr, Size); in runOnFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp1095 BB->splitBasicBlock(Builder.GetInsertPoint(), "atomicrmw.end"); in insertRMWLLSCLoop()
1461 BB->splitBasicBlock(Builder.GetInsertPoint(), "atomicrmw.end"); in insertRMWCmpXchgLoop()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp3052 Builder.GetInsertPoint()); in scalarizeInstruction()
3412 auto GetInsertPoint = [this, &B]() { in emitTransformedIndex() local
3413 BasicBlock *InsertBB = B.GetInsertPoint()->getParent(); in emitTransformedIndex()
3417 return &*B.GetInsertPoint(); in emitTransformedIndex()
3429 Index, Exp.expandCodeFor(Step, Index->getType(), GetInsertPoint())); in emitTransformedIndex()
3439 GetInsertPoint()))); in emitTransformedIndex()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp1334 BasicBlock::iterator ItOld = B.GetInsertPoint(); in fold_sincos()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp2713 Expander.setInsertPoint(&*Builder.GetInsertPoint()); in recognizeShiftUntilZero()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp1655 &*Builder.GetInsertPoint()); in insertSpills()

12