Home
last modified time | relevance | path

Searched refs:MachineLocation (Results 1 – 25 of 37) sorted by relevance

12

/external/llvm/include/llvm/MC/
DMachineLocation.h27 class MachineLocation {
38 MachineLocation() in MachineLocation() function
40 explicit MachineLocation(unsigned R) in MachineLocation() function
42 MachineLocation(unsigned R, int O) in MachineLocation() function
45 bool operator==(const MachineLocation &Other) const {
82 MachineLocation Destination, Source;
86 MachineMove(MCSymbol *label, const MachineLocation &D, in MachineMove()
87 const MachineLocation &S) in MachineMove()
92 const MachineLocation &getDestination() const { return Destination; } in getDestination()
93 const MachineLocation &getSource() const { return Source; } in getSource()
DMCAsmInfo.h570 void addInitialFrameState(MCSymbol *label, const MachineLocation &D, in addInitialFrameState()
571 const MachineLocation &S) { in addInitialFrameState()
/external/llvm/lib/Target/Mips/
DMips16FrameLowering.cpp44 MachineLocation DstML, SrcML; in emitPrologue()
53 DstML = MachineLocation(MachineLocation::VirtualFP); in emitPrologue()
54 SrcML = MachineLocation(MachineLocation::VirtualFP, -StackSize); in emitPrologue()
60 DstML = MachineLocation(MachineLocation::VirtualFP, -8); in emitPrologue()
61 SrcML = MachineLocation(Mips::S1); in emitPrologue()
64 DstML = MachineLocation(MachineLocation::VirtualFP, -12); in emitPrologue()
65 SrcML = MachineLocation(Mips::S0); in emitPrologue()
68 DstML = MachineLocation(MachineLocation::VirtualFP, -4); in emitPrologue()
69 SrcML = MachineLocation(Mips::RA); in emitPrologue()
DMipsSEFrameLowering.cpp66 MachineLocation DstML, SrcML; in emitPrologue()
75 DstML = MachineLocation(MachineLocation::VirtualFP); in emitPrologue()
76 SrcML = MachineLocation(MachineLocation::VirtualFP, -StackSize); in emitPrologue()
101 MachineLocation DstML0(MachineLocation::VirtualFP, Offset); in emitPrologue()
102 MachineLocation DstML1(MachineLocation::VirtualFP, Offset + 4); in emitPrologue()
103 MachineLocation SrcML0(RegInfo->getSubReg(Reg, Mips::sub_fpeven)); in emitPrologue()
104 MachineLocation SrcML1(RegInfo->getSubReg(Reg, Mips::sub_fpodd)); in emitPrologue()
113 DstML = MachineLocation(MachineLocation::VirtualFP, Offset); in emitPrologue()
114 SrcML = MachineLocation(Reg); in emitPrologue()
138 DstML = MachineLocation(MachineLocation::VirtualFP, Offset); in emitPrologue()
[all …]
/external/llvm/lib/Target/XCore/
DXCoreFrameLowering.cpp141 MachineLocation SPDst(MachineLocation::VirtualFP); in emitPrologue()
142 MachineLocation SPSrc(MachineLocation::VirtualFP, -FrameSize * 4); in emitPrologue()
146 MachineLocation CSDst(MachineLocation::VirtualFP, 0); in emitPrologue()
147 MachineLocation CSSrc(XCore::LR); in emitPrologue()
159 MachineLocation CSDst(MachineLocation::VirtualFP, LRSpillOffset); in emitPrologue()
160 MachineLocation CSSrc(XCore::LR); in emitPrologue()
175 MachineLocation CSDst(MachineLocation::VirtualFP, FPSpillOffset); in emitPrologue()
176 MachineLocation CSSrc(XCore::R10); in emitPrologue()
187 MachineLocation SPDst(FramePtr); in emitPrologue()
188 MachineLocation SPSrc(MachineLocation::VirtualFP); in emitPrologue()
[all …]
DXCoreAsmPrinter.cpp86 virtual MachineLocation getDebugValueLocation(const MachineInstr *MI) const;
287 MachineLocation XCoreAsmPrinter::
293 return MachineLocation(MI->getOperand(0).getReg(), in getDebugValueLocation()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterDwarf.cpp176 const MachineLocation &Dst = Move.getDestination(); in EmitCFIFrameMove()
177 const MachineLocation &Src = Move.getSource(); in EmitCFIFrameMove()
180 if (Dst.isReg() && Dst.getReg() == MachineLocation::VirtualFP) { in EmitCFIFrameMove()
181 if (Src.getReg() == MachineLocation::VirtualFP) { in EmitCFIFrameMove()
188 } else if (Src.isReg() && Src.getReg() == MachineLocation::VirtualFP) { in EmitCFIFrameMove()
DDwarfCompileUnit.h27 class MachineLocation; variable
263 const MachineLocation &Location);
289 const MachineLocation &Location);
299 const MachineLocation &Location);
303 void addVariableAddress(DbgVariable *&DV, DIE *Die, MachineLocation Location);
/external/llvm/lib/Target/AArch64/
DAArch64FrameLowering.cpp99 MachineLocation Dst(MachineLocation::VirtualFP); in emitPrologue()
100 MachineLocation Src(AArch64::XSP, NumInitialBytes); in emitPrologue()
134 MachineLocation Dst(MachineLocation::VirtualFP); in emitPrologue()
135 MachineLocation Src(AArch64::X29, -MFI->getObjectOffset(X29FrameIdx)); in emitPrologue()
166 MachineLocation Dst(MachineLocation::VirtualFP); in emitPrologue()
167 MachineLocation Src(AArch64::XSP, NumResidualBytes + NumInitialBytes); in emitPrologue()
183 MachineLocation Dst(MachineLocation::VirtualFP, in emitPrologue()
185 MachineLocation Src(I->getReg()); in emitPrologue()
DAArch64AsmPrinter.h70 MachineLocation getDebugValueLocation(const MachineInstr *MI) const;
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCTargetDesc.cpp61 MachineLocation Dst(MachineLocation::VirtualFP); in createHexagonMCAsmInfo()
62 MachineLocation Src(Hexagon::R30, 0); in createHexagonMCAsmInfo()
/external/llvm/lib/Target/Hexagon/
DHexagonFrameLowering.cpp123 MachineLocation Dst(MachineLocation::VirtualFP); in emitPrologue()
124 MachineLocation Src(FPReg, -8); in emitPrologue()
128 MachineLocation LRDst(RAReg, -4); in emitPrologue()
129 MachineLocation LRSrc(RAReg); in emitPrologue()
133 MachineLocation SPDst(FPReg, -8); in emitPrologue()
134 MachineLocation SPSrc(FPReg); in emitPrologue()
DHexagonRegisterInfo.cpp289 MachineLocation Dst(MachineLocation::VirtualFP); in getInitialFrameState()
290 MachineLocation Src(FPReg, 0); in getInitialFrameState()
/external/llvm/lib/Target/XCore/MCTargetDesc/
DXCoreMCTargetDesc.cpp58 MachineLocation Dst(MachineLocation::VirtualFP); in createXCoreMCAsmInfo()
59 MachineLocation Src(XCore::SP, 0); in createXCoreMCAsmInfo()
/external/llvm/lib/Target/X86/
DX86FrameLowering.cpp363 MachineLocation CSDst(MachineLocation::VirtualFP, Offset); in emitCalleeSavedFrameMoves()
364 MachineLocation CSSrc(Reg); in emitCalleeSavedFrameMoves()
771 MachineLocation SPDst(MachineLocation::VirtualFP); in emitPrologue()
772 MachineLocation SPSrc(MachineLocation::VirtualFP, 2 * stackGrowth); in emitPrologue()
775 MachineLocation SPDst(StackPtr); in emitPrologue()
776 MachineLocation SPSrc(StackPtr, stackGrowth); in emitPrologue()
781 MachineLocation FPDst(MachineLocation::VirtualFP, 2 * stackGrowth); in emitPrologue()
782 MachineLocation FPSrc(FramePtr); in emitPrologue()
799 MachineLocation FPDst(FramePtr); in emitPrologue()
800 MachineLocation FPSrc(MachineLocation::VirtualFP); in emitPrologue()
[all …]
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCTargetDesc.cpp72 MachineLocation Dst(MachineLocation::VirtualFP); in createPPCMCAsmInfo()
73 MachineLocation Src(isPPC64? PPC::X1 : PPC::R1, 0); in createPPCMCAsmInfo()
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCTargetDesc.cpp64 MachineLocation Dst(MachineLocation::VirtualFP); in createAArch64MCAsmInfo()
65 MachineLocation Src(AArch64::XSP, 0); in createAArch64MCAsmInfo()
/external/llvm/lib/Target/PowerPC/
DPPCFrameLowering.cpp483 MachineLocation SPDst(MachineLocation::VirtualFP); in emitPrologue()
484 MachineLocation SPSrc(MachineLocation::VirtualFP, NegFrameSize); in emitPrologue()
487 MachineLocation SP(isPPC64 ? PPC::X31 : PPC::R31); in emitPrologue()
492 MachineLocation FPDst(MachineLocation::VirtualFP, FPOffset); in emitPrologue()
493 MachineLocation FPSrc(isPPC64 ? PPC::X31 : PPC::R31); in emitPrologue()
498 MachineLocation LRDst(MachineLocation::VirtualFP, LROffset); in emitPrologue()
499 MachineLocation LRSrc(isPPC64 ? PPC::LR8 : PPC::LR); in emitPrologue()
524 MachineLocation FPDst(HasFP ? (isPPC64 ? PPC::X31 : PPC::R31) : in emitPrologue()
526 MachineLocation FPSrc(MachineLocation::VirtualFP); in emitPrologue()
557 MachineLocation CSDst(PPC::X1, 8); in emitPrologue()
[all …]
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MCTargetDesc.cpp293 MachineLocation Dst(MachineLocation::VirtualFP); in createX86MCAsmInfo()
294 MachineLocation Src(is64Bit ? X86::RSP : X86::ESP, stackGrowth); in createX86MCAsmInfo()
298 MachineLocation CSDst(is64Bit ? X86::RSP : X86::ESP, stackGrowth); in createX86MCAsmInfo()
299 MachineLocation CSSrc(is64Bit ? X86::RIP : X86::EIP); in createX86MCAsmInfo()
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCTargetDesc.cpp99 MachineLocation Dst(MachineLocation::VirtualFP); in createMipsMCAsmInfo()
100 MachineLocation Src(Mips::SP, 0); in createMipsMCAsmInfo()
/external/llvm/lib/Target/ARM/
DARMAsmPrinter.h102 virtual MachineLocation
106 virtual void EmitDwarfRegOp(const MachineLocation &MLoc) const LLVM_OVERRIDE;
/external/llvm/include/llvm/CodeGen/
DAsmPrinter.h34 class MachineLocation; variable
403 virtual MachineLocation getDebugValueLocation(const MachineInstr *MI) const;
410 virtual void EmitDwarfRegOp(const MachineLocation &MLoc) const;
/external/llvm/lib/Target/Sparc/
DSparcAsmPrinter.cpp66 virtual MachineLocation getDebugValueLocation(const MachineInstr *MI) const;
248 MachineLocation SparcAsmPrinter::
253 return MachineLocation(MI->getOperand(0).getReg(), in getDebugValueLocation()
/external/llvm/lib/ExecutionEngine/JIT/
DJITDwarfEmitter.cpp85 const MachineLocation &Dst = Move.getDestination(); in EmitFrameMoves()
86 const MachineLocation &Src = Move.getSource(); in EmitFrameMoves()
98 if (Dst.isReg() && Dst.getReg() == MachineLocation::VirtualFP) { in EmitFrameMoves()
100 if (Src.getReg() == MachineLocation::VirtualFP) { in EmitFrameMoves()
112 Src.getReg() == MachineLocation::VirtualFP) { in EmitFrameMoves()
/external/llvm/lib/MC/
DMCDwarf.cpp874 static const MachineLocation TranslateMachineLocation( in TranslateMachineLocation()
876 const MachineLocation &Loc) { in TranslateMachineLocation()
877 unsigned Reg = Loc.getReg() == MachineLocation::VirtualFP ? in TranslateMachineLocation()
878 MachineLocation::VirtualFP : in TranslateMachineLocation()
880 const MachineLocation &NewLoc = Loc.isReg() ? in TranslateMachineLocation()
881 MachineLocation(Reg) : MachineLocation(Reg, Loc.getOffset()); in TranslateMachineLocation()
1326 const MachineLocation &Dst = in EmitCIE()
1328 const MachineLocation &Src = in EmitCIE()
1332 assert(Dst.getReg() == MachineLocation::VirtualFP); in EmitCIE()

12