Home
last modified time | relevance | path

Searched refs:DwarfReg (Results 1 – 20 of 20) sorted by relevance

/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfExpression.cpp25 void DwarfExpression::AddReg(int DwarfReg, const char *Comment) { in AddReg() argument
26 assert(DwarfReg >= 0 && "invalid negative dwarf register number"); in AddReg()
27 if (DwarfReg < 32) { in AddReg()
28 EmitOp(dwarf::DW_OP_reg0 + DwarfReg, Comment); in AddReg()
31 EmitUnsigned(DwarfReg); in AddReg()
35 void DwarfExpression::AddRegIndirect(int DwarfReg, int Offset, bool Deref) { in AddRegIndirect() argument
36 assert(DwarfReg >= 0 && "invalid negative dwarf register number"); in AddRegIndirect()
37 if (DwarfReg < 32) { in AddRegIndirect()
38 EmitOp(dwarf::DW_OP_breg0 + DwarfReg); in AddRegIndirect()
41 EmitUnsigned(DwarfReg); in AddRegIndirect()
[all …]
DDwarfExpression.h51 void AddReg(int DwarfReg, const char *Comment = nullptr);
53 void AddRegIndirect(int DwarfReg, int Offset, bool Deref = false);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfExpression.cpp27 void DwarfExpression::addReg(int DwarfReg, const char *Comment) { in addReg() argument
28 assert(DwarfReg >= 0 && "invalid negative dwarf register number"); in addReg()
32 if (DwarfReg < 32) { in addReg()
33 emitOp(dwarf::DW_OP_reg0 + DwarfReg, Comment); in addReg()
36 emitUnsigned(DwarfReg); in addReg()
40 void DwarfExpression::addBReg(int DwarfReg, int Offset) { in addBReg() argument
41 assert(DwarfReg >= 0 && "invalid negative dwarf register number"); in addBReg()
43 if (DwarfReg < 32) { in addBReg()
44 emitOp(dwarf::DW_OP_breg0 + DwarfReg); in addBReg()
47 emitUnsigned(DwarfReg); in addBReg()
DDwarfExpression.h147 void addReg(int DwarfReg, const char *Comment = nullptr);
150 void addBReg(int DwarfReg, int Offset);
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCRegisterInfo.h166 void mapLLVMRegToDwarfReg(unsigned LLVMReg, int DwarfReg, bool isEH) { in mapLLVMRegToDwarfReg() argument
168 EHL2DwarfRegs[LLVMReg] = DwarfReg; in mapLLVMRegToDwarfReg()
170 L2DwarfRegs[LLVMReg] = DwarfReg; in mapLLVMRegToDwarfReg()
176 void mapDwarfRegToLLVMReg(unsigned DwarfReg, unsigned LLVMReg, bool isEH) { in mapDwarfRegToLLVMReg() argument
178 EHDwarf2LRegs[DwarfReg] = LLVMReg; in mapDwarfRegToLLVMReg()
180 Dwarf2LRegs[DwarfReg] = LLVMReg; in mapDwarfRegToLLVMReg()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZFrameLowering.cpp457 unsigned DwarfReg = MRI->getDwarfRegNum(Reg, true); in emitPrologue() local
463 nullptr, DwarfReg, SPOffsetFromCFA + Offset)); in emitPrologue()
/external/llvm/lib/Target/SystemZ/
DSystemZFrameLowering.cpp420 unsigned DwarfReg = MRI->getDwarfRegNum(Reg, true); in emitPrologue() local
426 nullptr, DwarfReg, SPOffsetFromCFA + Offset)); in emitPrologue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineOperand.cpp407 static void printCFIRegister(unsigned DwarfReg, raw_ostream &OS, in printCFIRegister() argument
410 OS << "%dwarfreg." << DwarfReg; in printCFIRegister()
414 int Reg = TRI->getLLVMRegNum(DwarfReg, true); in printCFIRegister()
/external/llvm/lib/Target/AArch64/
DAArch64FrameLowering.cpp221 unsigned DwarfReg = MRI->getDwarfRegNum(Reg, true); in emitCalleeSavedFrameMoves() local
223 MCCFIInstruction::createOffset(nullptr, DwarfReg, Offset)); in emitCalleeSavedFrameMoves()
/external/llvm/lib/Target/ARM/
DARMFrameLowering.cpp594 unsigned DwarfReg = MRI->getDwarfRegNum(Reg, true); in emitPrologue() local
597 MCCFIInstruction::createOffset(nullptr, DwarfReg, Offset)); in emitPrologue()
616 unsigned DwarfReg = MRI->getDwarfRegNum(Reg, true); in emitPrologue() local
619 MCCFIInstruction::createOffset(nullptr, DwarfReg, Offset)); in emitPrologue()
/external/llvm/lib/CodeGen/
DMIRPrinter.cpp945 static void printCFIRegister(unsigned DwarfReg, raw_ostream &OS, in printCFIRegister() argument
947 int Reg = TRI->getLLVMRegNum(DwarfReg, true); in printCFIRegister()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMFrameLowering.cpp662 unsigned DwarfReg = MRI->getDwarfRegNum(Reg, true); in emitPrologue() local
665 MCCFIInstruction::createOffset(nullptr, DwarfReg, Offset)); in emitPrologue()
684 unsigned DwarfReg = MRI->getDwarfRegNum(Reg, true); in emitPrologue() local
687 MCCFIInstruction::createOffset(nullptr, DwarfReg, Offset)); in emitPrologue()
/external/llvm/lib/CodeGen/MIRParser/
DMIParser.cpp1298 int DwarfReg = TRI->getDwarfRegNum(LLVMReg, true); in parseCFIRegister() local
1299 if (DwarfReg < 0) in parseCFIRegister()
1301 Reg = (unsigned)DwarfReg; in parseCFIRegister()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64FrameLowering.cpp300 unsigned DwarfReg = MRI->getDwarfRegNum(Reg, true); in emitCalleeSavedFrameMoves() local
302 MCCFIInstruction::createOffset(nullptr, DwarfReg, Offset)); in emitCalleeSavedFrameMoves()
DAArch64InstrInfo.cpp5444 unsigned DwarfReg = MRI->getDwarfRegNum(AArch64::LR, true); in buildOutlinedFrame() local
5456 MF.addFrameInst(MCCFIInstruction::createOffset(nullptr, DwarfReg, 16)); in buildOutlinedFrame()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/MIRParser/
DMIParser.cpp1677 int DwarfReg = TRI->getDwarfRegNum(LLVMReg, true); in parseCFIRegister() local
1678 if (DwarfReg < 0) in parseCFIRegister()
1680 Reg = (unsigned)DwarfReg; in parseCFIRegister()
/external/llvm/lib/Target/Hexagon/
DHexagonFrameLowering.cpp814 unsigned DwarfReg = HRI.getDwarfRegNum(Reg, true); in insertCFIInstructionsAt() local
815 auto OffReg = MCCFIInstruction::createOffset(FrameLabel, DwarfReg, in insertCFIInstructionsAt()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonFrameLowering.cpp934 unsigned DwarfReg = HRI.getDwarfRegNum(Reg, true); in insertCFIInstructionsAt() local
935 auto OffReg = MCCFIInstruction::createOffset(FrameLabel, DwarfReg, in insertCFIInstructionsAt()
/external/llvm/lib/Target/X86/
DX86FrameLowering.cpp442 unsigned DwarfReg = MRI->getDwarfRegNum(Reg, true); in emitCalleeSavedFrameMoves() local
444 MCCFIInstruction::createOffset(nullptr, DwarfReg, Offset)); in emitCalleeSavedFrameMoves()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86FrameLowering.cpp478 unsigned DwarfReg = MRI->getDwarfRegNum(Reg, true); in emitCalleeSavedFrameMoves() local
480 MCCFIInstruction::createOffset(nullptr, DwarfReg, Offset)); in emitCalleeSavedFrameMoves()