Searched refs:ExpectedValue (Results 1 - 5 of 5) sorted by relevance
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ReturnValueChecker.cpp | 72 static Optional<bool> isInvariantBreak(bool ExpectedValue, SVal ReturnV, argument 78 if (ExpectedValue) 91 bool ExpectedValue = *RawExpectedValue; local 92 Optional<bool> IsInvariantBreak = isInvariantBreak(ExpectedValue, ReturnV, C); 102 [Name, ExpectedValue](BugReport &) -> std::string { 107 << (ExpectedValue ? "true" : "false"); 113 State = State->assume(ReturnV.castAs<DefinedOrUnknownSVal>(), ExpectedValue); 138 bool ExpectedValue = *RawExpectedValue; local 139 Optional<bool> IsInvariantBreak = isInvariantBreak(ExpectedValue, ReturnV, C); 149 [Name, ExpectedValue](BugRepor [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LowerExpectIntrinsic.cpp | 68 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); local 69 if (!ExpectedValue) 72 SwitchInst::CaseHandle Case = *SI.findCaseValue(ExpectedValue); 102 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(Expect->getArgOperand(1)); local 103 if (!ExpectedValue) 105 const APInt &ExpectedPhiValue = ExpectedValue->getValue(); 284 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); local 285 if (!ExpectedValue) 292 if ((ExpectedValue->getZExtValue() == ValueComparedTo) ==
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | DbiModuleList.cpp | 124 auto ExpectedValue = Modules->getFileName(Off); local 125 if (!ExpectedValue) { 126 consumeError(ExpectedValue.takeError()); 129 ThisValue = *ExpectedValue;
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchersInternal.h | 1566 explicit ValueEqualsMatcher(const ValueT &ExpectedValue) argument 1567 : ExpectedValue(ExpectedValue) {} 1570 return Node.getValue() == ExpectedValue; 1574 const ValueT ExpectedValue; member in class:clang::ast_matchers::internal::ValueEqualsMatcher 1583 return Node.getValue().convertToFloat() == ExpectedValue; 1585 return Node.getValue().convertToDouble() == ExpectedValue; 1592 return Node.getValue().convertToFloat() == ExpectedValue; 1594 return Node.getValue().convertToDouble() == ExpectedValue; 1600 return ExpectedValue [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGBuiltin.cpp | 2143 Value *ExpectedValue = EmitScalarExpr(E->getArg(1)); 2146 // Note, we still IRGen ExpectedValue because it could have side-effects. 2152 Builder.CreateCall(FnExpect, {ArgValue, ExpectedValue}, "expval");
|
Completed in 277 milliseconds