/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 …]
|
H A D | Mips16ISelLowering.cpp | 513 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(), TI in emitFEXT_CCRXI16_ins() [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() 127 Line = EarliestDVI ? EarliestDVI->getDebugLoc().getLine() in applyDebugifyMetadataToMachineFunction() 128 : EarliestDVR->getDebugLoc().getLine(); in applyDebugifyMetadataToMachineFunction() 139 BuildMI(MBB, InsertBeforeIt, MI.getDebugLoc(), DbgValDesc, in applyDebugifyMetadataToMachineFunction() 145 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()
|
H A D | ARCBranchFinalize.cpp | 118 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 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 | 562 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(), in ExpandVLD() 680 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(), in ExpandVST() 757 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(), in ExpandLaneOp() 842 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(Opc)); in ExpandVTBL() 881 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(NewOpc)); in ExpandMQQPRLoadStore() 1022 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(ARM::tLSLri), DstReg) in ExpandTMOV32BitImm() 1036 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(Op), DstReg) in ExpandTMOV32BitImm() 1083 LO16 = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(ARM::MOVi), DstReg); in ExpandMOV32BitImm() 1084 HI16 = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(ARM::ORRri)) in ExpandMOV32BitImm() 1090 LO16 = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(ARM::MVNi), DstReg); in ExpandMOV32BitImm() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86FixupLEAs.cpp | 168 BuildMI(MBB, MBBI, MI.getDebugLoc(), in INITIALIZE_PASS() 525 NewMI1 = BuildMI(MBB, InsertPos, AluI->getDebugLoc(), TII->get(NewOpcode), in optLEAALU() 530 NewMI2 = BuildMI(MBB, InsertPos, AluI->getDebugLoc(), TII->get(NewOpcode), in optLEAALU() 594 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpcode), DestReg) in optTwoAddrLEA() 599 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpcode), DestReg) in optTwoAddrLEA() 616 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpcode), DestReg) in optTwoAddrLEA() 619 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpcode), DestReg) in optTwoAddrLEA() 626 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpcode), DestReg) in optTwoAddrLEA() 630 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpcode), DestReg) in optTwoAddrLEA() 719 BuildMI(MBB, I, MI.getDebugLoc(), ADDr 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/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/SPIRV/ |
H A D | SPIRVInstructionSelector.cpp | 372 auto MIB = BuildMI(BB, I, I.getDebugLoc(), TII.get(SPIRV::OpVectorShuffle)) in spvSelect() 556 auto MIB = BuildMI(BB, I, I.getDebugLoc(), TII.get(SPIRV::OpSpecConstantOp)) in spvSelect() 645 auto MIB = BuildMI(BB, I, I.getDebugLoc(), TII.get(SPIRV::OpExtInst)) in selectExtInst() 664 return BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(Opcode)) in selectUnOpWithSrc() 697 return BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectUnOp() 776 auto MIB = BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(SPIRV::OpLoad)) in selectLoad() 796 auto MIB = BuildMI(BB, I, I.getDebugLoc(), TII.get(SPIRV::OpStore)) in selectStore() 819 return BuildMI(BB, I, I.getDebugLoc(), TII.get(SPIRV::OpSaveMemoryINTEL)) in selectStackSave() 834 return BuildMI(BB, I, I.getDebugLoc(), TII.get(SPIRV::OpRestoreMemoryINTEL)) in selectStackRestore() 864 BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(SPIRV::OpVariable)) in selectMemOperation() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/ |
H A D | MSP430FrameLowering.cpp | 92 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); in emitPrologue() 162 DL = MBBI->getDebugLoc(); in emitPrologue() 202 DebugLoc DL = MBBI->getDebugLoc(); in emitEpilogue() 254 DL = MBBI->getDebugLoc(); in emitEpilogue() 322 if (MI != MBB.end()) DL = MI->getDebugLoc(); in spillCalleeSavedRegisters() 347 if (MI != MBB.end()) DL = MI->getDebugLoc(); in restoreCalleeSavedRegisters() 380 BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::SUB16ri), MSP430::SP) in eliminateCallFramePseudoInstr() 388 New = BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::ADD16ri), in eliminateCallFramePseudoInstr() 408 BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::SUB16ri), MSP430::SP) in eliminateCallFramePseudoInstr() 412 DebugLoc DL = I->getDebugLoc(); in eliminateCallFramePseudoInstr()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/ |
H A D | X86InstructionSelector.cpp | 300 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectCopy() 898 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectZext() 902 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectZext() 910 *BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(AndOpc), DstReg) in selectZext() 964 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectAnyext() 1012 *BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(OpCmp)) in selectCmp() 1016 MachineInstr &SetInst = *BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectCmp() 1072 *BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(OpCmp)) in selectFCmp() 1078 MachineInstr &Set1 = *BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectFCmp() 1080 MachineInstr &Set2 = *BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectFCmp() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | MergedLoadStoreMotion.cpp | 221 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()
|
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/Hexagon/ |
H A D | HexagonVExtract.cpp | 70 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 D | InstrEmitter.cpp | 174 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), TII->get(TargetOpcode::COPY), in EmitCopyFromReg() 278 BuildMI(*MBB, InsertPos, Op.getDebugLoc(), in getVR() 356 BuildMI(*MBB, InsertPos, Op.getNode()->getDebugLoc(), in AddRegisterOperand() 426 BuildMI(*MBB, InsertPos, Op.getNode()->getDebugLoc(), in AddOperand() 552 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), in EmitSubregNode() 562 Node->isDivergent(), Node->getDebugLoc()); in EmitSubregNode() 569 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), in EmitSubregNode() 607 BuildMI(*MF, Node->getDebugLoc(), TII->get(Opc), VRBase); in EmitSubregNode() 645 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), TII->get(TargetOpcode::COPY), in EmitCopyToRegClassNode() 663 MachineInstrBuilder MIB = BuildMI(*MF, Node->getDebugLoc(), II, NewVReg); in EmitRegSequence() [all …]
|
/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/Target/WebAssembly/ |
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/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()
|
H A D | DebugProgramInstruction.cpp | 32 : DbgRecord(ValueKind, DVI->getDebugLoc()), in DbgVariableRecord() 59 : DbgRecord(ValueKind, DVR.getDebugLoc()), DebugValueUser(DVR.DebugValues), in DbgVariableRecord() 131 return getDebugLoc() == R.getDebugLoc() && isIdenticalToWhenDefined(R); in isEquivalentTo() 399 return new DbgLabelRecord(getLabel(), getDebugLoc()); in clone() 406 getDebugLoc()->getScope()->getSubprogram()->getUnit(); in createDebugIntrinsic() 410 LLVMContext &Context = getDebugLoc()->getContext(); in createDebugIntrinsic() 452 DVI->setDebugLoc(getDebugLoc()); in createDebugIntrinsic() 464 MetadataAsValue::get(getDebugLoc()->getContext(), getLabel())}; in createDebugIntrinsic() 468 DbgLabel->setDebugLoc(getDebugLoc()); in createDebugIntrinsic()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFRegisterInfo.cpp | 56 if (I.getDebugLoc()) { in WarnSize() 57 DL = I.getDebugLoc(); in WarnSize() 82 DebugLoc DL = MI.getDebugLoc(); in eliminateFrameIndex()
|