Home
last modified time | relevance | path

Searched refs:getDebugLoc (Results 1 – 25 of 448) sorted by relevance

12345678910>>...18

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLostDebugLocObserver.cpp34 if (!MI->getDebugLoc()) in analyzeDebugLocations()
38 if (MI->getDebugLoc().getLine() == 0) { in analyzeDebugLocations()
43 if (LostDebugLocs.erase(MI->getDebugLoc())) { in analyzeDebugLocations()
44 LOC_DEBUG(dbgs() << ".. .. found " << MI->getDebugLoc() << " in " << *MI); in analyzeDebugLocations()
98 if (MI.getDebugLoc()) in erasingInstr()
99 LostDebugLocs.insert(MI.getDebugLoc()); in erasingInstr()
107 if (MI.getDebugLoc()) in changingInstr()
108 LostDebugLocs.insert(MI.getDebugLoc()); in changingInstr()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/GISel/
H A DPPCInstructionSelector.cpp190 const DebugLoc &DbgLoc = I.getDebugLoc(); in selectIntToFP()
217 const DebugLoc &DbgLoc = I.getDebugLoc(); in selectFPToInt()
266 BuildMI(MBB, I, I.getDebugLoc(), TII.get(PPC::RLDICL), DstReg) in selectZExt()
305 return BuildMI(MBB, I, I.getDebugLoc(), TII.get(PPC::LI8), Reg) in selectI64ImmDirect()
311 return BuildMI(MBB, I, I.getDebugLoc(), TII.get(PPC::LIS8), Reg) in selectI64ImmDirect()
326 if (!BuildMI(MBB, I, I.getDebugLoc(), TII.get(Opcode), TmpReg) in selectI64ImmDirect()
330 return BuildMI(MBB, I, I.getDebugLoc(), TII.get(PPC::ORI8), Reg) in selectI64ImmDirect()
474 if (!BuildMI(MBB, I, I.getDebugLoc(), TII.get(Opcode), TmpReg) in selectI64ImmDirect()
547 if (!BuildMI(MBB, I, I.getDebugLoc(), TII.get(Opcode), TmpReg) in selectI64ImmDirect()
577 if (!BuildMI(MBB, I, I.getDebugLoc(), TII.get(Opcode), TmpReg) in selectI64ImmDirect()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsInstructionSelector.cpp261 BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(Opc)) in buildUnalignedStore()
275 BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(Opc)) in buildUnalignedLoad()
342 MI = BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::ADDu)) in select()
354 MI = BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::ADDiu)) in select()
361 MI = BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::BNE)) in select()
391 BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::LW)) in select()
501 MI = BuildMI(MBB, I, I.getDebugLoc(), TII.get(NewOpc)) in select()
517 PseudoDIV = BuildMI(MBB, I, I.getDebugLoc(), in select()
525 PseudoMove = BuildMI(MBB, I, I.getDebugLoc(), in select()
632 MI = BuildMI(MBB, I, I.getDebugLoc(), TII.get(FABSOpcode)) in select()
[all …]
H A DMips16ISelLowering.cpp513 DebugLoc DL = MI.getDebugLoc(); in emitSel16()
576 DebugLoc DL = MI.getDebugLoc(); in emitSelT16()
642 DebugLoc DL = MI.getDebugLoc(); in emitSeliT16()
711 BuildMI(*BB, MI, MI.getDebugLoc(), TII->get(CmpOpc)) in emitFEXT_T8I816_ins()
714 BuildMI(*BB, MI, MI.getDebugLoc(), TII->get(BtOpc)).addMBB(target); in emitFEXT_T8I816_ins()
736 BuildMI(*BB, MI, MI.getDebugLoc(), TII->get(CmpOpc)).addReg(regX).addImm(imm); in emitFEXT_T8I8I16_ins()
737 BuildMI(*BB, MI, MI.getDebugLoc(), TII->get(BtOpc)).addMBB(target); in emitFEXT_T8I8I16_ins()
761 BuildMI(*BB, MI, MI.getDebugLoc(), TII->get(SltOpc)) in emitFEXT_CCRX16_ins()
764 BuildMI(*BB, MI, MI.getDebugLoc(), TII->get(Mips::MoveR3216), CC) in emitFEXT_CCRX16_ins()
781 BuildMI(*BB, MI, MI.getDebugLoc(), TII->get(SltOpc)).addReg(regX).addImm(Imm); in emitFEXT_CCRXI16_ins()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCExpandPseudos.cpp68 BuildMI(*SI.getParent(), SI, SI.getDebugLoc(), TII->get(AddOpc), AddrReg) in expandStore()
71 BuildMI(*SI.getParent(), SI, SI.getDebugLoc(), in expandStore()
93 BuildMI(*MI.getParent(), MI, MI.getDebugLoc(), TII->get(ARC::FLS_f_rr), Ra) in expandCTLZ()
95 BuildMI(*MI.getParent(), MI, MI.getDebugLoc(), TII->get(ARC::MOV_cc_ru6), Rb) in expandCTLZ()
99 BuildMI(*MI.getParent(), MI, MI.getDebugLoc(), TII->get(ARC::RSUB_cc_rru6)) in expandCTLZ()
120 BuildMI(*MI.getParent(), MI, MI.getDebugLoc(), TII->get(ARC::FFS_f_rr), R) in expandCTTZ()
122 BuildMI(*MI.getParent(), MI, MI.getDebugLoc(), TII->get(ARC::MOV_cc_ru6)) in expandCTTZ()
H A DARCBranchFinalize.cpp118 BuildMI(*MI->getParent(), MI, MI->getDebugLoc(), in replaceWithBRcc()
133 BuildMI(*MI->getParent(), MI, MI->getDebugLoc(), in replaceWithCmpBcc()
137 BuildMI(*MI->getParent(), MI, MI->getDebugLoc(), TII->get(ARC::Bcc)) in replaceWithCmpBcc()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVETailPredUtils.h109 BuildMI(*MBB, MI, MI->getDebugLoc(), TII->get(ARM::t2CMPri));
116 BuildMI(*MBB, MI, MI->getDebugLoc(), TII->get(ARM::t2SUBri));
127 BuildMI(*MBB, MI, MI->getDebugLoc(), TII->get(BrOpc));
137 BuildMI(*MBB, MI, MI->getDebugLoc(), TII->get(ARM::tMOVr)) in RevertDoLoopStart()
150 BuildMI(*MBB, MI, MI->getDebugLoc(), TII->get(ARM::t2SUBri));
174 BuildMI(*MBB, MI, MI->getDebugLoc(), TII->get(ARM::t2CMPri));
183 BuildMI(*MBB, MI, MI->getDebugLoc(), TII->get(BrOpc));
H A DARMExpandPseudoInsts.cpp1266 const DebugLoc &DL = RetI.getDebugLoc(); in CMSEClearFPRegsV8()
1799 DebugLoc DL = MI.getDebugLoc(); in ExpandCMP_SWAP()
1929 DebugLoc DL = MI.getDebugLoc(); in ExpandCMP_SWAP_64()
2032 const DebugLoc &DL = MBBI->getDebugLoc(); in CMSEPushCalleeSaves()
2092 const DebugLoc &DL = MBBI->getDebugLoc(); in CMSEPopCalleeSaves()
2195 DebugLoc dl = MBBI->getDebugLoc(); in ExpandMI()
2265 BuildMI(MBB, MBBI, MBBI->getDebugLoc(), in ExpandMI()
2296 DebugLoc DL = MBBI->getDebugLoc(); in ExpandMI()
2572 BuildMI(MBB, MBBI, MI.getDebugLoc(), in ExpandMI()
2580 BuildMI(MBB, MBBI, MI.getDebugLoc(), in ExpandMI()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineDebugify.cpp75 unsigned Line = DVI->getDebugLoc().getLine(); in applyDebugifyMetadataToMachineFunction()
78 if (!EarliestDVI || Line < EarliestDVI->getDebugLoc().getLine()) in applyDebugifyMetadataToMachineFunction()
110 unsigned Line = MI.getDebugLoc().getLine(); in applyDebugifyMetadataToMachineFunction()
112 Line = EarliestDVI->getDebugLoc().getLine(); in applyDebugifyMetadataToMachineFunction()
123 BuildMI(MBB, InsertBeforeIt, MI.getDebugLoc(), DbgValDesc, in applyDebugifyMetadataToMachineFunction()
129 BuildMI(MBB, InsertBeforeIt, MI.getDebugLoc(), DbgValDesc, in applyDebugifyMetadataToMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFMIPeephole.cpp228 BuildMI(MBB, MI, MI.getDebugLoc(), TII->get(BPF::SUBREG_TO_REG), DstReg) in eliminateZExtSeq()
279 BuildMI(MBB, MI, MI.getDebugLoc(), TII->get(BPF::SUBREG_TO_REG), dst) in eliminateZExt()
466 BuildMI(MBB, UncondJmp->getDebugLoc(), TII->get(BPF::JMPL)).addMBB(JmpBB); in adjustBranch()
507 …BuildMI(*MBB, MachineBasicBlock::iterator(*CondJmp), CondJmp->getDebugLoc(), TII->get(CondJmp->get… in adjustBranch()
512 …BuildMI(*MBB, MachineBasicBlock::iterator(*CondJmp), CondJmp->getDebugLoc(), TII->get(CondJmp->get… in adjustBranch()
525 BuildMI(New_B0, CondJmp->getDebugLoc(), TII->get(BPF::JMP)).addMBB(FollowBB); in adjustBranch()
526 BuildMI(New_B1, CondJmp->getDebugLoc(), TII->get(BPF::JMPL)) in adjustBranch()
567 …BuildMI(*MBB, MachineBasicBlock::iterator(*CondJmp), CondJmp->getDebugLoc(), TII->get(CondJmp->get… in adjustBranch()
572 …BuildMI(*MBB, MachineBasicBlock::iterator(*CondJmp), CondJmp->getDebugLoc(), TII->get(CondJmp->get… in adjustBranch()
582 BuildMI(New_B, CondJmp->getDebugLoc(), TII->get(BPF::JMPL)).addMBB(CondTargetBB); in adjustBranch()
[all …]
H A DBPFRegisterInfo.cpp74 DebugLoc DL = MI.getDebugLoc(); in eliminateFrameIndex()
79 if (I.getDebugLoc()) { in eliminateFrameIndex()
80 DL = I.getDebugLoc(); in eliminateFrameIndex()
H A DBPFPreserveStaticOffset.cpp154 DILocation *Merged = (*Insns.begin())->getDebugLoc(); in mergeDILocations()
156 Merged = DILocation::getMergedLocation(Merged, I->getDebugLoc()); in mergeDILocations()
230 Call->applyMergedLocation(mergeDILocations(GEP.Members), Load->getDebugLoc()); in makeGEPAndLoad()
255 Store->getDebugLoc()); in makeGEPAndStore()
297 GEP->setDebugLoc(Call->getDebugLoc()); in reconstructCommon()
298 Insn->setDebugLoc(Call->getDebugLoc()); in reconstructCommon()
400 .concat(Insn->getDebugLoc() in reportNonStaticGEPChain()
403 Insn->getDebugLoc(), DS_Warning); in reportNonStaticGEPChain()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupLEAs.cpp168 BuildMI(MBB, MBBI, MI.getDebugLoc(), in INITIALIZE_PASS()
525 NewMI1 = BuildMI(MBB, InsertPos, AluI->getDebugLoc(), TII->get(NewOpcode), in optLEAALU()
727 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), ADDri, DstR) in processInstructionForSlowLEA()
791 NewMI = BuildMI(MBB, MI, MI.getDebugLoc(), TII->get(LEAOpcode)) in processInstrForSlow3OpLEA()
816 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpc), DestReg) in processInstrForSlow3OpLEA()
822 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpc), DestReg) in processInstrForSlow3OpLEA()
831 NewMI = BuildMI(MBB, MI, MI.getDebugLoc(), TII->get(LEAOpcode)) in processInstrForSlow3OpLEA()
879 TII->copyPhysReg(MBB, MI, MI.getDebugLoc(), DestReg, BaseReg, BIK); in processInstrForSlow3OpLEA()
883 NewMI = BuildMI(MBB, MI, MI.getDebugLoc(), TII->get(NewOpc), DestReg) in processInstrForSlow3OpLEA()
896 NewMI = BuildMI(MBB, MI, MI.getDebugLoc(), TII->get(LEAOpcode)) in processInstrForSlow3OpLEA()
[all …]
H A DX86ReturnThunks.cpp86 BuildMI(Ret->getParent(), Ret->getDebugLoc(), CS); in runOnMachineFunction()
87 BuildMI(Ret->getParent(), Ret->getDebugLoc(), JMP) in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ExpandPseudoInsts.cpp674 DebugLoc DL = MI.getDebugLoc(); in expandSetTagLoop()
884 DebugLoc DL(MBBI->getDebugLoc()); in expandStoreSwiftAsyncContext()
946 DebugLoc DL = MI.getDebugLoc(); in expandRestoreZA()
1024 DebugLoc DL = MI.getDebugLoc(); in expandCondSMToggle()
1127 BuildMI(MBB, MBBI, MI.getDebugLoc(), in expandMI()
1136 BuildMI(MBB, MBBI, MI.getDebugLoc(), in expandMI()
1146 BuildMI(MBB, MBBI, MI.getDebugLoc(), in expandMI()
1154 BuildMI(MBB, MBBI, MI.getDebugLoc(), in expandMI()
1271 DebugLoc DL = MI.getDebugLoc(); in expandMI()
1456 BuildMI(MBB, MBBI, MI.getDebugLoc(), in expandMI()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVInstructionSelector.cpp543 return BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(Opcode)) in selectUnOpWithSrc()
755 const DebugLoc &DL = I.getDebugLoc(); in selectAtomicCmpXchg()
850 const DebugLoc &DL = I.getDebugLoc(); in selectAddrSpaceCast()
986 auto MIB = BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectConstVector()
1160 BuildMI(BB, I, I.getDebugLoc(), TII.get(Opcode)) in selectIntToBool()
1371 auto MIB = BuildMI(BB, I, I.getDebugLoc(), TII.get(Opcode)) in selectIntrinsic()
1409 BuildMI(BB, I, I.getDebugLoc(), TII.get(SPIRV::OpUnreachable)); in selectIntrinsic()
1420 BuildMI(BB, I, I.getDebugLoc(), TII.get(SPIRV::OpExpectKHR)) in selectIntrinsic()
1456 return BuildMI(MBB, I, I.getDebugLoc(), TII.get(SPIRV::OpBranch)) in selectBranch()
1589 BuildMI(BB, I, I.getDebugLoc(), TII.get(SPIRV::OpExtInst)) in selectLog10()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430FrameLowering.cpp93 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); in emitPrologue()
163 DL = MBBI->getDebugLoc(); in emitPrologue()
203 DebugLoc DL = MBBI->getDebugLoc(); in emitEpilogue()
255 DL = MBBI->getDebugLoc(); in emitEpilogue()
323 if (MI != MBB.end()) DL = MI->getDebugLoc(); in spillCalleeSavedRegisters()
348 if (MI != MBB.end()) DL = MI->getDebugLoc(); in restoreCalleeSavedRegisters()
381 BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::SUB16ri), MSP430::SP) in eliminateCallFramePseudoInstr()
389 New = BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::ADD16ri), in eliminateCallFramePseudoInstr()
409 BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::SUB16ri), MSP430::SP) in eliminateCallFramePseudoInstr()
413 DebugLoc DL = I->getDebugLoc(); in eliminateCallFramePseudoInstr()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86InstructionSelector.cpp293 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectCopy()
864 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectZext()
868 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectZext()
930 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectAnyext()
978 *BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(OpCmp)) in selectCmp()
1315 BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(X86::COPY)) in emitInsertSubreg()
1392 *BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectUnmergeValues()
1490 const DebugLoc &DbgLoc = I.getDebugLoc(); in materializeFP()
1728 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectMulDivRem()
1747 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectMulDivRem()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMergedLoadStoreMotion.cpp221 NewPN->applyMergedLocation(S0->getDebugLoc(), S1->getDebugLoc()); in getPHIOperand()
259 S0->applyMergedLocation(S0->getDebugLoc(), S1->getDebugLoc()); in sinkStoresAndGEPs()
283 GEPNew->applyMergedLocation(GEP0->getDebugLoc(), GEP1->getDebugLoc()); in sinkStoresAndGEPs()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVExtract.cpp70 DebugLoc DL = ExtI->getDebugLoc(); in genElemLoad()
155 Register AddrR = EmitAddr(DefB, At, DefI->getDebugLoc(), FI, 0); in runOnMachineFunction()
156 BuildMI(DefB, At, DefI->getDebugLoc(), HII->get(StoreOpc)) in runOnMachineFunction()
169 DebugLoc DL = ExtI->getDebugLoc(); in runOnMachineFunction()
170 Register BaseR = EmitAddr(ExtB, ExtI, ExtI->getDebugLoc(), FI, in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DInstrEmitter.cpp278 BuildMI(*MBB, InsertPos, Op.getDebugLoc(), in getVR()
525 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), in EmitSubregNode()
542 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), in EmitSubregNode()
680 DebugLoc DL = SD->getDebugLoc(); in EmitDbgValue()
765 DebugLoc DL = SD->getDebugLoc(); in EmitDbgInstrRef()
897 DebugLoc DL = SD->getDebugLoc(); in EmitDbgNoLocation()
907 DebugLoc DL = SD->getDebugLoc(); in EmitDbgValueList()
923 DebugLoc DL = SD->getDebugLoc(); in EmitDbgValueFromSingleOp()
956 DebugLoc DL = SD->getDebugLoc(); in EmitDbgLabel()
1221 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), in EmitSpecialNode()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyDebugValueManager.cpp116 DV->getDebugLoc()->getInlinedAt()); in getSinkableDebugValues()
134 DV->getDebugLoc()->getInlinedAt()); in getSinkableDebugValues()
238 if (MI.getDebugLoc() == DL) in hasSameDebugLoc()
284 if (Def->getParent() != MBB && !hasSameDebugLoc(MBB, Def->getDebugLoc())) in sink()
369 if (Def->getParent() != MBB && !hasSameDebugLoc(MBB, Def->getDebugLoc())) in cloneSink()
H A DWebAssemblyLateEHPrepare.cpp218 InsertPos == MBB.end() ? DebugLoc() : InsertPos->getDebugLoc(), in addCatchAlls()
242 BuildMI(MBB, TI, TI->getDebugLoc(), TII.get(WebAssembly::BR)) in replaceFuncletReturns()
251 BuildMI(MBB, TI, TI->getDebugLoc(), TII.get(WebAssembly::RETHROW)) in replaceFuncletReturns()
319 InsertPos, MBB.begin()->getDebugLoc()); in restoreStackPointer()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DPseudoProbe.cpp51 if (const DebugLoc &DLoc = Inst.getDebugLoc()) in extractProbeFromDiscriminator()
65 if (const DebugLoc &DLoc = Inst.getDebugLoc()) in extractProbe()
88 if (const DebugLoc &DLoc = Inst.getDebugLoc()) { in setProbeDistributionFactor()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFixSGPRCopies.cpp330 BuildMI(*MI.getParent(), &MI, MI.getDebugLoc(), TII->get(Opc), in foldVGPRCopyIntoRegSequence()
677 PointToInsertCopy->getDebugLoc(), in runOnMachineFunction()
747 BuildMI(*MI.getParent(), MI, MI.getDebugLoc(), in runOnMachineFunction()
882 BuildMI(*MI.getParent(), MI, MI.getDebugLoc(), in lowerSpecialCase()
1070 auto MIB = BuildMI(*MBB, MI, MI->getDebugLoc(), in lowerVGPR2SGPRCopies()
1074 auto MIB = BuildMI(*MBB, MI, MI->getDebugLoc(), in lowerVGPR2SGPRCopies()
1078 auto Result = BuildMI(*MBB, MI, MI->getDebugLoc(), in lowerVGPR2SGPRCopies()
1087 BuildMI(*MBB, *Result, Result->getDebugLoc(), in lowerVGPR2SGPRCopies()
1114 MI.getDebugLoc(), in fixSCCCopies()
1120 I = BuildMI(*MI.getParent(), std::next(I), I->getDebugLoc(), in fixSCCCopies()
[all …]

12345678910>>...18