Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/MC/
DMCDwarf.h325 class MCCFIInstruction {
355 MCCFIInstruction(OpType Op, MCSymbol *L, unsigned R, int O, StringRef V) in MCCFIInstruction() function
361 MCCFIInstruction(OpType Op, MCSymbol *L, unsigned R1, unsigned R2) in MCCFIInstruction() function
369 static MCCFIInstruction createDefCfa(MCSymbol *L, unsigned Register, in createDefCfa()
371 return MCCFIInstruction(OpDefCfa, L, Register, -Offset, ""); in createDefCfa()
376 static MCCFIInstruction createDefCfaRegister(MCSymbol *L, unsigned Register) { in createDefCfaRegister()
377 return MCCFIInstruction(OpDefCfaRegister, L, Register, 0, ""); in createDefCfaRegister()
383 static MCCFIInstruction createDefCfaOffset(MCSymbol *L, int Offset) { in createDefCfaOffset()
384 return MCCFIInstruction(OpDefCfaOffset, L, 0, -Offset, ""); in createDefCfaOffset()
390 static MCCFIInstruction createAdjustCfaOffset(MCSymbol *L, int Adjustment) { in createAdjustCfaOffset()
[all …]
DMCAsmInfo.h354 std::vector<MCCFIInstruction> InitialFrameState;
565 void addInitialFrameState(const MCCFIInstruction &Inst) { in addInitialFrameState()
569 const std::vector<MCCFIInstruction> &getInitialFrameState() const { in getInitialFrameState()
/external/llvm/lib/MC/
DMCStreamer.cpp269 for (const MCCFIInstruction& Inst : MAI->getInitialFrameState()) { in EmitCFIStartProc()
270 if (Inst.getOperation() == MCCFIInstruction::OpDefCfa || in EmitCFIStartProc()
271 Inst.getOperation() == MCCFIInstruction::OpDefCfaRegister) { in EmitCFIStartProc()
304 MCCFIInstruction Instruction = in EmitCFIDefCfa()
305 MCCFIInstruction::createDefCfa(Label, Register, Offset); in EmitCFIDefCfa()
313 MCCFIInstruction Instruction = in EmitCFIDefCfaOffset()
314 MCCFIInstruction::createDefCfaOffset(Label, Offset); in EmitCFIDefCfaOffset()
321 MCCFIInstruction Instruction = in EmitCFIAdjustCfaOffset()
322 MCCFIInstruction::createAdjustCfaOffset(Label, Adjustment); in EmitCFIAdjustCfaOffset()
329 MCCFIInstruction Instruction = in EmitCFIDefCfaRegister()
[all …]
DMCDwarf.cpp1024 void EmitCFIInstructions(ArrayRef<MCCFIInstruction> Instrs,
1026 void EmitCFIInstruction(const MCCFIInstruction &Instr);
1035 void FrameEmitterImpl::EmitCFIInstruction(const MCCFIInstruction &Instr) { in EmitCFIInstruction()
1040 case MCCFIInstruction::OpRegister: { in EmitCFIInstruction()
1052 case MCCFIInstruction::OpWindowSave: { in EmitCFIInstruction()
1056 case MCCFIInstruction::OpUndefined: { in EmitCFIInstruction()
1062 case MCCFIInstruction::OpAdjustCfaOffset: in EmitCFIInstruction()
1063 case MCCFIInstruction::OpDefCfaOffset: { in EmitCFIInstruction()
1065 Instr.getOperation() == MCCFIInstruction::OpAdjustCfaOffset; in EmitCFIInstruction()
1078 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.cpp396 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
405 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncoding()
411 case MCCFIInstruction::OpDefCfa: { in generateCompactUnwindEncoding()
418 const MCCFIInstruction &LRPush = Instrs[++i]; in generateCompactUnwindEncoding()
419 assert(LRPush.getOperation() == MCCFIInstruction::OpOffset && in generateCompactUnwindEncoding()
421 const MCCFIInstruction &FPPush = Instrs[++i]; in generateCompactUnwindEncoding()
422 assert(FPPush.getOperation() == MCCFIInstruction::OpOffset && in generateCompactUnwindEncoding()
439 case MCCFIInstruction::OpDefCfaOffset: { in generateCompactUnwindEncoding()
444 case MCCFIInstruction::OpOffset: { in generateCompactUnwindEncoding()
451 const MCCFIInstruction &Inst2 = Instrs[++i]; in generateCompactUnwindEncoding()
[all …]
DAArch64MCTargetDesc.cpp68 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, Reg, 0); in createAArch64MCAsmInfo()
/external/swiftshader/third_party/LLVM/lib/MC/
DMCStreamer.cpp310 MCCFIInstruction Instruction(Label, Dest, Source); in EmitCFIDefCfa()
321 MCCFIInstruction Instruction(Label, Dest, Source); in EmitCFIDefCfaOffset()
332 MCCFIInstruction Instruction(MCCFIInstruction::RelMove, Label, Dest, Source); in EmitCFIAdjustCfaOffset()
343 MCCFIInstruction Instruction(Label, Dest, Source); in EmitCFIDefCfaRegister()
354 MCCFIInstruction Instruction(Label, Dest, Source); in EmitCFIOffset()
365 MCCFIInstruction Instruction(MCCFIInstruction::RelMove, Label, Dest, Source); in EmitCFIRelOffset()
389 MCCFIInstruction Instruction(MCCFIInstruction::Remember, Label); in EmitCFIRememberState()
399 MCCFIInstruction Instruction(MCCFIInstruction::Restore, Label); in EmitCFIRestoreState()
408 MCCFIInstruction Instruction(MCCFIInstruction::SameValue, Label, Register); in EmitCFISameValue()
DMCDwarf.cpp528 const std::vector<MCCFIInstruction> &Instrs,
531 const MCCFIInstruction &Instr);
570 const MCCFIInstruction &Instr) { in EmitCFIInstruction()
575 case MCCFIInstruction::Move: in EmitCFIInstruction()
576 case MCCFIInstruction::RelMove: { in EmitCFIInstruction()
579 const bool IsRelative = Instr.getOperation() == MCCFIInstruction::RelMove; in EmitCFIInstruction()
642 case MCCFIInstruction::Remember: in EmitCFIInstruction()
646 case MCCFIInstruction::Restore: in EmitCFIInstruction()
650 case MCCFIInstruction::SameValue: { in EmitCFIInstruction()
665 const std::vector<MCCFIInstruction> &Instrs, in EmitCFIInstructions()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCDwarf.h230 class MCCFIInstruction {
240 MCCFIInstruction(OpType Op, MCSymbol *L) in MCCFIInstruction() function
244 MCCFIInstruction(OpType Op, MCSymbol *L, unsigned Register) in MCCFIInstruction() function
248 MCCFIInstruction(MCSymbol *L, const MachineLocation &D, in MCCFIInstruction() function
252 MCCFIInstruction(OpType Op, MCSymbol *L, const MachineLocation &D, in MCCFIInstruction() function
272 std::vector<MCCFIInstruction> Instructions;
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCTargetDesc.cpp39 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, Reg, 0); in createSparcMCAsmInfo()
48 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, Reg, 2047); in createSparcV9MCAsmInfo()
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86AsmBackend.cpp514 generateCompactUnwindEncodingImpl(ArrayRef<MCCFIInstruction> Instrs) const { in generateCompactUnwindEncodingImpl()
534 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncodingImpl()
541 case MCCFIInstruction::OpDefCfaRegister: { in generateCompactUnwindEncodingImpl()
559 case MCCFIInstruction::OpDefCfaOffset: { in generateCompactUnwindEncodingImpl()
579 case MCCFIInstruction::OpOffset: { in generateCompactUnwindEncodingImpl()
811 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
830 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
/external/llvm/lib/Target/ARM/
DThumb1FrameLowering.cpp125 MCCFIInstruction::createDefCfaOffset(nullptr, CFAOffset)); in emitPrologue()
137 MCCFIInstruction::createDefCfaOffset(nullptr, CFAOffset)); in emitPrologue()
200 MCCFIInstruction::createDefCfaOffset(nullptr, CFAOffset)); in emitPrologue()
227 unsigned CFIIndex = MMI.addFrameInst(MCCFIInstruction::createOffset( in emitPrologue()
245 unsigned CFIIndex = MMI.addFrameInst(MCCFIInstruction::createDefCfa( in emitPrologue()
252 MMI.addFrameInst(MCCFIInstruction::createDefCfaRegister( in emitPrologue()
271 MCCFIInstruction::createDefCfaOffset(nullptr, CFAOffset)); in emitPrologue()
DARMFrameLowering.cpp215 MCCFIInstruction::createDefCfaOffset(nullptr, CFAOffset)); in emitDefCFAOffsets()
529 unsigned CFIIndex = MMI.addFrameInst(MCCFIInstruction::createDefCfa( in emitPrologue()
537 MMI.addFrameInst(MCCFIInstruction::createDefCfaRegister( in emitPrologue()
572 CFIIndex = MMI.addFrameInst(MCCFIInstruction::createOffset( in emitPrologue()
597 MCCFIInstruction::createOffset(nullptr, DwarfReg, Offset)); in emitPrologue()
619 MCCFIInstruction::createOffset(nullptr, DwarfReg, Offset)); in emitPrologue()
1954 MMI.addFrameInst(MCCFIInstruction::createDefCfaOffset(nullptr, -8)); in adjustForSegmentedStacks()
1957 CFIIndex = MMI.addFrameInst(MCCFIInstruction::createOffset( in adjustForSegmentedStacks()
1961 CFIIndex = MMI.addFrameInst(MCCFIInstruction::createOffset( in adjustForSegmentedStacks()
2072 MMI.addFrameInst(MCCFIInstruction::createDefCfaOffset(nullptr, -12)); in adjustForSegmentedStacks()
[all …]
/external/llvm/include/llvm/CodeGen/
DMachineModuleInfo.h125 std::vector<MCCFIInstruction> FrameInstructions;
273 const std::vector<MCCFIInstruction> &getFrameInstructions() const { in getFrameInstructions()
278 addFrameInst(const MCCFIInstruction &Inst) { in addFrameInst()
/external/llvm/lib/Target/XCore/MCTargetDesc/
DXCoreMCTargetDesc.cpp58 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, XCore::SP, 0); in createXCoreMCAsmInfo()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackend.cpp901 ArrayRef<MCCFIInstruction> Instrs) const { in generateCompactUnwindEncoding()
918 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncoding()
920 case MCCFIInstruction::OpDefCfa: // DW_CFA_def_cfa in generateCompactUnwindEncoding()
924 case MCCFIInstruction::OpDefCfaOffset: // DW_CFA_def_cfa_offset in generateCompactUnwindEncoding()
927 case MCCFIInstruction::OpDefCfaRegister: // DW_CFA_def_cfa_register in generateCompactUnwindEncoding()
930 case MCCFIInstruction::OpOffset: // DW_CFA_offset in generateCompactUnwindEncoding()
944 case MCCFIInstruction::OpRelOffset: // DW_CFA_advance_loc in generateCompactUnwindEncoding()
DARMAsmBackendDarwin.h32 ArrayRef<MCCFIInstruction> Instrs) const override;
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCTargetDesc.cpp78 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, SP, 0); in createMipsMCAsmInfo()
/external/llvm/lib/Target/Mips/
DMipsSEFrameLowering.cpp413 MCCFIInstruction::createDefCfaOffset(nullptr, -StackSize)); in emitPrologue()
447 MCCFIInstruction::createOffset(nullptr, Reg0, Offset)); in emitPrologue()
452 MCCFIInstruction::createOffset(nullptr, Reg1, Offset + 4)); in emitPrologue()
463 MCCFIInstruction::createOffset(nullptr, Reg0, Offset)); in emitPrologue()
468 MCCFIInstruction::createOffset(nullptr, Reg1, Offset + 4)); in emitPrologue()
473 unsigned CFIIndex = MMI.addFrameInst(MCCFIInstruction::createOffset( in emitPrologue()
495 MCCFIInstruction::createOffset(nullptr, Reg, Offset)); in emitPrologue()
508 unsigned CFIIndex = MMI.addFrameInst(MCCFIInstruction::createDefCfaRegister( in emitPrologue()
DMips16FrameLowering.cpp60 MCCFIInstruction::createDefCfaOffset(nullptr, -StackSize)); in emitPrologue()
75 MCCFIInstruction::createOffset(nullptr, DReg, Offset)); in emitPrologue()
/external/llvm/lib/Target/X86/
DX86FrameLowering.h22 class MCCFIInstruction; variable
169 const DebugLoc &DL, const MCCFIInstruction &CFIInst) const;
/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/CodeGen/
DMIRPrinter.cpp127 void print(const MCCFIInstruction &CFI, const TargetRegisterInfo *TRI);
955 void MIPrinter::print(const MCCFIInstruction &CFI, in print()
958 case MCCFIInstruction::OpSameValue: in print()
964 case MCCFIInstruction::OpOffset: in print()
971 case MCCFIInstruction::OpDefCfaRegister: in print()
977 case MCCFIInstruction::OpDefCfaOffset: in print()
983 case MCCFIInstruction::OpDefCfa: in print()
/external/llvm/lib/Target/SystemZ/
DSystemZFrameLowering.cpp353 unsigned CFIIndex = MMI.addFrameInst(MCCFIInstruction::createOffset( in emitPrologue()
378 MCCFIInstruction::createDefCfaOffset(nullptr, SPOffsetFromCFA + Delta)); in emitPrologue()
396 MCCFIInstruction::createDefCfaRegister(nullptr, HardFP)); in emitPrologue()
425 unsigned CFIIndex = MMI.addFrameInst(MCCFIInstruction::createOffset( in emitPrologue()

12