Searched refs:ValMD (Results 1 – 3 of 3) sorted by relevance
111 ConstantAsMetadata *ValMD = dyn_cast<ConstantAsMetadata>(MD->getOperand(1)); in getValMD() local112 if (!KeyMD || !ValMD) in getValMD()116 return ValMD; in getValMD()121 if (auto *ValMD = getValMD(MD, Key)) { in getVal() local122 Val = cast<ConstantInt>(ValMD->getValue())->getZExtValue(); in getVal()129 if (auto *ValMD = getValMD(MD, Key)) { in getVal() local130 Val = cast<ConstantFP>(ValMD->getValue())->getValueAPF().convertToDouble(); in getVal()141 MDString *ValMD = dyn_cast<MDString>(MD->getOperand(1)); in isKeyValuePair() local142 if (!KeyMD || !ValMD) in isKeyValuePair()144 if (!KeyMD->getString().equals(Key) || !ValMD->getString().equals(Val)) in isKeyValuePair()
90 ConstantAsMetadata *ValMD = dyn_cast<ConstantAsMetadata>(MD->getOperand(1)); in getVal() local91 if (!KeyMD || !ValMD) in getVal()95 Val = cast<ConstantInt>(ValMD->getValue())->getZExtValue(); in getVal()104 MDString *ValMD = dyn_cast<MDString>(MD->getOperand(1)); in isKeyValuePair() local105 if (!KeyMD || !ValMD) in isKeyValuePair()107 if (!KeyMD->getString().equals(Key) || !ValMD->getString().equals(Val)) in isKeyValuePair()
94 ConstantAsMetadata *ValMD = dyn_cast<ConstantAsMetadata>(MD->getOperand(1)); in getVal() local95 if (!KeyMD || !ValMD) in getVal()99 Val = cast<ConstantInt>(ValMD->getValue())->getZExtValue(); in getVal()108 MDString *ValMD = dyn_cast<MDString>(MD->getOperand(1)); in isKeyValuePair() local109 if (!KeyMD || !ValMD) in isKeyValuePair()111 if (!KeyMD->getString().equals(Key) || !ValMD->getString().equals(Val)) in isKeyValuePair()