| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/GISel/ |
| H A D | PPCInstructionSelector.cpp | 181 const DebugLoc &DbgLoc = I.getDebugLoc(); in selectIntToFP() 208 const DebugLoc &DbgLoc = I.getDebugLoc(); in selectFPToInt() 245 BuildMI(MBB, I, I.getDebugLoc(), TII.get(TargetOpcode::IMPLICIT_DEF), in selectZExt() 250 BuildMI(MBB, I, I.getDebugLoc(), TII.get(TargetOpcode::INSERT_SUBREG), in selectZExt() 257 BuildMI(MBB, I, I.getDebugLoc(), TII.get(PPC::RLDICL), DstReg) in selectZExt() 296 return BuildMI(MBB, I, I.getDebugLoc(), TII.get(PPC::LI8), Reg) in selectI64ImmDirect() 302 return BuildMI(MBB, I, I.getDebugLoc(), TII.get(PPC::LIS8), Reg) in selectI64ImmDirect() 317 if (!BuildMI(MBB, I, I.getDebugLoc(), TII.get(Opcode), TmpReg) in selectI64ImmDirect() 321 return BuildMI(MBB, I, I.getDebugLoc(), TII.get(PPC::ORI8), Reg) in selectI64ImmDirect() 334 if (!BuildMI(MBB, I, I.getDebugLoc(), TII.get(PPC::LI8), TmpReg) in selectI64ImmDirect() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Mips/ |
| H A D | MipsInstructionSelector.cpp | 261 BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(Opc)) in buildUnalignedStore() 275 BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(Opc)) in buildUnalignedLoad() 301 MachineInstr *Mul = BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::MUL)) in select() 325 PseudoMULTu = BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::PseudoMULTu)) in select() 332 PseudoMove = BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::PseudoMFHI)) in select() 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() 374 MachineInstr *SLL = BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::SLL)) in select() 382 MachineInstr *ADDu = BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::ADDu)) 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(), TII->get(SltOpc)).addReg(regX).addImm(Imm); in emitFEXT_CCRXI16_ins() [all …]
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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 | 577 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(), in ExpandVLD() 698 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(), in ExpandVST() 775 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(), in ExpandLaneOp() 860 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(Opc)); in ExpandVTBL() 899 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(NewOpc)); in ExpandMQQPRLoadStore() 996 LO16 = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(ARM::MOVi), DstReg); in ExpandMOV32BitImm() 997 HI16 = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(ARM::ORRri)) in ExpandMOV32BitImm() 1003 LO16 = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(ARM::MVNi), DstReg); in ExpandMOV32BitImm() 1004 HI16 = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(ARM::SUBri)) in ExpandMOV32BitImm() 1039 LO16 = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(LO16Opc), DstReg); in ExpandMOV32BitImm() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/MSP430/ |
| H A D | MSP430FrameLowering.cpp | 49 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); in emitPrologue() 85 DL = MBBI->getDebugLoc(); in emitPrologue() 114 DebugLoc DL = MBBI->getDebugLoc(); in emitEpilogue() 147 DL = MBBI->getDebugLoc(); in emitEpilogue() 185 if (MI != MBB.end()) DL = MI->getDebugLoc(); in spillCalleeSavedRegisters() 209 if (MI != MBB.end()) DL = MI->getDebugLoc(); in restoreCalleeSavedRegisters() 241 BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::SUB16ri), MSP430::SP) in eliminateCallFramePseudoInstr() 249 New = BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::ADD16ri), in eliminateCallFramePseudoInstr() 269 BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::SUB16ri), MSP430::SP) in eliminateCallFramePseudoInstr()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/ |
| H A D | AArch64ExpandPseudoInsts.cpp | 151 MIBS.push_back(BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(I->Opcode)) in expandMOVImm() 161 MIBS.push_back(BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(I->Opcode)) in expandMOVImm() 172 MIBS.push_back(BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(I->Opcode)) in expandMOVImm() 568 PRFX = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(MovPrfxZero)) in expand_DestructiveOp() 582 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(LSLZero)) in expand_DestructiveOp() 590 PRFX = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(MovPrfx)) in expand_DestructiveOp() 599 DOP = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(Opcode)) in expand_DestructiveOp() 638 DebugLoc DL = MI.getDebugLoc(); in expandSetTagLoop() 719 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(Opc)) in expandSVESpillFill() 746 OriginalCall = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(Opc)).getInstr(); in expandCALL_RVMARKER() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | MachineDebugify.cpp | 75 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()
|
| H A D | XRayInstrumentation.cpp | 109 auto MIB = BuildMI(MBB, T, T.getDebugLoc(), TII->get(Opc)) in replaceRetWithPatchableRet() 140 BuildMI(MBB, T, T.getDebugLoc(), TII->get(Opc)); in prependRetWithPatchableExit() 219 BuildMI(FirstMBB, FirstMI, FirstMI.getDebugLoc(), in runOnMachineFunction()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86FixupLEAs.cpp | 168 BuildMI(MBB, MBBI, MI.getDebugLoc(), in INITIALIZE_PASS() 532 NewMI1 = BuildMI(MBB, InsertPos, AluI->getDebugLoc(), TII->get(NewOpcode), in optLEAALU() 537 NewMI2 = BuildMI(MBB, InsertPos, AluI->getDebugLoc(), TII->get(NewOpcode), in optLEAALU() 601 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpcode), DestReg) in optTwoAddrLEA() 606 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpcode), DestReg) in optTwoAddrLEA() 623 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() 633 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpcode), DestReg) in optTwoAddrLEA() 637 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpcode), DestReg) in optTwoAddrLEA() 726 BuildMI(MBB, I, MI.getDebugLoc(), ADDrr, DstR).addReg(DstR).add(Src); in processInstructionForSlowLEA() [all …]
|
| H A D | X86InstructionSelector.cpp | 290 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectCopy() 853 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectZext() 857 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectZext() 865 *BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(AndOpc), DstReg) in selectZext() 919 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectAnyext() 967 *BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(OpCmp)) in selectCmp() 971 MachineInstr &SetInst = *BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectCmp() 1027 *BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(OpCmp)) in selectFCmp() 1033 MachineInstr &Set1 = *BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectFCmp() 1035 MachineInstr &Set2 = *BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectFCmp() [all …]
|
| H A D | X86ReturnThunks.cpp | 86 BuildMI(Ret->getParent(), Ret->getDebugLoc(), CS); in runOnMachineFunction() 87 BuildMI(Ret->getParent(), Ret->getDebugLoc(), JMP) in runOnMachineFunction()
|
| H A D | X86FixupSetCC.cpp | 115 BuildMI(MBB, FlagsDefMI, MI.getDebugLoc(), TII->get(X86::MOV32r0), in runOnMachineFunction() 120 BuildMI(*ZExt->getParent(), ZExt, ZExt->getDebugLoc(), in runOnMachineFunction()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVInstructionSelector.cpp | 287 auto MIB = BuildMI(BB, I, I.getDebugLoc(), TII.get(SPIRV::OpVectorShuffle)) in spvSelect() 447 auto MIB = BuildMI(BB, I, I.getDebugLoc(), TII.get(SPIRV::OpSpecConstantOp)) in spvSelect() 517 auto MIB = BuildMI(BB, I, I.getDebugLoc(), TII.get(SPIRV::OpExtInst)) in selectExtInst() 536 return BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(Opcode)) in selectUnOpWithSrc() 596 auto MIB = BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(SPIRV::OpLoad)) in selectLoad() 615 auto MIB = BuildMI(BB, I, I.getDebugLoc(), TII.get(SPIRV::OpStore)) in selectStore() 649 BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(SPIRV::OpVariable)) in selectMemOperation() 660 auto MIB = BuildMI(BB, I, I.getDebugLoc(), TII.get(SPIRV::OpCopyMemorySized)) in selectMemOperation() 668 BuildMI(BB, I, I.getDebugLoc(), TII.get(TargetOpcode::COPY), ResVReg) in selectMemOperation() 690 return BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(NewOpcode)) in selectAtomicRMW() [all …]
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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() 332 BuildMI(*MBB, InsertPos, Op.getNode()->getDebugLoc(), in AddRegisterOperand() 399 BuildMI(*MBB, InsertPos, Op.getNode()->getDebugLoc(), in AddOperand() 525 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), in EmitSubregNode() 535 Node->isDivergent(), Node->getDebugLoc()); in EmitSubregNode() 542 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), in EmitSubregNode() 580 BuildMI(*MF, Node->getDebugLoc(), TII->get(Opc), VRBase); in EmitSubregNode() 618 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), TII->get(TargetOpcode::COPY), in EmitCopyToRegClassNode() 636 MachineInstrBuilder MIB = BuildMI(*MF, Node->getDebugLoc(), II, NewVReg); in EmitRegSequence() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | MergedLoadStoreMotion.cpp | 216 NewPN->applyMergedLocation(S0->getDebugLoc(), S1->getDebugLoc()); in getPHIOperand() 254 S0->applyMergedLocation(S0->getDebugLoc(), S1->getDebugLoc()); in sinkStoresAndGEPs() 271 GEPNew->applyMergedLocation(GEP0->getDebugLoc(), GEP1->getDebugLoc()); in sinkStoresAndGEPs()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/BPF/ |
| H A D | BPFRegisterInfo.cpp | 65 DebugLoc DL = MI.getDebugLoc(); in eliminateFrameIndex() 70 if (I.getDebugLoc()) { in eliminateFrameIndex() 71 DL = I.getDebugLoc(); in eliminateFrameIndex()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | SIFixSGPRCopies.cpp | 314 BuildMI(*MI.getParent(), &MI, MI.getDebugLoc(), TII->get(AMDGPU::COPY), in foldVGPRCopyIntoRegSequence() 323 BuildMI(*MI.getParent(), &MI, MI.getDebugLoc(), TII->get(Opc), in foldVGPRCopyIntoRegSequence() 667 PointToInsertCopy->getDebugLoc(), in runOnMachineFunction() 736 BuildMI(*MI.getParent(), MI, MI.getDebugLoc(), in runOnMachineFunction() 845 BuildMI(*MI.getParent(), MI, MI.getDebugLoc(), in lowerSpecialCase() 859 BuildMI(*MI.getParent(), MI, MI.getDebugLoc(), TII->get(MoveOp), in lowerSpecialCase() 1037 auto MIB = BuildMI(*MBB, MI, MI->getDebugLoc(), in lowerVGPR2SGPRCopies() 1041 auto MIB = BuildMI(*MBB, MI, MI->getDebugLoc(), in lowerVGPR2SGPRCopies() 1045 auto Result = BuildMI(*MBB, MI, MI->getDebugLoc(), in lowerVGPR2SGPRCopies() 1054 BuildMI(*MBB, *Result, Result->getDebugLoc(), in lowerVGPR2SGPRCopies() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLateEHPrepare.cpp | 218 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| H A D | PPCCTRLoops.cpp | 269 BuildMI(*Exiting, Dec, Dec->getDebugLoc(), TII->get(ADDIOpcode), ADDIDef) in expandNormalLoops() 301 BuildMI(*Exiting, Dec, Dec->getDebugLoc(), TII->get(CMPOpcode), CMPDef) in expandNormalLoops() 305 BuildMI(*Exiting, Dec, Dec->getDebugLoc(), TII->get(TargetOpcode::COPY), in expandNormalLoops() 352 BuildMI(*Exiting, &*BrInstr, BrInstr->getDebugLoc(), TII->get(Opcode)) in expandCTRLoops()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/ |
| H A D | SystemZPostRewrite.cpp | 115 BuildMI(*MBBI->getParent(), MBBI, MBBI->getDebugLoc(), in selectSELRMux() 122 BuildMI(*MBBI->getParent(), MBBI, MBBI->getDebugLoc(), in selectSELRMux() 156 DebugLoc DL = MI.getDebugLoc(); in expandCondMove() 221 BuildMI(MBB, &MI, MI.getDebugLoc(), TII->get(SystemZ::COPY), DstReg) in selectMI()
|