/external/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfExpression.cpp | 25 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 …]
|
D | DwarfExpression.h | 51 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/ |
D | DwarfExpression.cpp | 27 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()
|
D | DwarfExpression.h | 147 void addReg(int DwarfReg, const char *Comment = nullptr); 150 void addBReg(int DwarfReg, int Offset);
|
/external/swiftshader/third_party/LLVM/include/llvm/MC/ |
D | MCRegisterInfo.h | 166 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/ |
D | SystemZFrameLowering.cpp | 457 unsigned DwarfReg = MRI->getDwarfRegNum(Reg, true); in emitPrologue() local 463 nullptr, DwarfReg, SPOffsetFromCFA + Offset)); in emitPrologue()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZFrameLowering.cpp | 420 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/ |
D | MachineOperand.cpp | 407 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/ |
D | AArch64FrameLowering.cpp | 221 unsigned DwarfReg = MRI->getDwarfRegNum(Reg, true); in emitCalleeSavedFrameMoves() local 223 MCCFIInstruction::createOffset(nullptr, DwarfReg, Offset)); in emitCalleeSavedFrameMoves()
|
/external/llvm/lib/Target/ARM/ |
D | ARMFrameLowering.cpp | 594 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/ |
D | MIRPrinter.cpp | 945 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/ |
D | ARMFrameLowering.cpp | 662 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/ |
D | MIParser.cpp | 1298 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/ |
D | AArch64FrameLowering.cpp | 300 unsigned DwarfReg = MRI->getDwarfRegNum(Reg, true); in emitCalleeSavedFrameMoves() local 302 MCCFIInstruction::createOffset(nullptr, DwarfReg, Offset)); in emitCalleeSavedFrameMoves()
|
D | AArch64InstrInfo.cpp | 5444 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/ |
D | MIParser.cpp | 1677 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/ |
D | HexagonFrameLowering.cpp | 814 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/ |
D | HexagonFrameLowering.cpp | 934 unsigned DwarfReg = HRI.getDwarfRegNum(Reg, true); in insertCFIInstructionsAt() local 935 auto OffReg = MCCFIInstruction::createOffset(FrameLabel, DwarfReg, in insertCFIInstructionsAt()
|
/external/llvm/lib/Target/X86/ |
D | X86FrameLowering.cpp | 442 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/ |
D | X86FrameLowering.cpp | 478 unsigned DwarfReg = MRI->getDwarfRegNum(Reg, true); in emitCalleeSavedFrameMoves() local 480 MCCFIInstruction::createOffset(nullptr, DwarfReg, Offset)); in emitCalleeSavedFrameMoves()
|