Searched refs:ExpectedValue (Results 1 – 7 of 7) sorted by relevance
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ReturnValueChecker.cpp | 73 static std::optional<bool> isInvariantBreak(bool ExpectedValue, SVal ReturnV, in isInvariantBreak() argument 79 if (ExpectedValue) in isInvariantBreak() 92 bool ExpectedValue = *RawExpectedValue; in checkPostCall() local 94 isInvariantBreak(ExpectedValue, ReturnV, C); in checkPostCall() 104 [Name, ExpectedValue](PathSensitiveBugReport &) -> std::string { in checkPostCall() 109 << (ExpectedValue ? "true" : "false"); in checkPostCall() 115 State = State->assume(ReturnV.castAs<DefinedOrUnknownSVal>(), ExpectedValue); in checkPostCall() 140 bool ExpectedValue = *RawExpectedValue; in checkEndFunction() local 142 isInvariantBreak(ExpectedValue, ReturnV, C); in checkEndFunction() 152 [Name, ExpectedValue](BugReport &BR) -> std::string { in checkEndFunction() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | LowerExpectIntrinsic.cpp | 90 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleSwitchExpect() local 91 if (!ExpectedValue) in handleSwitchExpect() 94 SwitchInst::CaseHandle Case = *SI.findCaseValue(ExpectedValue); in handleSwitchExpect() 124 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(Expect->getArgOperand(1)); in handlePhiDef() local 125 if (!ExpectedValue) in handlePhiDef() 127 const APInt &ExpectedPhiValue = ExpectedValue->getValue(); in handlePhiDef() 326 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleBrSelExpect() local 327 if (!ExpectedValue) in handleBrSelExpect() 338 if ((ExpectedValue->getZExtValue() == ValueComparedTo) == in handleBrSelExpect()
|
| H A D | LoopStrengthReduce.cpp | 3533 llvm::Value *ExpectedValue = U; in CollectLoopInvariantFixupsAndFormulae() local 3535 if (PhiNode->getIncomingValue(I) == ExpectedValue) { in CollectLoopInvariantFixupsAndFormulae()
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | DbiModuleList.cpp | 125 auto ExpectedValue = Modules->getFileName(Off); in setValue() local 126 if (!ExpectedValue) { in setValue() 127 consumeError(ExpectedValue.takeError()); in setValue() 130 ThisValue = *ExpectedValue; in setValue()
|
| /openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersInternal.h | 1738 explicit ValueEqualsMatcher(const ValueT &ExpectedValue) 1739 : ExpectedValue(ExpectedValue) {} 1742 return Node.getValue() == ExpectedValue; 1746 ValueT ExpectedValue; 1755 return Node.getValue().convertToFloat() == ExpectedValue; 1757 return Node.getValue().convertToDouble() == ExpectedValue; 1764 return Node.getValue().convertToFloat() == ExpectedValue; 1766 return Node.getValue().convertToDouble() == ExpectedValue; 1772 return ExpectedValue.compare(Node.getValue()) == llvm::APFloat::cmpEqual;
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | SIInstrInfo.cpp | 8574 this](int64_t ExpectedValue, unsigned SrcSize, in optimizeCompareInstr() 8629 ExpectedValue <<= BitNo; in optimizeCompareInstr() 8632 if (CmpValue != ExpectedValue) { in optimizeCompareInstr() 8635 IsReversedCC = CmpValue == (ExpectedValue ^ Mask); in optimizeCompareInstr()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGBuiltin.cpp | 2762 Value *ExpectedValue = EmitScalarExpr(E->getArg(1)); in EmitBuiltinExpr() local 2771 Builder.CreateCall(FnExpect, {ArgValue, ExpectedValue}, "expval"); in EmitBuiltinExpr() 2778 Value *ExpectedValue = EmitScalarExpr(E->getArg(1)); in EmitBuiltinExpr() local 2798 FnExpect, {ArgValue, ExpectedValue, Confidence}, "expval"); in EmitBuiltinExpr()
|