Searched refs:ExpectedValue (Results 1 – 4 of 4) sorted by relevance
67 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleSwitchExpect() local68 if (!ExpectedValue) in handleSwitchExpect()71 SwitchInst::CaseHandle Case = *SI.findCaseValue(ExpectedValue); in handleSwitchExpect()96 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(Expect->getArgOperand(1)); in handlePhiDef() local97 if (!ExpectedValue) in handlePhiDef()99 const APInt &ExpectedPhiValue = ExpectedValue->getValue(); in handlePhiDef()278 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleBrSelExpect() local279 if (!ExpectedValue) in handleBrSelExpect()285 if ((ExpectedValue->getZExtValue() == ValueComparedTo) == in handleBrSelExpect()
125 auto ExpectedValue = Modules->getFileName(Off); in setValue() local126 if (!ExpectedValue) { in setValue()127 consumeError(ExpectedValue.takeError()); in setValue()130 ThisValue = *ExpectedValue; in setValue()
1508 explicit ValueEqualsMatcher(const ValueT &ExpectedValue)1509 : ExpectedValue(ExpectedValue) {}1512 return Node.getValue() == ExpectedValue;1516 const ValueT ExpectedValue;1525 return Node.getValue().convertToFloat() == ExpectedValue;1527 return Node.getValue().convertToDouble() == ExpectedValue;1534 return Node.getValue().convertToFloat() == ExpectedValue;1536 return Node.getValue().convertToDouble() == ExpectedValue;1542 return ExpectedValue.compare(Node.getValue()) == llvm::APFloat::cmpEqual;
1894 Value *ExpectedValue = EmitScalarExpr(E->getArg(1)); in EmitBuiltinExpr() local1903 Builder.CreateCall(FnExpect, {ArgValue, ExpectedValue}, "expval"); in EmitBuiltinExpr()