Lines Matching refs:MD
127 MDNode* MD = SI->getMetadata(LLVMContext::MD_prof);
128 // MD should have 2 + NumCases operands.
129 if (MD && MD->getNumOperands() == 2 + SI->getNumCases()) {
132 for (unsigned MD_i = 1, MD_e = MD->getNumOperands(); MD_i < MD_e;
134 ConstantInt* CI = dyn_cast<ConstantInt>(MD->getOperand(MD_i));
207 MDNode* MD = SI->getMetadata(LLVMContext::MD_prof);
208 if (MD && MD->getNumOperands() == 3) {
209 ConstantInt *SICase = dyn_cast<ConstantInt>(MD->getOperand(2));
210 ConstantInt *SIDef = dyn_cast<ConstantInt>(MD->getOperand(1));