Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/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.cpp56 BasicBlock::iterator BIP = Builder.GetInsertPoint(); in ReuseOrCreateCast()
136 return findInsertPointAfter(I, &*Builder.GetInsertPoint()); in GetOptimalInsertionPointForCastOf()
225 BasicBlock::iterator IP = Builder.GetInsertPoint(); in InsertBinop()
256 DebugLoc Loc = Builder.GetInsertPoint()->getDebugLoc(); in InsertBinop()
560 SE.DT.dominates(cast<Instruction>(V), &*Builder.GetInsertPoint())); in expandAddToGEP()
575 BasicBlock::iterator IP = Builder.GetInsertPoint(); in expandAddToGEP()
1034 if (Builder.GetInsertPoint() == It) in fixupInsertPoints()
1037 if (InsertPtGuard->GetInsertPoint() == It) in fixupInsertPoints()
1475 &*Builder.GetInsertPoint())) { in expandAddRecExprLiterally()
1578 findInsertPointAfter(cast<Instruction>(V), &*Builder.GetInsertPoint()); in visitAddRecExpr()
[all …]
H A DAMDGPUEmitPrintf.cpp112 Join = Prev->splitBasicBlock(Builder.GetInsertPoint(), in getStrlenWithNull()
H A DFlattenCFG.cpp484 BasicBlock::iterator SaveInsertPt = Builder.GetInsertPoint(); in MergeIfRegion()
/netbsd-src/external/apache2/llvm/dist/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.cpp2511 llvm::IRBuilder<> IRB(Builder.GetInsertBlock(), Builder.GetInsertPoint()); in EmitSanitizerStatReport()
H A DCGBlocks.cpp1560 llvm::BasicBlock::iterator entry_ptr = Builder.GetInsertPoint(); in GenerateBlockFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp656 auto GetInsertPoint = [this](Value *A, Value *B) { in InsertParallelMACs() local
698 Builder.SetInsertPoint(GetInsertPoint(Mul, Acc)); in InsertParallelMACs()
729 Instruction *InsertAfter = GetInsertPoint(WideLHS, WideRHS); in InsertParallelMACs()
730 InsertAfter = GetInsertPoint(InsertAfter, Acc); in InsertParallelMACs()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
H A DScalarEvolutionExpander.h140 : Builder(B), Block(B.GetInsertBlock()), Point(B.GetInsertPoint()), in SCEVInsertPointGuard()
155 BasicBlock::iterator GetInsertPoint() const { return Point; } in GetInsertPoint() function
/netbsd-src/external/apache2/llvm/dist/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.cpp2562 Cmp, &*IRB.GetInsertPoint(), false, DFS.OriginStoreWeights, &DT); in storeOrigin()
H A DMemorySanitizer.cpp1189 Cmp, &*IRB.GetInsertPoint(), false, MS.OriginStoreWeights); in storeOrigin()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86WinEHState.cpp291 insertStateNumberStore(&*Builder.GetInsertPoint(), ParentBaseState); in emitExceptionRegistrationRecord()
321 insertStateNumberStore(&*Builder.GetInsertPoint(), ParentBaseState); in emitExceptionRegistrationRecord()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DSampleProfileProbe.cpp334 assert(Builder.GetInsertPoint() != BB->end() && in instrumentOneFunc()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp439 if (Builder.GetInsertPoint() == BB->end()) { in emitCancelationCheckImpl()
445 NonCancellationBlock = SplitBlock(BB, &*Builder.GetInsertPoint()); in emitCancelationCheckImpl()
1149 Builder.GetInsertPoint(), BB->end()); in createCanonicalLoop()
1476 Instruction *Comp = &*Builder.GetInsertPoint(); in createDynamicWorkshareLoop()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64StackTagging.cpp695 tagAlloca(AI, &*IRB.GetInsertPoint(), Ptr, Size); in runOnFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp1056 BB->splitBasicBlock(Builder.GetInsertPoint(), "atomicrmw.end"); in insertRMWLLSCLoop()
1420 BB->splitBasicBlock(Builder.GetInsertPoint(), "atomicrmw.end"); in insertRMWCmpXchgLoop()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp3033 Builder.GetInsertPoint()); in scalarizeInstruction()
3383 auto GetInsertPoint = [this, &B]() { in emitTransformedIndex() local
3384 BasicBlock *InsertBB = B.GetInsertPoint()->getParent(); in emitTransformedIndex()
3388 return &*B.GetInsertPoint(); in emitTransformedIndex()
3400 Index, Exp.expandCodeFor(Step, Index->getType(), GetInsertPoint())); in emitTransformedIndex()
3410 GetInsertPoint()))); in emitTransformedIndex()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp1333 BasicBlock::iterator ItOld = B.GetInsertPoint(); in fold_sincos()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp2647 Expander.setInsertPoint(&*Builder.GetInsertPoint()); in recognizeShiftUntilZero()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp1617 &*Builder.GetInsertPoint()); in insertSpills()

12