Home
last modified time | relevance | path

Searched refs:InstrMeta (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-cfi-verify/lib/
H A DFileAnalysis.cpp122 FileAnalysis::getPrevInstructionSequential(const Instr &InstrMeta) const { in getPrevInstructionSequential()
124 Instructions.find(InstrMeta.VMAddress); in getPrevInstructionSequential()
135 FileAnalysis::getNextInstructionSequential(const Instr &InstrMeta) const { in getNextInstructionSequential()
137 Instructions.find(InstrMeta.VMAddress); in getNextInstructionSequential()
147 bool FileAnalysis::usesRegisterOperand(const Instr &InstrMeta) const { in usesRegisterOperand()
148 for (const auto &Operand : InstrMeta.Instruction) { in usesRegisterOperand()
169 bool FileAnalysis::isCFITrap(const Instr &InstrMeta) const { in isCFITrap()
170 const auto &InstrDesc = MII->get(InstrMeta.Instruction.getOpcode()); in isCFITrap()
171 return InstrDesc.isTrap() || willTrapOnCFIViolation(InstrMeta); in isCFITrap()
174 bool FileAnalysis::willTrapOnCFIViolation(const Instr &InstrMeta) const { in willTrapOnCFIViolation()
[all …]
H A DFileAnalysis.h107 const Instr *getPrevInstructionSequential(const Instr &InstrMeta) const;
108 const Instr *getNextInstructionSequential(const Instr &InstrMeta) const;
111 bool isCFITrap(const Instr &InstrMeta) const;
115 bool willTrapOnCFIViolation(const Instr &InstrMeta) const;
121 bool canFallThrough(const Instr &InstrMeta) const;
130 const Instr *getDefiniteNextInstruction(const Instr &InstrMeta) const;
136 getDirectControlFlowXRefs(const Instr &InstrMeta) const;
139 bool usesRegisterOperand(const Instr &InstrMeta) const;
168 void printInstruction(const Instr &InstrMeta, raw_ostream &OS) const;
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-cfi-verify/
H A Dllvm-cfi-verify.cpp88 const Instr &InstrMeta, in printInstructionInformation() argument
91 outs() << "Instruction: " << format_hex(InstrMeta.VMAddress, 2) << " (" in printInstructionInformation()
93 Analysis.printInstruction(InstrMeta, outs()); in printInstructionInformation()
136 const auto &InstrMeta = Analysis.getInstructionOrDie(Address.Address); in printIndirectCFInstructions() local
145 printInstructionInformation(Analysis, InstrMeta, Graph, ProtectionStatus); in printIndirectCFInstructions()