Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DMemoryProfileInfoTest.cpp171 MDNode *StackMD = getMIBStackNode(MIB); in TEST_F() local
172 ASSERT_NE(StackMD, nullptr); in TEST_F()
173 ASSERT_EQ(StackMD->getNumOperands(), 2u); in TEST_F()
176 StackId = mdconst::dyn_extract<ConstantInt>(StackMD->getOperand(1)); in TEST_F()
227 MDNode *StackMD = getMIBStackNode(MIB); in TEST_F() local
228 ASSERT_NE(StackMD, nullptr); in TEST_F()
229 ASSERT_EQ(StackMD->getNumOperands(), 2u); in TEST_F()
232 StackId = mdconst::dyn_extract<ConstantInt>(StackMD->getOperand(1)); in TEST_F()
347 MDNode *StackMD = getMIBStackNode(MIB); in TEST_F() local
348 ASSERT_NE(StackMD, nullptr); in TEST_F()
[all …]
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DMemoryProfileInfo.cpp134 MDNode *StackMD = getMIBStackNode(MIB); in addCallStack() local
135 assert(StackMD); in addCallStack()
137 CallStack.reserve(StackMD->getNumOperands()); in addCallStack()
138 for (auto &MIBStackIter : StackMD->operands()) { in addCallStack()
/llvm-project-15.0.7/llvm/lib/IR/
H A DVerifier.cpp4525 MDNode *StackMD = dyn_cast<MDNode>(MIB->getOperand(0)); in visitMemProfMetadata() local
4526 visitCallStackMetadata(StackMD); in visitMemProfMetadata()