Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp67 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleSwitchExpect() local
68 if (!ExpectedValue) in handleSwitchExpect()
71 SwitchInst::CaseHandle Case = *SI.findCaseValue(ExpectedValue); in handleSwitchExpect()
96 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(Expect->getArgOperand(1)); in handlePhiDef() local
97 if (!ExpectedValue) in handlePhiDef()
99 const APInt &ExpectedPhiValue = ExpectedValue->getValue(); in handlePhiDef()
278 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleBrSelExpect() local
279 if (!ExpectedValue) in handleBrSelExpect()
285 if ((ExpectedValue->getZExtValue() == ValueComparedTo) == in handleBrSelExpect()
/freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/Native/
H A DDbiModuleList.cpp125 auto ExpectedValue = Modules->getFileName(Off); in setValue() local
126 if (!ExpectedValue) { in setValue()
127 consumeError(ExpectedValue.takeError()); in setValue()
130 ThisValue = *ExpectedValue; in setValue()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1508 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;
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGBuiltin.cpp1894 Value *ExpectedValue = EmitScalarExpr(E->getArg(1)); in EmitBuiltinExpr() local
1903 Builder.CreateCall(FnExpect, {ArgValue, ExpectedValue}, "expval"); in EmitBuiltinExpr()