Home
last modified time | relevance | path

Searched refs:InsertionPoint (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCFIFixup.cpp186 struct InsertionPoint { struct
194 static InsertionPoint argument
195 insertRememberRestorePair(const InsertionPoint &RememberInsertPt, in insertRememberRestorePair()
196 const InsertionPoint &RestoreInsertPt) { in insertRememberRestorePair()
220 static InsertionPoint cloneCfiPrologue(const InsertionPoint &PrologueEnd, in cloneCfiPrologue()
221 const InsertionPoint &DstInsertPt) { in cloneCfiPrologue()
246 SmallDenseMap<MBBSectionID, InsertionPoint> &InsertionPts, in fixupBlock()
247 const InsertionPoint &Prologue) { in fixupBlock()
288 InsertionPoint &InsertPt = InsertionPts[CurrBB.getSectionID()]; in fixupBlock()
328 SmallDenseMap<MBBSectionID, InsertionPoint> InsertionPts; in runOnMachineFunction()
H A DInterleavedLoadCombinePass.cpp1124 LoadInst *InsertionPoint = InterleavedLoad.front().EI[0].LI; in combine() local
1127 if (!InsertionPoint) in combine()
1199 if (!DT.dominates(InsertionPoint, VI.SVI)) in combine()
1205 IRBuilder<> Builder(InsertionPoint); in combine()
1214 Instruction::Load, ILTy, Factor, Indices, InsertionPoint->getAlign(), in combine()
1215 InsertionPoint->getPointerAddressSpace(), CostKind); in combine()
1222 auto Ptr = InsertionPoint->getPointerOperand(); in combine()
1223 auto LI = Builder.CreateAlignedLoad(ILTy, Ptr, InsertionPoint->getAlign(), in combine()
1227 LI, nullptr, MSSA.getMemoryAccess(InsertionPoint))); in combine()
H A DEarlyIfConversion.cpp141 MachineBasicBlock::iterator InsertionPoint; member in __anon4c5015260111::SSAIfConv
432 InsertionPoint = I; in findInsertionPoint()
736 Head->splice(InsertionPoint, TBB, TBB->begin(), TBB->getFirstTerminator()); in convertIf()
741 Head->splice(InsertionPoint, FBB, FBB->begin(), FBB->getFirstTerminator()); in convertIf()
H A DSelectOptimize.cpp636 auto InsertionPoint = EndBlock->getFirstInsertionPt(); in convertProfitableSIGroups() local
638 DI->moveBeforePreserving(InsertionPoint); in convertProfitableSIGroups()
726 InsertionPoint = EndBlock->begin(); in convertProfitableSIGroups()
730 PN->insertBefore(InsertionPoint); in convertProfitableSIGroups()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIModeRegister.cpp259 MachineInstr *InsertionPoint = nullptr; in processBlockPhase1() local
285 if (InsertionPoint) { in processBlockPhase1()
286 insertSetreg(MBB, InsertionPoint, TII, IPChange.delta(NewInfo->Change)); in processBlockPhase1()
287 InsertionPoint = nullptr; in processBlockPhase1()
307 if (InsertionPoint) { in processBlockPhase1()
316 NewInfo->FirstInsertionPoint = InsertionPoint; in processBlockPhase1()
320 insertSetreg(MBB, InsertionPoint, TII, in processBlockPhase1()
325 InsertionPoint = &MI; in processBlockPhase1()
331 InsertionPoint = &MI; in processBlockPhase1()
340 NewInfo->FirstInsertionPoint = InsertionPoint; in processBlockPhase1()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVLoadStoreOptimizer.cpp346 MachineBasicBlock::iterator InsertionPoint = MergeForward ? Paired : I; in mergePairedInsns() local
379 MachineBasicBlock &MBB = *InsertionPoint->getParent(); in mergePairedInsns()
383 First = MBB.insert(InsertionPoint, ToInsert); in mergePairedInsns()
384 Second = InsertionPoint; in mergePairedInsns()
386 Second = MBB.insertAfter(InsertionPoint, ToInsert); in mergePairedInsns()
387 First = InsertionPoint; in mergePairedInsns()
H A DRISCVISelLowering.cpp21667 auto InsertionPoint = TailMBB->begin(); in emitSelectPseudo() local
21672 BuildMI(*TailMBB, InsertionPoint, SelectMBBI->getDebugLoc(), in emitSelectPseudo()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp464 Instruction *InsertionPoint = findInsertionPoint(*User, OpNo); in computeInsertionPoint() local
467 LLVM_DEBUG(InsertionPoint->print(dbgs())); in computeInsertionPoint()
470 if (isDominated(InsertionPoint, User, OpNo, InsertPts)) in computeInsertionPoint()
474 if (tryAndMerge(InsertionPoint, User, OpNo, InsertPts)) in computeInsertionPoint()
480 InsertPts[InsertionPoint].emplace_back(User, OpNo); in computeInsertionPoint()
H A DAArch64LoadStoreOptimizer.cpp873 MachineBasicBlock::iterator InsertionPoint = MergeForward ? MergeMI : I; in mergeNarrowZeroStores() local
907 MIB = BuildMI(*MBB, InsertionPoint, DL, TII->get(NewOpcode)) in mergeNarrowZeroStores()
1116 MachineBasicBlock::iterator InsertionPoint = MergeForward ? Paired : I; in mergePairedInsns() local
1202 MIB = BuildMI(*MBB, InsertionPoint, DL, TII->get(MatchPairOpcode)); in mergePairedInsns()
1243 BuildMI(*MBB, InsertionPoint, DL, TII->get(TargetOpcode::KILL), DstRegW) in mergePairedInsns()
1249 BuildMI(*MBB, InsertionPoint, DL, TII->get(AArch64::SBFMXri), DstRegX) in mergePairedInsns()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVCompare.cpp317 LVScope *InsertionPoint = It->second; in execute() local
320 << hexSquareString(InsertionPoint->getOffset()) << "\n"; in execute()
324 getReader().setCompileUnit(InsertionPoint->getCompileUnitParent()); in execute()
325 InsertionPoint->addElement(Element); in execute()
326 Element->updateLevel(InsertionPoint, /*Moved=*/true); in execute()
/freebsd/contrib/llvm-project/clang/tools/driver/
H A Ddriver.cpp97 int InsertionPoint = 0; in insertTargetAndModeArgs() local
99 ++InsertionPoint; in insertTargetAndModeArgs()
103 ArgVector.insert(ArgVector.begin() + InsertionPoint, in insertTargetAndModeArgs()
110 ArgVector.insert(ArgVector.begin() + InsertionPoint, in insertTargetAndModeArgs()
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DSortJavaScriptImports.cpp156 SourceRange InsertionPoint = References[0].Range; in analyze() local
157 InsertionPoint.setEnd(References[References.size() - 1].Range.getEnd()); in analyze()
177 StringRef PreviousText = getSourceText(InsertionPoint); in analyze()
203 Env.getSourceManager(), CharSourceRange::getCharRange(InsertionPoint), in analyze()
/freebsd/contrib/llvm-project/compiler-rt/lib/ctx_profile/
H A DCtxInstrProfiling.cpp190 ContextNode *getCallsiteSlow(GUID Guid, ContextNode **InsertionPoint, in getCallsiteSlow() argument
206 *InsertionPoint); in getCallsiteSlow()
207 *InsertionPoint = Ret; in getCallsiteSlow()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp891 BasicBlock::iterator InsertionPoint = in pushOutAdd() local
896 "PushedOutAdd", InsertionPoint); in pushOutAdd()
916 BasicBlock::iterator InsertionPoint = in pushOutMulShl() local
923 OffsSecondOperand, "PushedOutMul", InsertionPoint); in pushOutMulShl()
927 OffsSecondOperand, "Product", InsertionPoint); in pushOutMulShl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp2358 const Instruction *InsertionPoint) const { in isSafeToExpandAt()
2367 if (SE.properlyDominates(S, InsertionPoint->getParent())) in isSafeToExpandAt()
2369 if (SE.dominates(S, InsertionPoint->getParent())) { in isSafeToExpandAt()
2370 if (InsertionPoint->getParent()->getTerminator() == InsertionPoint) in isSafeToExpandAt()
2373 if (llvm::is_contained(InsertionPoint->operand_values(), U->getValue())) in isSafeToExpandAt()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVStructurizer.cpp657 Instruction *InsertionPoint = *MergeInstructions.begin(); in sortSelectionMerge() local
670 I->moveBefore(InsertionPoint->getIterator()); in sortSelectionMerge()
671 InsertionPoint = I; in sortSelectionMerge()
H A DSPIRVInstructionSelector.cpp329 Register &ReadReg, MachineInstr &InsertionPoint) const;
3362 MachineInstr &InsertionPoint) const { in extractSubvector()
3376 bool Succeed = BuildMI(*InsertionPoint.getParent(), InsertionPoint, in extractSubvector()
3377 InsertionPoint.getDebugLoc(), in extractSubvector()
3389 MachineInstrBuilder MIB = BuildMI(*InsertionPoint.getParent(), InsertionPoint, in extractSubvector()
3390 InsertionPoint.getDebugLoc(), in extractSubvector()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DScalarEvolutionExpander.h312 const Instruction *InsertionPoint) const;
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/
H A DSignals.inc125 std::atomic<FileToRemoveList *> *InsertionPoint = &Head;
127 while (!InsertionPoint->compare_exchange_strong(OldHead, NewHead)) {
128 InsertionPoint = &OldHead->Next;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp3833 OpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy, in OpSplitter() argument
3837 IRB.SetInsertPoint(InsertionPoint); in OpSplitter()
3904 LoadOpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy, in LoadOpSplitter()
3907 : OpSplitter<LoadOpSplitter>(InsertionPoint, Ptr, BaseTy, BaseAlign, DL, in LoadOpSplitter()
3975 StoreOpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy, in StoreOpSplitter()
3978 : OpSplitter<StoreOpSplitter>(InsertionPoint, Ptr, BaseTy, BaseAlign, in StoreOpSplitter()
H A DJumpThreading.cpp3146 BasicBlock::iterator InsertionPoint = BB->getFirstInsertionPt(); in threadGuard() local
3147 assert(InsertionPoint != BB->end() && "Empty block?"); in threadGuard()
3155 NewPN->insertBefore(InsertionPoint); in threadGuard()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.cpp6390 auto InsertionPoint = TailMBB->begin(); in emitSelectPseudo() local
6395 BuildMI(*TailMBB, InsertionPoint, SelectMBBI->getDebugLoc(), in emitSelectPseudo()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp41296 auto AddOp = [&Ops](SDValue Input, int InsertionPoint) -> int { in combineX86ShufflesRecursively() argument
41303 if (InsertionPoint >= 0) { in combineX86ShufflesRecursively()
41304 Ops[InsertionPoint] = Input; in combineX86ShufflesRecursively()
41305 return InsertionPoint; in combineX86ShufflesRecursively()