Home
last modified time | relevance | path

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

1234

/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCDwarf.h416 class MCCFIInstruction {
446 MCCFIInstruction(OpType Op, MCSymbol *L, unsigned R, int O, StringRef V) in MCCFIInstruction() function
452 MCCFIInstruction(OpType Op, MCSymbol *L, unsigned R1, unsigned R2) in MCCFIInstruction() function
460 static MCCFIInstruction createDefCfa(MCSymbol *L, unsigned Register, in createDefCfa()
462 return MCCFIInstruction(OpDefCfa, L, Register, -Offset, ""); in createDefCfa()
467 static MCCFIInstruction createDefCfaRegister(MCSymbol *L, unsigned Register) { in createDefCfaRegister()
468 return MCCFIInstruction(OpDefCfaRegister, L, Register, 0, ""); in createDefCfaRegister()
474 static MCCFIInstruction createDefCfaOffset(MCSymbol *L, int Offset) { in createDefCfaOffset()
475 return MCCFIInstruction(OpDefCfaOffset, L, 0, -Offset, ""); in createDefCfaOffset()
481 static MCCFIInstruction createAdjustCfaOffset(MCSymbol *L, int Adjustment) { in createAdjustCfaOffset()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DCFIInstrInserter.cpp163 const std::vector<MCCFIInstruction> &Instrs = in calculateOutgoingCFAInfo()
170 const MCCFIInstruction &CFI = Instrs[CFIIndex]; in calculateOutgoingCFAInfo()
172 case MCCFIInstruction::OpDefCfaRegister: in calculateOutgoingCFAInfo()
175 case MCCFIInstruction::OpDefCfaOffset: in calculateOutgoingCFAInfo()
178 case MCCFIInstruction::OpAdjustCfaOffset: in calculateOutgoingCFAInfo()
181 case MCCFIInstruction::OpDefCfa: in calculateOutgoingCFAInfo()
185 case MCCFIInstruction::OpRememberState: in calculateOutgoingCFAInfo()
193 case MCCFIInstruction::OpRestoreState: in calculateOutgoingCFAInfo()
202 case MCCFIInstruction::OpSameValue: in calculateOutgoingCFAInfo()
203 case MCCFIInstruction::OpOffset: in calculateOutgoingCFAInfo()
[all …]
DMachineOperand.cpp603 static void printCFI(raw_ostream &OS, const MCCFIInstruction &CFI, in printCFI()
606 case MCCFIInstruction::OpSameValue: in printCFI()
612 case MCCFIInstruction::OpRememberState: in printCFI()
617 case MCCFIInstruction::OpRestoreState: in printCFI()
622 case MCCFIInstruction::OpOffset: in printCFI()
629 case MCCFIInstruction::OpDefCfaRegister: in printCFI()
635 case MCCFIInstruction::OpDefCfaOffset: in printCFI()
641 case MCCFIInstruction::OpDefCfa: in printCFI()
648 case MCCFIInstruction::OpRelOffset: in printCFI()
655 case MCCFIInstruction::OpAdjustCfaOffset: in printCFI()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterDwarf.cpp190 void AsmPrinter::emitCFIInstruction(const MCCFIInstruction &Inst) const { in emitCFIInstruction()
194 case MCCFIInstruction::OpDefCfaOffset: in emitCFIInstruction()
197 case MCCFIInstruction::OpAdjustCfaOffset: in emitCFIInstruction()
200 case MCCFIInstruction::OpDefCfa: in emitCFIInstruction()
203 case MCCFIInstruction::OpDefCfaRegister: in emitCFIInstruction()
206 case MCCFIInstruction::OpOffset: in emitCFIInstruction()
209 case MCCFIInstruction::OpRegister: in emitCFIInstruction()
212 case MCCFIInstruction::OpWindowSave: in emitCFIInstruction()
215 case MCCFIInstruction::OpSameValue: in emitCFIInstruction()
218 case MCCFIInstruction::OpGnuArgsSize: in emitCFIInstruction()
[all …]
/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/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCStreamer.cpp355 for (const MCCFIInstruction& Inst : MAI->getInitialFrameState()) { in EmitCFIStartProc()
356 if (Inst.getOperation() == MCCFIInstruction::OpDefCfa || in EmitCFIStartProc()
357 Inst.getOperation() == MCCFIInstruction::OpDefCfaRegister) { in EmitCFIStartProc()
390 MCCFIInstruction Instruction = in EmitCFIDefCfa()
391 MCCFIInstruction::createDefCfa(Label, Register, Offset); in EmitCFIDefCfa()
401 MCCFIInstruction Instruction = in EmitCFIDefCfaOffset()
402 MCCFIInstruction::createDefCfaOffset(Label, Offset); in EmitCFIDefCfaOffset()
411 MCCFIInstruction Instruction = in EmitCFIAdjustCfaOffset()
412 MCCFIInstruction::createAdjustCfaOffset(Label, Adjustment); in EmitCFIAdjustCfaOffset()
421 MCCFIInstruction Instruction = in EmitCFIDefCfaRegister()
[all …]
DMCDwarf.cpp1306 void EmitCFIInstructions(ArrayRef<MCCFIInstruction> Instrs,
1308 void EmitCFIInstruction(const MCCFIInstruction &Instr);
1317 void FrameEmitterImpl::EmitCFIInstruction(const MCCFIInstruction &Instr) { in EmitCFIInstruction()
1322 case MCCFIInstruction::OpRegister: { in EmitCFIInstruction()
1334 case MCCFIInstruction::OpWindowSave: in EmitCFIInstruction()
1338 case MCCFIInstruction::OpUndefined: { in EmitCFIInstruction()
1344 case MCCFIInstruction::OpAdjustCfaOffset: in EmitCFIInstruction()
1345 case MCCFIInstruction::OpDefCfaOffset: { in EmitCFIInstruction()
1347 Instr.getOperation() == MCCFIInstruction::OpAdjustCfaOffset; in EmitCFIInstruction()
1360 case MCCFIInstruction::OpDefCfa: { 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 …]
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AsmBackend.cpp445 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
454 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncoding()
460 case MCCFIInstruction::OpDefCfa: { in generateCompactUnwindEncoding()
475 const MCCFIInstruction &LRPush = Instrs[++i]; in generateCompactUnwindEncoding()
476 assert(LRPush.getOperation() == MCCFIInstruction::OpOffset && in generateCompactUnwindEncoding()
478 const MCCFIInstruction &FPPush = Instrs[++i]; in generateCompactUnwindEncoding()
479 assert(FPPush.getOperation() == MCCFIInstruction::OpOffset && in generateCompactUnwindEncoding()
496 case MCCFIInstruction::OpDefCfaOffset: { in generateCompactUnwindEncoding()
501 case MCCFIInstruction::OpOffset: { in generateCompactUnwindEncoding()
508 const MCCFIInstruction &Inst2 = Instrs[++i]; in generateCompactUnwindEncoding()
[all …]
/external/swiftshader/third_party/llvm-7.0/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/Sparc/MCTargetDesc/
DSparcMCTargetDesc.cpp39 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, Reg, 0); in createSparcMCAsmInfo()
48 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, Reg, 2047); in createSparcV9MCAsmInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARC/MCTargetDesc/
DARCMCTargetDesc.cpp58 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, ARC::SP, 0); in createARCMCAsmInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Nios2/MCTargetDesc/
DNios2MCTargetDesc.cpp59 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, SP, 0); in createNios2MCAsmInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/MCTargetDesc/
DXCoreMCTargetDesc.cpp62 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, XCore::SP, 0); in createXCoreMCAsmInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/MCTargetDesc/
DX86AsmBackend.cpp527 generateCompactUnwindEncodingImpl(ArrayRef<MCCFIInstruction> Instrs) const { in generateCompactUnwindEncodingImpl()
547 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncodingImpl()
554 case MCCFIInstruction::OpDefCfaRegister: { in generateCompactUnwindEncodingImpl()
576 case MCCFIInstruction::OpDefCfaOffset: { in generateCompactUnwindEncodingImpl()
596 case MCCFIInstruction::OpOffset: { in generateCompactUnwindEncodingImpl()
828 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
848 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()
/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/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()

1234