Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp87 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleSwitchExpect() local
88 if (!ExpectedValue) in handleSwitchExpect()
91 SwitchInst::CaseHandle Case = *SI.findCaseValue(ExpectedValue); in handleSwitchExpect()
118 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(Expect->getArgOperand(1)); in handlePhiDef() local
119 if (!ExpectedValue) in handlePhiDef()
121 const APInt &ExpectedPhiValue = ExpectedValue->getValue(); in handlePhiDef()
322 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleBrSelExpect() local
323 if (!ExpectedValue) in handleBrSelExpect()
334 if ((ExpectedValue->getZExtValue() == ValueComparedTo) == in handleBrSelExpect()
H A DLoopStrengthReduce.cpp3769 llvm::Value *ExpectedValue = U; in CollectLoopInvariantFixupsAndFormulae() local
3771 if (PhiNode->getIncomingValue(I) == ExpectedValue) { in CollectLoopInvariantFixupsAndFormulae()
/freebsd/contrib/llvm-project/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/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1734 explicit ValueEqualsMatcher(const ValueT &ExpectedValue)
1735 : ExpectedValue(ExpectedValue) {}
1738 return Node.getValue() == ExpectedValue;
1742 ValueT ExpectedValue;
1751 return Node.getValue().convertToFloat() == ExpectedValue;
1753 return Node.getValue().convertToDouble() == ExpectedValue;
1760 return Node.getValue().convertToFloat() == ExpectedValue;
1762 return Node.getValue().convertToDouble() == ExpectedValue;
1768 return ExpectedValue.compare(Node.getValue()) == llvm::APFloat::cmpEqual;
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DDecoderEmitter.cpp2321 << "): FieldValue = " << FieldValue << ", ExpectedValue = " in emitDecodeInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp9777 this](int64_t ExpectedValue, unsigned SrcSize, in optimizeCompareInstr()
9832 ExpectedValue <<= BitNo; in optimizeCompareInstr()
9835 if (CmpValue != ExpectedValue) { in optimizeCompareInstr()
9838 IsReversedCC = CmpValue == (ExpectedValue ^ Mask); in optimizeCompareInstr()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp3369 Value *ExpectedValue = EmitScalarExpr(E->getArg(1)); in EmitBuiltinExpr() local
3378 Builder.CreateCall(FnExpect, {ArgValue, ExpectedValue}, "expval"); in EmitBuiltinExpr()
3385 Value *ExpectedValue = EmitScalarExpr(E->getArg(1)); in EmitBuiltinExpr() local
3405 FnExpect, {ArgValue, ExpectedValue, Confidence}, "expval"); in EmitBuiltinExpr()