Searched refs:ExpectedValue (Results 1 – 7 of 7) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LowerExpectIntrinsic.cpp | 87 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 D | LoopStrengthReduce.cpp | 3755 llvm::Value *ExpectedValue = U; in CollectLoopInvariantFixupsAndFormulae() local 3757 if (PhiNode->getIncomingValue(I) == ExpectedValue) { in CollectLoopInvariantFixupsAndFormulae()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | DbiModuleList.cpp | 124 auto ExpectedValue = Modules->getFileName(Off); in setValue() local 125 if (!ExpectedValue) { in setValue() 126 consumeError(ExpectedValue.takeError()); in setValue() 129 ThisValue = *ExpectedValue; in setValue()
|
| /freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersInternal.h | 1736 explicit ValueEqualsMatcher(const ValueT &ExpectedValue) 1737 : ExpectedValue(ExpectedValue) {} 1740 return Node.getValue() == ExpectedValue; 1744 ValueT ExpectedValue; 1753 return Node.getValue().convertToFloat() == ExpectedValue; 1755 return Node.getValue().convertToDouble() == ExpectedValue; 1762 return Node.getValue().convertToFloat() == ExpectedValue; 1764 return Node.getValue().convertToDouble() == ExpectedValue; 1770 return ExpectedValue.compare(Node.getValue()) == llvm::APFloat::cmpEqual;
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | DecoderEmitter.cpp | 2324 << FieldValue << ", ExpectedValue = " << ExpectedValue << ": " in emitDecodeInstruction()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGBuiltin.cpp | 3471 Value *ExpectedValue = EmitScalarExpr(E->getArg(1)); in EmitBuiltinExpr() 3474 // Note, we still IRGen ExpectedValue because it could have side-effects. in EmitBuiltinExpr() 3480 Builder.CreateCall(FnExpect, {ArgValue, ExpectedValue}, "expval"); in EmitBuiltinExpr() 3487 Value *ExpectedValue = EmitScalarExpr(E->getArg(1)); in EmitBuiltinExpr() 3500 // Note, we still IRGen ExpectedValue because it could have side-effects. in EmitBuiltinExpr() 3507 FnExpect, {ArgValue, ExpectedValue, Confidence}, "expval"); in EmitBuiltinExpr() 3467 Value *ExpectedValue = EmitScalarExpr(E->getArg(1)); EmitBuiltinExpr() local 3483 Value *ExpectedValue = EmitScalarExpr(E->getArg(1)); EmitBuiltinExpr() local
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SIInstrInfo.cpp | 10248 this](int64_t ExpectedValue, unsigned SrcSize, in optimizeCompareInstr() 10306 ExpectedValue <<= BitNo; in optimizeCompareInstr() 10309 if (CmpValue != ExpectedValue) { in optimizeCompareInstr() 10312 IsReversedCC = CmpValue == (ExpectedValue ^ Mask); in optimizeCompareInstr()
|