| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LostDebugLocObserver.cpp | 34 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 D | PPCInstructionSelector.cpp | 190 const DebugLoc &DbgLoc = I.getDebugLoc(); in selectIntToFP() 217 const DebugLoc &DbgLoc = I.getDebugLoc(); in selectFPToInt() 254 BuildMI(MBB, I, I.getDebugLoc(), TII.get(TargetOpcode::IMPLICIT_DEF), in selectZExt() 259 BuildMI(MBB, I, I.getDebugLoc(), TII.get(TargetOpcode::INSERT_SUBREG), in selectZExt() 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() 343 if (!BuildMI(MBB, I, I.getDebugLoc(), TII.get(PPC::LI8), TmpReg) in selectI64ImmDirect() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsInstructionSelector.cpp | 262 BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(Opc)) in buildUnalignedStore() 276 BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(Opc)) in buildUnalignedLoad() 302 MachineInstr *Mul = BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::MUL)) in select() 326 PseudoMULTu = BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::PseudoMULTu)) in select() 333 PseudoMove = BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::PseudoMFHI)) in select() 343 MI = BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::ADDu)) in select() 355 MI = BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::ADDiu)) in select() 368 MachineInstr *SLL = BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::SLL)) in select() 376 MachineInstr *ADDu = BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::ADDu)) in select() 385 BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::LW)) in select() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineDebugify.cpp | 76 unsigned Line = DVI->getDebugLoc().getLine(); in applyDebugifyMetadataToMachineFunction() 79 if (!EarliestDVI || Line < EarliestDVI->getDebugLoc().getLine()) in applyDebugifyMetadataToMachineFunction() 89 unsigned Line = DVR.getDebugLoc().getLine(); in applyDebugifyMetadataToMachineFunction() 92 if (!EarliestDVR || Line < EarliestDVR->getDebugLoc().getLine()) in applyDebugifyMetadataToMachineFunction() 125 unsigned Line = MI.getDebugLoc().getLine(); in applyDebugifyMetadataToMachineFunction() 128 Line = EarliestDVI ? EarliestDVI->getDebugLoc().getLine() in applyDebugifyMetadataToMachineFunction() 129 : EarliestDVR->getDebugLoc().getLine(); in applyDebugifyMetadataToMachineFunction() 143 BuildMI(MBB, InsertBeforeIt, MI.getDebugLoc(), DbgValDesc, in applyDebugifyMetadataToMachineFunction() 149 BuildMI(MBB, InsertBeforeIt, MI.getDebugLoc(), DbgValDesc, in applyDebugifyMetadataToMachineFunction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARC/ |
| H A D | ARCExpandPseudos.cpp | 68 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()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | MVETailPredUtils.h | 109 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 D | ARMExpandPseudoInsts.cpp | 561 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(), in ExpandVLD() 679 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(), in ExpandVST() 756 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(), in ExpandLaneOp() 841 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(Opc)); in ExpandVTBL() 880 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(NewOpc)); in ExpandMQQPRLoadStore() 1021 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(ARM::tLSLri), DstReg) in ExpandTMOV32BitImm() 1035 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(Op), DstReg) in ExpandTMOV32BitImm() 1082 LO16 = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(ARM::MOVi), DstReg); in ExpandMOV32BitImm() 1083 HI16 = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(ARM::ORRri)) in ExpandMOV32BitImm() 1089 LO16 = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(ARM::MVNi), DstReg); in ExpandMOV32BitImm() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFMIPeephole.cpp | 229 BuildMI(MBB, MI, MI.getDebugLoc(), TII->get(BPF::SUBREG_TO_REG), DstReg) in eliminateZExtSeq() 280 BuildMI(MBB, MI, MI.getDebugLoc(), TII->get(BPF::SUBREG_TO_REG), dst) in eliminateZExt() 471 BuildMI(MBB, UncondJmp->getDebugLoc(), TII->get(BPF::JMPL)).addMBB(JmpBB); in adjustBranch() 512 …BuildMI(*MBB, MachineBasicBlock::iterator(*CondJmp), CondJmp->getDebugLoc(), TII->get(CondJmp->get… in adjustBranch() 517 …BuildMI(*MBB, MachineBasicBlock::iterator(*CondJmp), CondJmp->getDebugLoc(), TII->get(CondJmp->get… in adjustBranch() 530 BuildMI(New_B0, CondJmp->getDebugLoc(), TII->get(BPF::JMP)).addMBB(FollowBB); in adjustBranch() 531 BuildMI(New_B1, CondJmp->getDebugLoc(), TII->get(BPF::JMPL)) in adjustBranch() 572 …BuildMI(*MBB, MachineBasicBlock::iterator(*CondJmp), CondJmp->getDebugLoc(), TII->get(CondJmp->get… in adjustBranch() 577 …BuildMI(*MBB, MachineBasicBlock::iterator(*CondJmp), CondJmp->getDebugLoc(), TII->get(CondJmp->get… in adjustBranch() 587 BuildMI(New_B, CondJmp->getDebugLoc(), TII->get(BPF::JMPL)).addMBB(CondTargetBB); in adjustBranch() [all …]
|
| H A D | BPFRegisterInfo.cpp | 66 if (I.getDebugLoc()) { in WarnSize() 67 DL = I.getDebugLoc(); in WarnSize() 91 DebugLoc DL = MI.getDebugLoc(); in eliminateFrameIndex()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ExpandPseudoInsts.cpp | 155 MIBS.push_back(BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(I->Opcode)) in expandMOVImm() 163 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(I->Opcode)) in expandMOVImm() 176 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(I->Opcode)) in expandMOVImm() 187 MIBS.push_back(BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(I->Opcode)) in expandMOVImm() 195 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(I->Opcode)) in expandMOVImm() 208 MIBS.push_back(BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(I->Opcode)) in expandMOVImm() 219 MIBS.push_back(BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(I->Opcode)) in expandMOVImm() 616 PRFX = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(MovPrfxZero)) in expand_DestructiveOp() 631 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(LSLZero)) in expand_DestructiveOp() 639 PRFX = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(MovPrfx)) in expand_DestructiveOp() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86FixupLEAs.cpp | 167 BuildMI(MBB, MBBI, MI.getDebugLoc(), in INITIALIZE_PASS() 524 NewMI1 = BuildMI(MBB, InsertPos, AluI->getDebugLoc(), TII->get(NewOpcode), in optLEAALU() 529 NewMI2 = BuildMI(MBB, InsertPos, AluI->getDebugLoc(), TII->get(NewOpcode), in optLEAALU() 593 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpcode), DestReg) in optTwoAddrLEA() 598 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpcode), DestReg) in optTwoAddrLEA() 615 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpcode), DestReg) in optTwoAddrLEA() 618 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpcode), DestReg) in optTwoAddrLEA() 625 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpcode), DestReg) in optTwoAddrLEA() 629 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpcode), DestReg) in optTwoAddrLEA() 718 BuildMI(MBB, I, MI.getDebugLoc(), ADDrr, DstR).addReg(DstR).add(Src); in processInstructionForSlowLEA() [all …]
|
| H A D | X86InstructionSelector.cpp | |
| H A D | X86FixupSetCC.cpp | 126 BuildMI(*ZExt->getParent(), ZExt, ZExt->getDebugLoc(), in runOnMachineFunction() 130 BuildMI(MBB, FlagsDefMI, MI.getDebugLoc(), TII->get(X86::MOV32r0), in runOnMachineFunction() 134 BuildMI(*ZExt->getParent(), ZExt, ZExt->getDebugLoc(), in runOnMachineFunction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVInstructionSelector.cpp | 587 return BuildMI(*I.getParent(), I, I.getDebugLoc(), in BuildCOPY() 626 auto MIB = BuildMI(BB, I, I.getDebugLoc(), TII.get(SPIRV::OpVectorShuffle)) in spvSelect() 865 BuildMI(BB, I, I.getDebugLoc(), TII.get(SPIRV::OpBitcast)) in spvSelect() 870 BuildMI(BB, I, I.getDebugLoc(), in spvSelect() 880 return BuildMI(BB, I, I.getDebugLoc(), TII.get(SPIRV::OpSpecConstantOp)) in spvSelect() 894 auto MIB = BuildMI(BB, I, I.getDebugLoc(), TII.get(SPIRV::OpSpecConstantOp)) in spvSelect() 1008 auto MIB = BuildMI(BB, I, I.getDebugLoc(), TII.get(SPIRV::OpExtInst)) in selectExtInst() 1032 auto MIB = BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(Opcode)) in selectOpWithSrcs() 1068 return BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectUnOp() 1166 I.getDebugLoc(), I); in selectLoad() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/ |
| H A D | X86InstructionSelector.cpp | 304 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectCopy() 926 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectZext() 930 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectZext() 938 *BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(AndOpc), DstReg) in selectZext() 992 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectAnyext() 1040 *BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(OpCmp)) in selectCmp() 1044 MachineInstr &SetInst = *BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectCmp() 1112 *BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(OpCmp)) in selectFCmp() 1118 MachineInstr &Set1 = *BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectFCmp() 1120 MachineInstr &Set2 = *BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectFCmp() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLateEHPrepare.cpp | 224 InsertPos == MBB.end() ? DebugLoc() : InsertPos->getDebugLoc(), in addCatchAlls() 248 BuildMI(MBB, TI, TI->getDebugLoc(), TII.get(WebAssembly::BR)) in replaceFuncletReturns() 285 BuildMI(MBB, TI, TI->getDebugLoc(), TII.get(WebAssembly::RETHROW)) in replaceFuncletReturns() 318 MachineInstrBuilder MIB = BuildMI(*EHPad, InsertPos, Catch->getDebugLoc(), in addCatchRefsAndThrowRefs() 331 BuildMI(*EHPad, InsertPos, Catch->getDebugLoc(), in addCatchRefsAndThrowRefs() 341 BuildMI(*Rethrow->getParent(), InsertPos, Rethrow->getDebugLoc(), in addCatchRefsAndThrowRefs() 409 InsertPos, MBB.begin()->getDebugLoc()); in restoreStackPointer()
|
| H A D | WebAssemblyDebugValueManager.cpp | 116 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()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/ |
| H A D | MSP430FrameLowering.cpp | 90 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); in emitPrologue() 160 DL = MBBI->getDebugLoc(); in emitPrologue() 200 DebugLoc DL = MBBI->getDebugLoc(); in emitEpilogue() 252 DL = MBBI->getDebugLoc(); in emitEpilogue() 320 if (MI != MBB.end()) DL = MI->getDebugLoc(); in spillCalleeSavedRegisters() 345 if (MI != MBB.end()) DL = MI->getDebugLoc(); in restoreCalleeSavedRegisters() 378 BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::SUB16ri), MSP430::SP) in eliminateCallFramePseudoInstr() 386 New = BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::ADD16ri), in eliminateCallFramePseudoInstr() 406 BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::SUB16ri), MSP430::SP) in eliminateCallFramePseudoInstr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | MergedLoadStoreMotion.cpp | 222 NewPN->applyMergedLocation(S0->getDebugLoc(), S1->getDebugLoc()); in getPHIOperand() 261 S0->applyMergedLocation(S0->getDebugLoc(), S1->getDebugLoc()); in sinkStoresAndGEPs() 285 GEPNew->applyMergedLocation(GEP0->getDebugLoc(), GEP1->getDebugLoc()); in sinkStoresAndGEPs()
|
| H A D | DivRemPairs.cpp | 218 RealRem->setDebugLoc(OrigRemInst->getDebugLoc()); in optimizeDivRem() 370 Mul->setDebugLoc(RemInst->getDebugLoc()); in optimizeDivRem() 372 Sub->setDebugLoc(RemInst->getDebugLoc()); in optimizeDivRem() 390 FrX->setDebugLoc(DivInst->getDebugLoc()); in optimizeDivRem() 399 FrY->setDebugLoc(DivInst->getDebugLoc()); in optimizeDivRem()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVInsertReadWriteCSR.cpp | 89 BuildMI(MBB, MI, MI.getDebugLoc(), TII->get(RISCV::WriteFRM)) in INITIALIZE_PASS() 119 BuildMI(MBB, MI, MI.getDebugLoc(), TII->get(RISCV::SwapFRMImm), SavedFRM) in INITIALIZE_PASS() 123 BuildMI(MBB, MI, MI.getDebugLoc(), TII->get(RISCV::WriteFRMImm)) in INITIALIZE_PASS() 161 BuildMI(MBB, MI, MI.getDebugLoc(), TII->get(RISCV::SwapFRMImm), in emitWriteRoundingMode()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | InstrEmitter.cpp | 173 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), TII->get(TargetOpcode::COPY), in EmitCopyFromReg() 276 BuildMI(*MBB, InsertPos, Op.getDebugLoc(), in getVR() 354 BuildMI(*MBB, InsertPos, MIB->getDebugLoc(), in AddRegisterOperand() 423 BuildMI(*MBB, InsertPos, Op.getNode()->getDebugLoc(), in AddOperand() 548 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), in EmitSubregNode() 558 Node->isDivergent(), Node->getDebugLoc()); in EmitSubregNode() 565 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), in EmitSubregNode() 603 BuildMI(*MF, Node->getDebugLoc(), TII->get(Opc), VRBase); in EmitSubregNode() 640 MachineInstrBuilder MIB = BuildMI(*MF, Node->getDebugLoc(), II, NewVReg); in EmitCopyToRegClassNode() 659 MachineInstrBuilder MIB = BuildMI(*MF, Node->getDebugLoc(), II, NewVReg); in EmitRegSequence() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | PseudoProbe.cpp | 51 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/Hexagon/ |
| H A D | HexagonVExtract.cpp | 65 DebugLoc DL = ExtI->getDebugLoc(); in genElemLoad() 150 Register AddrR = EmitAddr(DefB, At, DefI->getDebugLoc(), FI, 0); in runOnMachineFunction() 151 BuildMI(DefB, At, DefI->getDebugLoc(), HII->get(StoreOpc)) in runOnMachineFunction() 164 Register BaseR = EmitAddr(ExtB, ExtI, ExtI->getDebugLoc(), FI, in runOnMachineFunction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZPostRewrite.cpp | 119 CopyInst = BuildMI(*MBBI->getParent(), MBBI, MBBI->getDebugLoc(), in selectSELRMux() 132 CopyInst = BuildMI(*MBBI->getParent(), MBBI, MBBI->getDebugLoc(), in selectSELRMux() 139 CopyInst = BuildMI(*MBBI->getParent(), MBBI, MBBI->getDebugLoc(), in selectSELRMux() 176 DebugLoc DL = MI.getDebugLoc(); in expandCondMove() 244 BuildMI(MBB, &MI, MI.getDebugLoc(), TII->get(SystemZ::COPY), DstReg) in selectMI()
|