| /freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MC/ |
| HD | MCDwarf.h | 435 class MCCFIInstruction { 466 MCCFIInstruction(OpType Op, MCSymbol *L, unsigned R, int O, StringRef V) in MCCFIInstruction() function 472 MCCFIInstruction(OpType Op, MCSymbol *L, unsigned R1, unsigned R2) in MCCFIInstruction() function 480 static MCCFIInstruction createDefCfa(MCSymbol *L, unsigned Register, in createDefCfa() 482 return MCCFIInstruction(OpDefCfa, L, Register, -Offset, ""); in createDefCfa() 487 static MCCFIInstruction createDefCfaRegister(MCSymbol *L, unsigned Register) { in createDefCfaRegister() 488 return MCCFIInstruction(OpDefCfaRegister, L, Register, 0, ""); in createDefCfaRegister() 494 static MCCFIInstruction createDefCfaOffset(MCSymbol *L, int Offset) { in createDefCfaOffset() 495 return MCCFIInstruction(OpDefCfaOffset, L, 0, -Offset, ""); in createDefCfaOffset() 501 static MCCFIInstruction createAdjustCfaOffset(MCSymbol *L, int Adjustment) { in createAdjustCfaOffset() [all …]
|
| HD | MCAsmInfo.h | 26 class MCCFIInstruction; variable 374 std::vector<MCCFIInstruction> InitialFrameState; 633 void addInitialFrameState(const MCCFIInstruction &Inst); 635 const std::vector<MCCFIInstruction> &getInitialFrameState() const { in getInitialFrameState()
|
| HD | MCAsmBackend.h | 25 class MCCFIInstruction; variable 192 generateCompactUnwindEncoding(ArrayRef<MCCFIInstruction>) const { in generateCompactUnwindEncoding() argument
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
| HD | CFIInstrInserter.cpp | 162 const std::vector<MCCFIInstruction> &Instrs = in calculateOutgoingCFAInfo() 169 const MCCFIInstruction &CFI = Instrs[CFIIndex]; in calculateOutgoingCFAInfo() 171 case MCCFIInstruction::OpDefCfaRegister: in calculateOutgoingCFAInfo() 174 case MCCFIInstruction::OpDefCfaOffset: in calculateOutgoingCFAInfo() 177 case MCCFIInstruction::OpAdjustCfaOffset: in calculateOutgoingCFAInfo() 180 case MCCFIInstruction::OpDefCfa: in calculateOutgoingCFAInfo() 184 case MCCFIInstruction::OpRememberState: in calculateOutgoingCFAInfo() 192 case MCCFIInstruction::OpRestoreState: in calculateOutgoingCFAInfo() 201 case MCCFIInstruction::OpSameValue: in calculateOutgoingCFAInfo() 202 case MCCFIInstruction::OpOffset: in calculateOutgoingCFAInfo() [all …]
|
| HD | MachineOperand.cpp | 599 static void printCFI(raw_ostream &OS, const MCCFIInstruction &CFI, in printCFI() 602 case MCCFIInstruction::OpSameValue: in printCFI() 608 case MCCFIInstruction::OpRememberState: in printCFI() 613 case MCCFIInstruction::OpRestoreState: in printCFI() 618 case MCCFIInstruction::OpOffset: in printCFI() 625 case MCCFIInstruction::OpDefCfaRegister: in printCFI() 631 case MCCFIInstruction::OpDefCfaOffset: in printCFI() 637 case MCCFIInstruction::OpDefCfa: in printCFI() 644 case MCCFIInstruction::OpRelOffset: in printCFI() 651 case MCCFIInstruction::OpAdjustCfaOffset: in printCFI() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| HD | AsmPrinterDwarf.cpp | 209 void AsmPrinter::emitCFIInstruction(const MCCFIInstruction &Inst) const { in emitCFIInstruction() 213 case MCCFIInstruction::OpDefCfaOffset: in emitCFIInstruction() 216 case MCCFIInstruction::OpAdjustCfaOffset: in emitCFIInstruction() 219 case MCCFIInstruction::OpDefCfa: in emitCFIInstruction() 222 case MCCFIInstruction::OpDefCfaRegister: in emitCFIInstruction() 225 case MCCFIInstruction::OpOffset: in emitCFIInstruction() 228 case MCCFIInstruction::OpRegister: in emitCFIInstruction() 231 case MCCFIInstruction::OpWindowSave: in emitCFIInstruction() 234 case MCCFIInstruction::OpNegateRAState: in emitCFIInstruction() 237 case MCCFIInstruction::OpSameValue: in emitCFIInstruction() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/ |
| HD | MCStreamer.cpp | 433 for (const MCCFIInstruction& Inst : MAI->getInitialFrameState()) { in EmitCFIStartProc() 434 if (Inst.getOperation() == MCCFIInstruction::OpDefCfa || in EmitCFIStartProc() 435 Inst.getOperation() == MCCFIInstruction::OpDefCfaRegister) { in EmitCFIStartProc() 468 MCCFIInstruction Instruction = in EmitCFIDefCfa() 469 MCCFIInstruction::createDefCfa(Label, Register, Offset); in EmitCFIDefCfa() 479 MCCFIInstruction Instruction = in EmitCFIDefCfaOffset() 480 MCCFIInstruction::createDefCfaOffset(Label, Offset); in EmitCFIDefCfaOffset() 489 MCCFIInstruction Instruction = in EmitCFIAdjustCfaOffset() 490 MCCFIInstruction::createAdjustCfaOffset(Label, Adjustment); in EmitCFIAdjustCfaOffset() 499 MCCFIInstruction Instruction = in EmitCFIDefCfaRegister() [all …]
|
| HD | MCDwarf.cpp | 1318 void EmitCFIInstructions(ArrayRef<MCCFIInstruction> Instrs, 1320 void EmitCFIInstruction(const MCCFIInstruction &Instr); 1329 void FrameEmitterImpl::EmitCFIInstruction(const MCCFIInstruction &Instr) { in EmitCFIInstruction() 1334 case MCCFIInstruction::OpRegister: { in EmitCFIInstruction() 1346 case MCCFIInstruction::OpWindowSave: in EmitCFIInstruction() 1350 case MCCFIInstruction::OpNegateRAState: in EmitCFIInstruction() 1354 case MCCFIInstruction::OpUndefined: { in EmitCFIInstruction() 1360 case MCCFIInstruction::OpAdjustCfaOffset: in EmitCFIInstruction() 1361 case MCCFIInstruction::OpDefCfaOffset: { in EmitCFIInstruction() 1363 Instr.getOperation() == MCCFIInstruction::OpAdjustCfaOffset; in EmitCFIInstruction() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Sparc/MCTargetDesc/ |
| HD | SparcMCTargetDesc.cpp | 40 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, Reg, 0); in createSparcMCAsmInfo() 50 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, Reg, 2047); in createSparcV9MCAsmInfo()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
| HD | AArch64AsmBackend.cpp | 574 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding() 583 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncoding() 589 case MCCFIInstruction::OpDefCfa: { in generateCompactUnwindEncoding() 604 const MCCFIInstruction &LRPush = Instrs[++i]; in generateCompactUnwindEncoding() 605 assert(LRPush.getOperation() == MCCFIInstruction::OpOffset && in generateCompactUnwindEncoding() 607 const MCCFIInstruction &FPPush = Instrs[++i]; in generateCompactUnwindEncoding() 608 assert(FPPush.getOperation() == MCCFIInstruction::OpOffset && in generateCompactUnwindEncoding() 625 case MCCFIInstruction::OpDefCfaOffset: { in generateCompactUnwindEncoding() 630 case MCCFIInstruction::OpOffset: { in generateCompactUnwindEncoding() 637 const MCCFIInstruction &Inst2 = Instrs[++i]; in generateCompactUnwindEncoding() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARC/MCTargetDesc/ |
| HD | ARCMCTargetDesc.cpp | 60 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, ARC::SP, 0); in createARCMCAsmInfo()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/VE/MCTargetDesc/ |
| HD | VEMCTargetDesc.cpp | 38 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, Reg, 0); in createVEMCAsmInfo()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
| HD | RISCVMCTargetDesc.cpp | 59 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, SP, 0); in createRISCVMCAsmInfo()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/XCore/MCTargetDesc/ |
| HD | XCoreMCTargetDesc.cpp | 63 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, XCore::SP, 0); in createXCoreMCAsmInfo()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/ |
| HD | MipsMCTargetDesc.cpp | 89 MCCFIInstruction Inst = MCCFIInstruction::createDefCfaRegister(nullptr, SP); in createMipsMCAsmInfo()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
| HD | Thumb1FrameLowering.cpp | 185 MCCFIInstruction::createDefCfaOffset(nullptr, CFAOffset)); in emitPrologue() 198 MCCFIInstruction::createDefCfaOffset(nullptr, CFAOffset)); in emitPrologue() 262 MCCFIInstruction::createDefCfaOffset(nullptr, CFAOffset)); in emitPrologue() 289 unsigned CFIIndex = MF.addFrameInst(MCCFIInstruction::createOffset( in emitPrologue() 309 unsigned CFIIndex = MF.addFrameInst(MCCFIInstruction::createDefCfa( in emitPrologue() 316 MF.addFrameInst(MCCFIInstruction::createDefCfaRegister( in emitPrologue() 358 unsigned CFIIndex = MF.addFrameInst(MCCFIInstruction::createOffset( in emitPrologue() 389 MCCFIInstruction::createDefCfaOffset(nullptr, CFAOffset)); in emitPrologue()
|
| HD | ARMFrameLowering.cpp | 261 MCCFIInstruction::createDefCfaOffset(nullptr, CFAOffset)); in emitDefCFAOffsets() 602 unsigned CFIIndex = MF.addFrameInst(MCCFIInstruction::createDefCfa( in emitPrologue() 610 MF.addFrameInst(MCCFIInstruction::createDefCfaRegister( in emitPrologue() 645 CFIIndex = MF.addFrameInst(MCCFIInstruction::createOffset( in emitPrologue() 670 MCCFIInstruction::createOffset(nullptr, DwarfReg, Offset)); in emitPrologue() 692 MCCFIInstruction::createOffset(nullptr, DwarfReg, Offset)); in emitPrologue() 2368 MF.addFrameInst(MCCFIInstruction::createDefCfaOffset(nullptr, -8)); in adjustForSegmentedStacks() 2371 CFIIndex = MF.addFrameInst(MCCFIInstruction::createOffset( in adjustForSegmentedStacks() 2375 CFIIndex = MF.addFrameInst(MCCFIInstruction::createOffset( in adjustForSegmentedStacks() 2511 MF.addFrameInst(MCCFIInstruction::createDefCfaOffset(nullptr, -12)); in adjustForSegmentedStacks() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/ |
| HD | MipsSEFrameLowering.cpp | 438 MCCFIInstruction::createDefCfaOffset(nullptr, -StackSize)); in emitPrologue() 472 MCCFIInstruction::createOffset(nullptr, Reg0, Offset)); in emitPrologue() 477 MCCFIInstruction::createOffset(nullptr, Reg1, Offset + 4)); in emitPrologue() 488 MCCFIInstruction::createOffset(nullptr, Reg0, Offset)); in emitPrologue() 493 MCCFIInstruction::createOffset(nullptr, Reg1, Offset + 4)); in emitPrologue() 498 unsigned CFIIndex = MF.addFrameInst(MCCFIInstruction::createOffset( in emitPrologue() 520 MCCFIInstruction::createOffset(nullptr, Reg, Offset)); in emitPrologue() 533 unsigned CFIIndex = MF.addFrameInst(MCCFIInstruction::createDefCfaRegister( in emitPrologue()
|
| HD | Mips16FrameLowering.cpp | 66 MCCFIInstruction::createDefCfaOffset(nullptr, -StackSize)); in emitPrologue() 81 MCCFIInstruction::createOffset(nullptr, DReg, Offset)); in emitPrologue()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
| HD | X86AsmBackend.cpp | 844 generateCompactUnwindEncodingImpl(ArrayRef<MCCFIInstruction> Instrs) const { in generateCompactUnwindEncodingImpl() 863 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncodingImpl() 870 case MCCFIInstruction::OpDefCfaRegister: { in generateCompactUnwindEncodingImpl() 892 case MCCFIInstruction::OpDefCfaOffset: { in generateCompactUnwindEncodingImpl() 911 case MCCFIInstruction::OpOffset: { in generateCompactUnwindEncodingImpl() 1133 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding() 1153 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| HD | RISCVFrameLowering.cpp | 151 MCCFIInstruction::createDefCfaOffset(nullptr, -StackSize)); in emitPrologue() 169 unsigned CFIIndex = MF.addFrameInst(MCCFIInstruction::createOffset( in emitPrologue() 185 unsigned CFIIndex = MF.addFrameInst(MCCFIInstruction::createDefCfa( in emitPrologue() 204 MCCFIInstruction::createDefCfaOffset(nullptr, -MFI.getStackSize())); in emitPrologue()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
| HD | X86FrameLowering.h | 21 class MCCFIInstruction; variable 163 const DebugLoc &DL, const MCCFIInstruction &CFIInst) const;
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
| HD | ARMAsmBackend.cpp | 1093 ArrayRef<MCCFIInstruction> Instrs) const { in generateCompactUnwindEncoding() 1110 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncoding() 1112 case MCCFIInstruction::OpDefCfa: // DW_CFA_def_cfa in generateCompactUnwindEncoding() 1116 case MCCFIInstruction::OpDefCfaOffset: // DW_CFA_def_cfa_offset in generateCompactUnwindEncoding() 1119 case MCCFIInstruction::OpDefCfaRegister: // DW_CFA_def_cfa_register in generateCompactUnwindEncoding() 1122 case MCCFIInstruction::OpOffset: // DW_CFA_offset in generateCompactUnwindEncoding() 1136 case MCCFIInstruction::OpRelOffset: // DW_CFA_advance_loc in generateCompactUnwindEncoding()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARC/ |
| HD | ARCFrameLowering.cpp | 200 MCCFIInstruction::createDefCfaOffset(nullptr, -MFI.getStackSize())); in emitPrologue() 207 CFIIndex = MF.addFrameInst(MCCFIInstruction::createOffset( in emitPrologue() 216 CFIIndex = MF.addFrameInst(MCCFIInstruction::createOffset( in emitPrologue() 229 CFIIndex = MF.addFrameInst(MCCFIInstruction::createOffset( in emitPrologue()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Sparc/ |
| HD | SparcFrameLowering.cpp | 162 MF.addFrameInst(MCCFIInstruction::createDefCfaRegister(nullptr, regFP)); in emitPrologue() 167 CFIIndex = MF.addFrameInst(MCCFIInstruction::createWindowSave(nullptr)); in emitPrologue() 175 MCCFIInstruction::createRegister(nullptr, regOutRA, regInRA)); in emitPrologue()
|