Lines Matching defs:Instr

385       for (MCInst &Instr : *BB) {
386 if (!BC.MIB->isCall(Instr))
390 const bool Throws = BC.MIB->isInvoke(Instr);
400 BC.MIB->getEHInfo(Instr))
410 if (MCSymbol *InstrLabel = BC.MIB->getInstLabel(Instr)) {
414 EHSymbol = BC.MIB->getOrCreateInstLabel(Instr, "EH", BC.Ctx.get());
517 const CFIProgram::Instruction &Instr) {
518 uint8_t Opcode = Instr.Opcode;
521 switch (Instr.Opcode) {
529 Offset += CodeAlignment * int64_t(Instr.Ops[0]);
535 nullptr, Instr.Ops[0], DataAlignment * int64_t(Instr.Ops[1])));
540 Offset, MCCFIInstruction::createOffset(nullptr, Instr.Ops[0],
541 DataAlignment * Instr.Ops[1]));
546 Offset, MCCFIInstruction::createRestore(nullptr, Instr.Ops[0]));
549 assert(Instr.Ops[0] >= Address && "set_loc out of function bounds");
550 assert(Instr.Ops[0] <= Address + Function.getSize() &&
552 Offset = Instr.Ops[0] - Address;
557 Offset, MCCFIInstruction::createUndefined(nullptr, Instr.Ops[0]));
561 Offset, MCCFIInstruction::createSameValue(nullptr, Instr.Ops[0]));
565 Offset, MCCFIInstruction::createRegister(nullptr, Instr.Ops[0],
566 Instr.Ops[1]));
579 MCCFIInstruction::cfiDefCfa(nullptr, Instr.Ops[0], Instr.Ops[1]));
584 MCCFIInstruction::cfiDefCfa(nullptr, Instr.Ops[0],
585 DataAlignment * int64_t(Instr.Ops[1])));
589 nullptr, Instr.Ops[0]));
593 Offset, MCCFIInstruction::cfiDefCfaOffset(nullptr, Instr.Ops[0]));
598 nullptr, DataAlignment * int64_t(Instr.Ops[0])));
602 Offset, MCCFIInstruction::createGnuArgsSize(nullptr, Instr.Ops[0]));
614 StringRef ExprBytes = Instr.Expression->getData();
620 encodeULEB128(Instr.Ops[0], OS);
650 << Instr.Opcode << '\n';
657 for (const CFIProgram::Instruction &Instr : CurFDE.getLinkedCIE()->cfis())
658 if (!decodeFrameInstruction(Instr))
661 for (const CFIProgram::Instruction &Instr : CurFDE.cfis())
662 if (!decodeFrameInstruction(Instr))