Home
last modified time | relevance | path

Searched refs:MCCFIInstruction (Results 1 – 25 of 38) sorted by relevance

12

/external/llvm/include/llvm/MC/
DMCDwarf.h327 class MCCFIInstruction {
357 MCCFIInstruction(OpType Op, MCSymbol *L, unsigned R, int O, StringRef V) in MCCFIInstruction() function
363 MCCFIInstruction(OpType Op, MCSymbol *L, unsigned R1, unsigned R2) in MCCFIInstruction() function
371 static MCCFIInstruction createDefCfa(MCSymbol *L, unsigned Register, in createDefCfa()
373 return MCCFIInstruction(OpDefCfa, L, Register, -Offset, ""); in createDefCfa()
378 static MCCFIInstruction createDefCfaRegister(MCSymbol *L, unsigned Register) { in createDefCfaRegister()
379 return MCCFIInstruction(OpDefCfaRegister, L, Register, 0, ""); in createDefCfaRegister()
385 static MCCFIInstruction createDefCfaOffset(MCSymbol *L, int Offset) { in createDefCfaOffset()
386 return MCCFIInstruction(OpDefCfaOffset, L, 0, -Offset, ""); in createDefCfaOffset()
392 static MCCFIInstruction createAdjustCfaOffset(MCSymbol *L, int Adjustment) { in createAdjustCfaOffset()
[all …]
DMCAsmInfo.h344 std::vector<MCCFIInstruction> InitialFrameState;
543 void addInitialFrameState(const MCCFIInstruction &Inst) { in addInitialFrameState()
547 const std::vector<MCCFIInstruction> &getInitialFrameState() const { in getInitialFrameState()
/external/llvm/lib/MC/
DMCStreamer.cpp226 for (const MCCFIInstruction& Inst : MAI->getInitialFrameState()) { in EmitCFIStartProc()
227 if (Inst.getOperation() == MCCFIInstruction::OpDefCfa || in EmitCFIStartProc()
228 Inst.getOperation() == MCCFIInstruction::OpDefCfaRegister) { in EmitCFIStartProc()
261 MCCFIInstruction Instruction = in EmitCFIDefCfa()
262 MCCFIInstruction::createDefCfa(Label, Register, Offset); in EmitCFIDefCfa()
270 MCCFIInstruction Instruction = in EmitCFIDefCfaOffset()
271 MCCFIInstruction::createDefCfaOffset(Label, Offset); in EmitCFIDefCfaOffset()
278 MCCFIInstruction Instruction = in EmitCFIAdjustCfaOffset()
279 MCCFIInstruction::createAdjustCfaOffset(Label, Adjustment); in EmitCFIAdjustCfaOffset()
286 MCCFIInstruction Instruction = in EmitCFIDefCfaRegister()
[all …]
DMCDwarf.cpp1017 void EmitCFIInstructions(ArrayRef<MCCFIInstruction> Instrs,
1019 void EmitCFIInstruction(const MCCFIInstruction &Instr);
1028 void FrameEmitterImpl::EmitCFIInstruction(const MCCFIInstruction &Instr) { in EmitCFIInstruction()
1033 case MCCFIInstruction::OpRegister: { in EmitCFIInstruction()
1045 case MCCFIInstruction::OpWindowSave: { in EmitCFIInstruction()
1049 case MCCFIInstruction::OpUndefined: { in EmitCFIInstruction()
1055 case MCCFIInstruction::OpAdjustCfaOffset: in EmitCFIInstruction()
1056 case MCCFIInstruction::OpDefCfaOffset: { in EmitCFIInstruction()
1058 Instr.getOperation() == MCCFIInstruction::OpAdjustCfaOffset; in EmitCFIInstruction()
1071 case MCCFIInstruction::OpDefCfa: { in EmitCFIInstruction()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterDwarf.cpp212 void AsmPrinter::emitCFIInstruction(const MCCFIInstruction &Inst) const { in emitCFIInstruction()
216 case MCCFIInstruction::OpDefCfaOffset: in emitCFIInstruction()
219 case MCCFIInstruction::OpAdjustCfaOffset: in emitCFIInstruction()
222 case MCCFIInstruction::OpDefCfa: in emitCFIInstruction()
225 case MCCFIInstruction::OpDefCfaRegister: in emitCFIInstruction()
228 case MCCFIInstruction::OpOffset: in emitCFIInstruction()
231 case MCCFIInstruction::OpRegister: in emitCFIInstruction()
234 case MCCFIInstruction::OpWindowSave: in emitCFIInstruction()
237 case MCCFIInstruction::OpSameValue: in emitCFIInstruction()
240 case MCCFIInstruction::OpGnuArgsSize: in emitCFIInstruction()
[all …]
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AsmBackend.cpp320 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
329 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncoding()
335 case MCCFIInstruction::OpDefCfa: { in generateCompactUnwindEncoding()
342 const MCCFIInstruction &LRPush = Instrs[++i]; in generateCompactUnwindEncoding()
343 assert(LRPush.getOperation() == MCCFIInstruction::OpOffset && in generateCompactUnwindEncoding()
345 const MCCFIInstruction &FPPush = Instrs[++i]; in generateCompactUnwindEncoding()
346 assert(FPPush.getOperation() == MCCFIInstruction::OpOffset && in generateCompactUnwindEncoding()
363 case MCCFIInstruction::OpDefCfaOffset: { in generateCompactUnwindEncoding()
368 case MCCFIInstruction::OpOffset: { in generateCompactUnwindEncoding()
375 const MCCFIInstruction &Inst2 = Instrs[++i]; in generateCompactUnwindEncoding()
[all …]
DAArch64MCTargetDesc.cpp69 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, Reg, 0); in createAArch64MCAsmInfo()
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCTargetDesc.cpp40 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, Reg, 0); in createSparcMCAsmInfo()
49 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, Reg, 2047); in createSparcV9MCAsmInfo()
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MCTargetDesc.cpp142 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa( in createX86MCAsmInfo()
148 MCCFIInstruction Inst2 = MCCFIInstruction::createOffset( in createX86MCAsmInfo()
DX86AsmBackend.cpp494 generateCompactUnwindEncodingImpl(ArrayRef<MCCFIInstruction> Instrs) const { in generateCompactUnwindEncodingImpl()
514 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncodingImpl()
521 case MCCFIInstruction::OpDefCfaRegister: { in generateCompactUnwindEncodingImpl()
539 case MCCFIInstruction::OpDefCfaOffset: { in generateCompactUnwindEncodingImpl()
559 case MCCFIInstruction::OpOffset: { in generateCompactUnwindEncodingImpl()
791 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
810 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
/external/llvm/include/llvm/CodeGen/
DMachineModuleInfo.h124 std::vector<MCCFIInstruction> FrameInstructions;
272 const std::vector<MCCFIInstruction> &getFrameInstructions() const { in getFrameInstructions()
277 addFrameInst(const MCCFIInstruction &Inst) { in addFrameInst()
/external/llvm/lib/Target/ARM/
DThumb1FrameLowering.cpp126 MCCFIInstruction::createDefCfaOffset(nullptr, CFAOffset)); in emitPrologue()
138 MCCFIInstruction::createDefCfaOffset(nullptr, CFAOffset)); in emitPrologue()
201 MCCFIInstruction::createDefCfaOffset(nullptr, CFAOffset)); in emitPrologue()
228 unsigned CFIIndex = MMI.addFrameInst(MCCFIInstruction::createOffset( in emitPrologue()
246 unsigned CFIIndex = MMI.addFrameInst(MCCFIInstruction::createDefCfa( in emitPrologue()
253 MMI.addFrameInst(MCCFIInstruction::createDefCfaRegister( in emitPrologue()
272 MCCFIInstruction::createDefCfaOffset(nullptr, CFAOffset)); in emitPrologue()
DARMFrameLowering.cpp217 MCCFIInstruction::createDefCfaOffset(nullptr, CFAOffset)); in emitDefCFAOffsets()
531 unsigned CFIIndex = MMI.addFrameInst(MCCFIInstruction::createDefCfa( in emitPrologue()
539 MMI.addFrameInst(MCCFIInstruction::createDefCfaRegister( in emitPrologue()
574 CFIIndex = MMI.addFrameInst(MCCFIInstruction::createOffset( in emitPrologue()
599 MCCFIInstruction::createOffset(nullptr, DwarfReg, Offset)); in emitPrologue()
621 MCCFIInstruction::createOffset(nullptr, DwarfReg, Offset)); in emitPrologue()
1942 MMI.addFrameInst(MCCFIInstruction::createDefCfaOffset(nullptr, -8)); in adjustForSegmentedStacks()
1945 CFIIndex = MMI.addFrameInst(MCCFIInstruction::createOffset( in adjustForSegmentedStacks()
1949 CFIIndex = MMI.addFrameInst(MCCFIInstruction::createOffset( in adjustForSegmentedStacks()
2060 MMI.addFrameInst(MCCFIInstruction::createDefCfaOffset(nullptr, -12)); in adjustForSegmentedStacks()
[all …]
/external/llvm/lib/Target/XCore/MCTargetDesc/
DXCoreMCTargetDesc.cpp59 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, XCore::SP, 0); in createXCoreMCAsmInfo()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackend.cpp836 ArrayRef<MCCFIInstruction> Instrs) const { in generateCompactUnwindEncoding()
853 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncoding()
855 case MCCFIInstruction::OpDefCfa: // DW_CFA_def_cfa in generateCompactUnwindEncoding()
859 case MCCFIInstruction::OpDefCfaOffset: // DW_CFA_def_cfa_offset in generateCompactUnwindEncoding()
862 case MCCFIInstruction::OpDefCfaRegister: // DW_CFA_def_cfa_register in generateCompactUnwindEncoding()
865 case MCCFIInstruction::OpOffset: // DW_CFA_offset in generateCompactUnwindEncoding()
879 case MCCFIInstruction::OpRelOffset: // DW_CFA_advance_loc in generateCompactUnwindEncoding()
DARMAsmBackendDarwin.h34 ArrayRef<MCCFIInstruction> Instrs) const override;
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCTargetDesc.cpp79 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, SP, 0); in createMipsMCAsmInfo()
/external/llvm/lib/Target/X86/
DX86FrameLowering.h22 class MCCFIInstruction; variable
151 DebugLoc DL, MCCFIInstruction CFIInst) const;
/external/llvm/lib/Target/Mips/
DMips16FrameLowering.cpp61 MCCFIInstruction::createDefCfaOffset(nullptr, -StackSize)); in emitPrologue()
76 MCCFIInstruction::createOffset(nullptr, DReg, Offset)); in emitPrologue()
DMipsSEFrameLowering.cpp415 MCCFIInstruction::createDefCfaOffset(nullptr, -StackSize)); in emitPrologue()
449 MCCFIInstruction::createOffset(nullptr, Reg0, Offset)); in emitPrologue()
454 MCCFIInstruction::createOffset(nullptr, Reg1, Offset + 4)); in emitPrologue()
465 MCCFIInstruction::createOffset(nullptr, Reg0, Offset)); in emitPrologue()
470 MCCFIInstruction::createOffset(nullptr, Reg1, Offset + 4)); in emitPrologue()
475 unsigned CFIIndex = MMI.addFrameInst(MCCFIInstruction::createOffset( in emitPrologue()
497 MCCFIInstruction::createOffset(nullptr, Reg, Offset)); in emitPrologue()
510 unsigned CFIIndex = MMI.addFrameInst(MCCFIInstruction::createDefCfaRegister( in emitPrologue()
/external/llvm/lib/Target/AArch64/
DAArch64FrameLowering.cpp245 unsigned CFIIndex = MMI.addFrameInst(MCCFIInstruction::createOffset( in emitCalleeSavedFrameMoves()
318 MCCFIInstruction::createDefCfaOffset(FrameLabel, -NumBytes)); in emitPrologue()
478 MCCFIInstruction::createDefCfa(nullptr, Reg, 2 * StackGrowth)); in emitPrologue()
486 MCCFIInstruction::createOffset(nullptr, LR, StackGrowth)); in emitPrologue()
493 MCCFIInstruction::createOffset(nullptr, Reg, 2 * StackGrowth)); in emitPrologue()
500 MCCFIInstruction::createDefCfaOffset(nullptr, -MFI->getStackSize())); in emitPrologue()
/external/llvm/lib/CodeGen/
DMIRPrinter.cpp124 void print(const MCCFIInstruction &CFI, const TargetRegisterInfo *TRI);
929 void MIPrinter::print(const MCCFIInstruction &CFI, in print()
932 case MCCFIInstruction::OpSameValue: in print()
938 case MCCFIInstruction::OpOffset: in print()
945 case MCCFIInstruction::OpDefCfaRegister: in print()
951 case MCCFIInstruction::OpDefCfaOffset: in print()
957 case MCCFIInstruction::OpDefCfa: in print()
/external/llvm/lib/Target/Sparc/
DSparcFrameLowering.cpp162 MMI.addFrameInst(MCCFIInstruction::createDefCfaRegister(nullptr, regFP)); in emitPrologue()
167 CFIIndex = MMI.addFrameInst(MCCFIInstruction::createWindowSave(nullptr)); in emitPrologue()
175 MCCFIInstruction::createRegister(nullptr, regOutRA, regInRA)); in emitPrologue()
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCTargetDesc.cpp155 MCCFIInstruction Inst = in createHexagonMCAsmInfo()
156 MCCFIInstruction::createDefCfa(nullptr, Hexagon::R30, 0); in createHexagonMCAsmInfo()
/external/llvm/lib/Target/SystemZ/
DSystemZFrameLowering.cpp346 unsigned CFIIndex = MMI.addFrameInst(MCCFIInstruction::createOffset( in emitPrologue()
362 MCCFIInstruction::createDefCfaOffset(nullptr, SPOffsetFromCFA + Delta)); in emitPrologue()
376 MCCFIInstruction::createDefCfaRegister(nullptr, HardFP)); in emitPrologue()
405 unsigned CFIIndex = MMI.addFrameInst(MCCFIInstruction::createOffset( in emitPrologue()

12