Searched refs:ExpectedValue (Results 1 – 3 of 3) sorted by relevance
54 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleSwitchExpect() local55 if (!ExpectedValue) in handleSwitchExpect()58 SwitchInst::CaseIt Case = SI.findCaseValue(ExpectedValue); in handleSwitchExpect()106 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleBranchExpect() local107 if (!ExpectedValue) in handleBranchExpect()115 if (ExpectedValue->isOne()) in handleBranchExpect()
1306 explicit ValueEqualsMatcher(const ValueT &ExpectedValue)1307 : ExpectedValue(ExpectedValue) {}1310 return Node.getValue() == ExpectedValue;1314 const ValueT ExpectedValue;1323 return Node.getValue().convertToFloat() == ExpectedValue;1325 return Node.getValue().convertToDouble() == ExpectedValue;1332 return Node.getValue().convertToFloat() == ExpectedValue;1334 return Node.getValue().convertToDouble() == ExpectedValue;1340 return ExpectedValue.compare(Node.getValue()) == llvm::APFloat::cmpEqual;
416 Value *ExpectedValue = EmitScalarExpr(E->getArg(1)); in EmitBuiltinExpr() local424 Value *Result = Builder.CreateCall2(FnExpect, ArgValue, ExpectedValue, in EmitBuiltinExpr()