Lines Matching refs:InstrDesc
170 const auto &InstrDesc = MII->get(InstrMeta.Instruction.getOpcode()); in isCFITrap() local
171 return InstrDesc.isTrap() || willTrapOnCFIViolation(InstrMeta); in isCFITrap()
175 const auto &InstrDesc = MII->get(InstrMeta.Instruction.getOpcode()); in willTrapOnCFIViolation() local
176 if (!InstrDesc.isCall()) in willTrapOnCFIViolation()
192 const auto &InstrDesc = MII->get(InstrMeta.Instruction.getOpcode()); in canFallThrough() local
193 if (InstrDesc.mayAffectControlFlow(InstrMeta.Instruction, *RegisterInfo)) in canFallThrough()
194 return InstrDesc.isConditionalBranch(); in canFallThrough()
207 const auto &InstrDesc = MII->get(InstrMeta.Instruction.getOpcode()); in getDefiniteNextInstruction() local
209 if (InstrDesc.mayAffectControlFlow(InstrMeta.Instruction, *RegisterInfo)) { in getDefiniteNextInstruction()
210 if (InstrDesc.isConditionalBranch()) in getDefiniteNextInstruction()
287 const auto &InstrDesc = MII->get(InstrMetaPtr->Instruction.getOpcode()); in validateCFIProtection() local
288 if (!InstrDesc.mayAffectControlFlow(InstrMetaPtr->Instruction, *RegisterInfo)) in validateCFIProtection()
339 const auto &InstrDesc = MII->get(NodeInstr.Instruction.getOpcode()); in indirectCFOperandClobber() local
344 if (InstrDesc.hasDefOfPhysReg(NodeInstr.Instruction, RegNum, in indirectCFOperandClobber()
346 if (!canLoad || !InstrDesc.mayLoad()) in indirectCFOperandClobber()
351 for (unsigned i = InstrDesc.getNumDefs(), in indirectCFOperandClobber()
352 e = InstrDesc.getNumOperands(); i != e; i++) { in indirectCFOperandClobber()
500 const auto &InstrDesc = MII->get(Instruction.getOpcode()); in parseSectionContents() local
501 if (!InstrDesc.mayAffectControlFlow(Instruction, *RegisterInfo)) in parseSectionContents()
514 if (InstrDesc.isReturn()) in parseSectionContents()