Home
last modified time | relevance | path

Searched refs:InsertAt (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstruction.h52 InstListType::iterator InsertAt;
55 InsertPosition(std::nullptr_t) : InsertAt() {}
60 InsertPosition(InstListType::iterator InsertAt) : InsertAt(InsertAt) {}
61 operator InstListType::iterator() const { return InsertAt; }
62 bool isValid() const { return InsertAt.isValid(); }
63 BasicBlock *getBasicBlock() { return InsertAt.getNodeParent(); }
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoadStoreWidening.cpp780 MachineBasicBlock::iterator InsertAt = MBB->end(); in replaceInsts() local
797 InsertAt = I; in replaceInsts()
802 assert((InsertAt != MBB->end()) && "Cannot locate any load from the group"); in replaceInsts()
805 MBB->insert(InsertAt, I); in replaceInsts()
811 InsertAt = (*I).getIterator(); in replaceInsts()
819 MBB->insertAfter(InsertAt, *I); in replaceInsts()
H A DHexagonCommonGEP.cpp1186 BasicBlock::iterator InsertAt = LastB->getTerminator()->getIterator(); in materialize() local
1192 InsertAt = FirstUse; in materialize()
1196 Value *NewInst = fabricateGEP(NA, InsertAt, LastB); in materialize()
H A DHexagonVectorCombine.cpp1457 Instruction *InsertAt = Move.Main.front(); in realignGroup() local
1460 assert(InsertAt->getIterator() != InsertAt->getParent()->end()); in realignGroup()
1461 InsertAt = &*std::next(InsertAt->getIterator()); in realignGroup()
1464 IRBuilder Builder(InsertAt->getParent(), InsertAt->getIterator(), in realignGroup()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DInstruction.h27 BBIterator InsertAt; variable
32 InsertAt = InsertAtEnd->end(); in InsertPosition()
34 InsertPosition(BBIterator InsertAt) : InsertAt(InsertAt) {} in InsertPosition() argument
35 operator BBIterator() { return InsertAt; } in BBIterator()
36 const BBIterator &getIterator() const { return InsertAt; } in getIterator()
37 Instruction &operator*() { return *InsertAt; }
38 BasicBlock *getBasicBlock() const { return InsertAt.getNodeParent(); } in getBasicBlock()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineInternal.h479 void CreateNonTerminatorUnreachable(Instruction *InsertAt) { in CreateNonTerminatorUnreachable() argument
480 auto &Ctx = InsertAt->getContext(); in CreateNonTerminatorUnreachable()
484 InsertNewInstWith(SI, InsertAt->getIterator()); in CreateNonTerminatorUnreachable()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.cpp239 MachineBasicBlock::iterator InsertAt; in createOpType() local
241 InsertAt = oldInsertPoint->getParent() == NewMBB in createOpType()
245 InsertAt = It->getNextNode()->getIterator(); in createOpType()
247 InsertAt = getInsertPtValidEnd(NewMBB); in createOpType()
248 MIRBuilder.setInsertPt(*NewMBB, InsertAt); in createOpType()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerModuleLDSPass.cpp532 auto InsertAt = F->getEntryBlock().getFirstNonPHIOrDbgOrAlloca(); in getTableLookupKernelIndex() local
533 IRBuilder<> Builder(&*InsertAt); in getTableLookupKernelIndex()
H A DAMDGPUSwLowerLDS.cpp1064 auto InsertAt = Func->getEntryBlock().getFirstNonPHIOrDbgOrAlloca(); in lowerNonKernelLDSAccesses() local
1065 IRB.SetInsertPoint(InsertAt); in lowerNonKernelLDSAccesses()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp33 : InsertAt(InsertBefore ? InsertBefore->getIterator() in InsertPosition()
36 : InsertAt(InsertAtEnd ? InsertAtEnd->end() : InstListType::iterator()) {} in InsertPosition()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp7069 std::optional<unsigned> InsertAt = std::nullopt) { in addOptionalImmOperand() argument
7075 if (InsertAt) in addOptionalImmOperand()
7076 Inst.insert(Inst.begin() + *InsertAt, MCOperand::createImm(Op.getImm())); in addOptionalImmOperand()
7080 if (InsertAt.has_value()) in addOptionalImmOperand()
7081 Inst.insert(Inst.begin() + *InsertAt, MCOperand::createImm(Default)); in addOptionalImmOperand()