Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/tools/llvm-cfi-verify/
DFileAnalysis.cpp417 const auto *InstrMetaPtr = &Analysis.getInstructionOrDie(0xDEADBEEF); in TEST_F() local
419 Analysis.getDirectControlFlowXRefs(*InstrMetaPtr); in TEST_F()
422 InstrMetaPtr = &Analysis.getInstructionOrDie(0xDEADBEEF + 1); in TEST_F()
423 XRefs = Analysis.getDirectControlFlowXRefs(*InstrMetaPtr); in TEST_F()
429 InstrMetaPtr = &Analysis.getInstructionOrDie(0xDEADBEEF + 3); in TEST_F()
430 XRefs = Analysis.getDirectControlFlowXRefs(*InstrMetaPtr); in TEST_F()
435 InstrMetaPtr = &Analysis.getInstructionOrDie(0xDEADBEEF + 4); in TEST_F()
436 XRefs = Analysis.getDirectControlFlowXRefs(*InstrMetaPtr); in TEST_F()
440 InstrMetaPtr = &Analysis.getInstructionOrDie(0xDEADBEEF + 6); in TEST_F()
441 EXPECT_TRUE(Analysis.getDirectControlFlowXRefs(*InstrMetaPtr).empty()); in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cfi-verify/lib/
DFileAnalysis.cpp265 const Instr *InstrMetaPtr = getInstruction(Graph.BaseAddress); in validateCFIProtection() local
266 if (!InstrMetaPtr) in validateCFIProtection()
269 const auto &InstrDesc = MII->get(InstrMetaPtr->Instruction.getOpcode()); in validateCFIProtection()
270 if (!InstrDesc.mayAffectControlFlow(InstrMetaPtr->Instruction, *RegisterInfo)) in validateCFIProtection()
273 if (!usesRegisterOperand(*InstrMetaPtr)) in validateCFIProtection()
DGraphBuilder.cpp215 const auto &InstrMetaPtr = Analysis.getInstruction(Address); in buildFlowGraphImpl() local
216 if (!InstrMetaPtr) { in buildFlowGraphImpl()
222 const auto &ChildMeta = *InstrMetaPtr; in buildFlowGraphImpl()