/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Instructions.h | 81 Instruction *InsertBefore); 195 Instruction *InsertBefore); 198 Instruction *InsertBefore); 1217 InsertBefore) { 1389 InsertBefore) { 1568 InsertBefore); 1583 InsertBefore); 1691 InsertBefore) { 2692 2, InsertBefore) { 4015 InsertBefore) { [all …]
|
H A D | InstrTypes.h | 105 const Twine &Name, Instruction *InsertBefore); 123 Instruction *InsertBefore = nullptr); 157 Instruction *InsertBefore = nullptr) { 158 UnaryOperator *UO = Create(Opc, V, Name, InsertBefore); 167 InsertBefore); 192 const Twine &Name, Instruction *InsertBefore); 250 Instruction *InsertBefore = nullptr) { 251 BinaryOperator *BO = Create(Opc, V1, V2, Name, InsertBefore); 488 : UnaryInstruction(Ty, iType, S, InsertBefore) { 835 Instruction *InsertBefore = nullptr, [all …]
|
H A D | DebugProgramInstruction.h | 148 DPValue &InsertBefore); 153 DPValue &InsertBefore); 316 Instruction *InsertBefore) const; 336 void insertBefore(DPValue *InsertBefore); 413 void insertDPValue(DPValue *New, DPValue *InsertBefore);
|
H A D | DIBuilder.h | 95 BasicBlock *InsertBB, Instruction *InsertBefore); 99 BasicBlock *InsertBB, Instruction *InsertBefore); 106 Instruction *InsertBefore); 112 BasicBlock *InsertBB, Instruction *InsertBefore); 956 Instruction *InsertBefore); 963 Instruction *InsertBefore); 994 Instruction *InsertBefore);
|
H A D | BasicBlock.h | 162 BasicBlock *InsertBefore = nullptr); 208 BasicBlock *InsertBefore = nullptr) { 209 return new BasicBlock(Context, Name, Parent, InsertBefore); 380 void insertInto(Function *Parent, BasicBlock *InsertBefore = nullptr);
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Instructions.cpp | 966 InsertBefore) { in ReturnInst() 1067 InsertBefore) { in CatchReturnInst() 1088 InsertBefore) { in CatchSwitchInst() 1472 InsertBefore) {} in StoreInst() 1484 InsertBefore) {} in StoreInst() 1540 insertBefore(*InsertBefore->getParent(), InsertBefore); in StoreInst() 2864 InsertBefore) { in BinaryOperator() 3478 Instruction *InsertBefore) { in CreatePointerBitCastOrAddrSpaceCast() argument 3982 InsertBefore) { in CmpInst() 4007 if (InsertBefore) in Create() [all …]
|
H A D | DebugProgramInstruction.cpp | 70 DPValue &InsertBefore) { in createDPValue() argument 72 NewDPValue->insertBefore(&InsertBefore); in createDPValue() 84 DPValue &InsertBefore) { in createDPVDeclare() argument 86 NewDPVDeclare->insertBefore(&InsertBefore); in createDPVDeclare() 308 if (InsertBefore) in createDebugIntrinsic() 309 DVI->insertBefore(InsertBefore); in createDebugIntrinsic() 364 void DPValue::insertBefore(DPValue *InsertBefore) { in insertBefore() argument 367 assert(InsertBefore->getMarker() && in insertBefore() 370 InsertBefore->getMarker()->insertDPValue(this, InsertBefore); in insertBefore() 478 assert(InsertBefore->getMarker() == this && in insertDPValue() [all …]
|
H A D | DIBuilder.cpp | 932 InsertBefore); in insertDeclare() 977 InsertBefore ? InsertBefore->getParent() : nullptr, in insertLabel() 978 InsertBefore); in insertLabel() 992 V, VarInfo, Expr, DL, InsertBefore ? InsertBefore->getParent() : nullptr, in insertDbgValueIntrinsic() 993 InsertBefore); in insertDbgValueIntrinsic() 1010 if (InsertBefore) in initIRBuilder() 1011 Builder.SetInsertPoint(InsertBefore); in initIRBuilder() 1032 InsertBefore); in insertDbgValueIntrinsic() 1054 initIRBuilder(B, DL, InsertBB, InsertBefore); in insertDeclare() 1080 initIRBuilder(B, DL, InsertBB, InsertBefore); in insertDbgIntrinsic() [all …]
|
H A D | BasicBlock.cpp | 221 BasicBlock *InsertBefore) in BasicBlock() argument 226 insertInto(NewParent, InsertBefore); in BasicBlock() 228 assert(!InsertBefore && in BasicBlock() 236 void BasicBlock::insertInto(Function *NewParent, BasicBlock *InsertBefore) { in insertInto() argument 240 if (InsertBefore) in insertInto() 241 NewParent->insert(InsertBefore->getIterator(), this); in insertInto()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | A15SDOptimizer.cpp | 67 MachineBasicBlock::iterator InsertBefore, 77 MachineBasicBlock::iterator InsertBefore, 81 MachineBasicBlock::iterator InsertBefore, 91 MachineBasicBlock::iterator InsertBefore, 419 BuildMI(MBB, InsertBefore, DL, in createDupLane() 430 MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertBefore, in createExtractSubreg() argument 435 InsertBefore, in createExtractSubreg() 449 InsertBefore, in createRegSequence() 466 BuildMI(MBB, InsertBefore, DL, TII->get(ARM::VEXTd32), Out) in createVExt() 479 InsertBefore, in createInsertSubreg() [all …]
|
H A D | ARMInstructionSelector.cpp | 488 const MachineBasicBlock::instr_iterator InsertBefore; member 494 (void)BuildMI(I.MBB, I.InsertBefore, I.DbgLoc, TII.get(Opcodes.MOVi)) in putConstant() 589 auto ReadI = BuildMI(I.MBB, I.InsertBefore, I.DbgLoc, in insertComparison() 597 auto Mov1I = BuildMI(I.MBB, I.InsertBefore, I.DbgLoc, in insertComparison() 693 auto InsertBefore = std::next(MIB->getIterator()); in selectGlobal() local 694 auto MIBLoad = BuildMI(MBB, InsertBefore, MIB->getDebugLoc(), in selectGlobal() 770 auto InsertBefore = std::next(MIB->getIterator()); in selectSelect() local 777 auto CmpI = BuildMI(MBB, InsertBefore, DbgLoc, TII.get(Opcodes.TSTri)) in selectSelect() 792 auto Mov1I = BuildMI(MBB, InsertBefore, DbgLoc, TII.get(Opcodes.MOVCCr)) in selectSelect() 884 auto InsertBefore = std::next(I.getIterator()); in select() local [all …]
|
H A D | ARMLoadStoreOptimizer.cpp | 628 MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertBefore, in CreateLoadStoreMulti() argument 639 (MBB.computeRegisterLiveness(TRI, ARM::CPSR, InsertBefore, 20) == in CreateLoadStoreMulti() 691 moveLiveRegsBefore(MBB, InsertBefore); in CreateLoadStoreMulti() 758 BuildMI(MBB, InsertBefore, DL, TII->get(BaseOpc), NewBase) in CreateLoadStoreMulti() 763 BuildMI(MBB, InsertBefore, DL, TII->get(BaseOpc), NewBase) in CreateLoadStoreMulti() 769 BuildMI(MBB, InsertBefore, DL, TII->get(BaseOpc), NewBase) in CreateLoadStoreMulti() 808 MIB = BuildMI(MBB, InsertBefore, DL, TII->get(Opcode)); in CreateLoadStoreMulti() 820 MIB = BuildMI(MBB, InsertBefore, DL, TII->get(Opcode)); in CreateLoadStoreMulti() 835 MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertBefore, in CreateLoadStoreDouble() argument 845 MachineInstrBuilder MIB = BuildMI(MBB, InsertBefore, DL, in CreateLoadStoreDouble() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LowerMemIntrinsics.cpp | 24 Instruction *InsertBefore, Value *SrcAddr, Value *DstAddr, in createMemCpyLoopKnownSize() argument 32 BasicBlock *PreLoopBB = InsertBefore->getParent(); in createMemCpyLoopKnownSize() 60 PostLoopBB = PreLoopBB->splitBasicBlock(InsertBefore, "memcpy-split"); in createMemCpyLoopKnownSize() 109 : InsertBefore); in createMemCpyLoopKnownSize() 163 BasicBlock *PreLoopBB = InsertBefore->getParent(); in createMemCpyLoopUnknownSize() 352 BasicBlock *OrigBB = InsertBefore->getParent(); in createMemMoveLoop() 364 ICmpInst *PtrCompare = new ICmpInst(InsertBefore, ICmpInst::ICMP_ULT, in createMemMoveLoop() 367 SplitBlockAndInsertIfThenElse(PtrCompare, InsertBefore, &ThenTerm, in createMemMoveLoop() 379 BasicBlock *ExitBB = InsertBefore->getParent(); in createMemMoveLoop() 439 BasicBlock *OrigBB = InsertBefore->getParent(); in createMemSetLoop() [all …]
|
H A D | CallPromotionUtils.cpp | 171 Instruction *InsertBefore = nullptr; in createRetBitCast() local 173 InsertBefore = in createRetBitCast() 176 InsertBefore = &*std::next(CB.getIterator()); in createRetBitCast() 179 auto *Cast = CastInst::CreateBitOrPointerCast(&CB, RetTy, "", InsertBefore); in createRetBitCast()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SILoadStoreOptimizer.cpp | 1259 BuildMI(*MBB, InsertBefore, DL, CopyDesc) in mergeRead2Pair() 1262 BuildMI(*MBB, InsertBefore, DL, CopyDesc) in mergeRead2Pair() 1392 BuildMI(*MBB, InsertBefore, DL, CopyDesc) in mergeImagePair() 1395 BuildMI(*MBB, InsertBefore, DL, CopyDesc) in mergeImagePair() 1438 BuildMI(*MBB, InsertBefore, DL, CopyDesc) in mergeSMemLoadImmPair() 1441 BuildMI(*MBB, InsertBefore, DL, CopyDesc) in mergeSMemLoadImmPair() 1493 BuildMI(*MBB, InsertBefore, DL, CopyDesc) in mergeBufferLoadPair() 1496 BuildMI(*MBB, InsertBefore, DL, CopyDesc) in mergeBufferLoadPair() 1552 BuildMI(*MBB, InsertBefore, DL, CopyDesc) in mergeTBufferLoadPair() 1555 BuildMI(*MBB, InsertBefore, DL, CopyDesc) in mergeTBufferLoadPair() [all …]
|
H A D | SILowerSGPRSpills.cpp | 280 MachineBasicBlock::iterator InsertBefore = SaveBlock->begin(); in extendWWMVirtRegLiveness() local 281 auto MIB = BuildMI(*SaveBlock, *InsertBefore, InsertBefore->getDebugLoc(), in extendWWMVirtRegLiveness() 295 MachineBasicBlock::iterator InsertBefore = in extendWWMVirtRegLiveness() local 299 BuildMI(*RestoreBlock, *InsertBefore, InsertBefore->getDebugLoc(), in extendWWMVirtRegLiveness()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
H A D | ObjCARC.cpp | 26 Instruction *InsertBefore, in createCallInstWithColors() argument 33 const ColorVector &CV = BlockColors.find(InsertBefore->getParent())->second; in createCallInstWithColors() 40 return CallInst::Create(FTy, Callee, Args, OpBundles, NameStr, InsertBefore); in createCallInstWithColors()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | LowerMemIntrinsics.h | 36 Instruction *InsertBefore, Value *SrcAddr, Value *DstAddr, Value *CopyLen, 44 Instruction *InsertBefore, Value *SrcAddr, Value *DstAddr,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64StackTagging.cpp | 305 void tagAlloca(AllocaInst *AI, Instruction *InsertBefore, Value *Ptr, 307 void untagAlloca(AllocaInst *AI, Instruction *InsertBefore, uint64_t Size); 411 void AArch64StackTagging::tagAlloca(AllocaInst *AI, Instruction *InsertBefore, in tagAlloca() argument 426 InsertBefore = collectInitializers(InsertBefore, Ptr, Size, IB); in tagAlloca() 429 IRBuilder<> IRB(InsertBefore); in tagAlloca() 433 void AArch64StackTagging::untagAlloca(AllocaInst *AI, Instruction *InsertBefore, in untagAlloca() argument 435 IRBuilder<> IRB(InsertBefore); in untagAlloca()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | PlaceSafepoints.cpp | 193 InsertSafepointPoll(Instruction *InsertBefore, 622 InsertSafepointPoll(Instruction *InsertBefore, in InsertSafepointPoll() argument 625 BasicBlock *OrigBB = InsertBefore->getParent(); in InsertSafepointPoll() 626 Module *M = InsertBefore->getModule(); in InsertSafepointPoll() 639 CallInst *PollCall = CallInst::Create(F, "", InsertBefore); in InsertSafepointPoll()
|
H A D | MergeICmps.cpp | 604 BasicBlock *const InsertBefore, in mergeComparisons() argument 615 NextCmpBlock->getParent(), InsertBefore); in mergeComparisons() 695 BasicBlock *InsertBefore = EntryBlock_; in simplify() local 698 InsertBefore = NextCmpBlock = mergeComparisons( in simplify() 699 Blocks, InsertBefore, NextCmpBlock, Phi_, TLI, AA, DTU); in simplify()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | MemProfiler.cpp | 196 void instrumentAddress(Instruction *OrigIns, Instruction *InsertBefore, 391 Instruction *InsertBefore = I; in instrumentMaskedLoadOrStore() local 405 InsertBefore = ThenTerm; in instrumentMaskedLoadOrStore() 408 IRBuilder<> IRB(InsertBefore); in instrumentMaskedLoadOrStore() 411 instrumentAddress(I, InsertBefore, InstrumentedAddress, ElemTypeSize, in instrumentMaskedLoadOrStore() 444 Instruction *InsertBefore, Value *Addr, in instrumentAddress() argument 446 IRBuilder<> IRB(InsertBefore); in instrumentAddress()
|
H A D | AddressSanitizer.cpp | 1664 InstrumentationIRBuilder IRB(InsertBefore); in generateCrashCode() 1706 Instruction *OrigIns, Instruction *InsertBefore, Value *Addr, in instrumentAMDGPUAddress() argument 1714 return InsertBefore; in instrumentAMDGPUAddress() 1716 IRBuilder<> IRB(InsertBefore); in instrumentAMDGPUAddress() 1722 SplitBlockAndInsertIfThen(Cmp, InsertBefore, false); in instrumentAMDGPUAddress() 1723 InsertBefore = cast<Instruction>(AddrSpaceZeroLanding); in instrumentAMDGPUAddress() 1724 return InsertBefore; in instrumentAMDGPUAddress() 1758 InsertBefore = instrumentAMDGPUAddress(OrigIns, InsertBefore, Addr, in instrumentAddress() 1760 if (!InsertBefore) in instrumentAddress() 1764 InstrumentationIRBuilder IRB(InsertBefore); in instrumentAddress() [all …]
|
H A D | HWAddressSanitizer.cpp | 309 ShadowTagCheckInfo insertShadowTagCheck(Value *Ptr, Instruction *InsertBefore, 313 Instruction *InsertBefore, 317 Instruction *InsertBefore, DomTreeUpdater &DTU, 883 IRBuilder<> IRB(InsertBefore); in insertShadowTagCheck() 900 TagMismatch, InsertBefore, false, in insertShadowTagCheck() 908 Instruction *InsertBefore, in instrumentMemAccessOutline() argument 915 InsertBefore = in instrumentMemAccessOutline() 916 insertShadowTagCheck(Ptr, InsertBefore, DTU, LI).TagMismatchTerm; in instrumentMemAccessOutline() 918 IRBuilder<> IRB(InsertBefore); in instrumentMemAccessOutline() 929 Instruction *InsertBefore, in instrumentMemAccessInline() argument [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | FixupStatepointCallerSaved.cpp | 419 MachineBasicBlock::iterator InsertBefore(MI); in spillRegisters() local 420 Reg = performCopyPropagation(Reg, InsertBefore, IsKill, TII, TRI); in spillRegisters() 423 LLVM_DEBUG(dbgs() << "Insert spill before " << *InsertBefore); in spillRegisters() 424 TII.storeRegToStackSlot(*MI.getParent(), InsertBefore, Reg, IsKill, FI, in spillRegisters()
|