Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp54 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleSwitchExpect() local
55 if (!ExpectedValue) in handleSwitchExpect()
58 SwitchInst::CaseIt Case = SI.findCaseValue(ExpectedValue); in handleSwitchExpect()
106 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleBranchExpect() local
107 if (!ExpectedValue) in handleBranchExpect()
115 if (ExpectedValue->isOne()) in handleBranchExpect()
/external/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h1306 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;
/external/clang/lib/CodeGen/
DCGBuiltin.cpp416 Value *ExpectedValue = EmitScalarExpr(E->getArg(1)); in EmitBuiltinExpr() local
424 Value *Result = Builder.CreateCall2(FnExpect, ArgValue, ExpectedValue, in EmitBuiltinExpr()