Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
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()
/external/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp66 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleSwitchExpect() local
67 if (!ExpectedValue) in handleSwitchExpect()
70 SwitchInst::CaseIt Case = SI.findCaseValue(ExpectedValue); in handleSwitchExpect()
118 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleBranchExpect() local
119 if (!ExpectedValue) in handleBranchExpect()
127 if (ExpectedValue->isOne()) in handleBranchExpect()
/external/crosvm/src/
Dargument.rs63 ExpectedValue(String), enumerator
80 ExpectedValue(s) => write!(f, "expected parameter value: {}", s), in fmt()
223 if let Error::ExpectedValue(_) = e { in parse_arguments()
242 if let Error::ExpectedValue(_) = e { in parse_arguments()
291 return Err(Error::ExpectedValue(short.to_string())); in set_arguments()
298 return Err(Error::ExpectedValue(arg.long.to_owned())); in set_arguments()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/
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()
/external/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h1400 explicit ValueEqualsMatcher(const ValueT &ExpectedValue)
1401 : ExpectedValue(ExpectedValue) {}
1404 return Node.getValue() == ExpectedValue;
1408 const ValueT ExpectedValue;
1417 return Node.getValue().convertToFloat() == ExpectedValue;
1419 return Node.getValue().convertToDouble() == ExpectedValue;
1426 return Node.getValue().convertToFloat() == ExpectedValue;
1428 return Node.getValue().convertToDouble() == ExpectedValue;
1434 return ExpectedValue.compare(Node.getValue()) == llvm::APFloat::cmpEqual;
/external/OpenCL-CTS/test_conformance/c11_atomics/
Dtest_atomics.cpp59 …virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValu… in ExpectedValue() function in CBasicTestStore
138 …virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValu… in ExpectedValue() function in CBasicTestInit
230 …virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValu… in ExpectedValue() function in CBasicTestLoad
713 …virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValu… in ExpectedValue() function in CBasicTestFetchAdd
790 …virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValu… in ExpectedValue() function in CBasicTestFetchSub
882 …virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValu… in ExpectedValue() function in CBasicTestFetchOr
974 …virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValu… in ExpectedValue() function in CBasicTestFetchXor
1070 …virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValu… in ExpectedValue() function in CBasicTestFetchAnd
1189 …virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValu… in ExpectedValue() function in CBasicTestFetchOrAnd
1311 …virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValu… in ExpectedValue() function in CBasicTestFetchXor2
[all …]
Dcommon.h153 …virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValu… in ExpectedValue() function
1050 if(!ExpectedValue(expected, threadCount, startRefValues.size() ? &startRefValues[0] : 0, i)) in ExecuteSingleTest()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DARMAttributeParser.cpp28 unsigned ExpectedTag, unsigned ExpectedValue) { in testBuildAttr() argument
40 Parser.getAttributeValue(ExpectedTag) == ExpectedValue); in testBuildAttr()
/external/capstone/arch/XCore/
DXCoreGenDisassemblerTables.inc774 uint32_t CurFieldValue = 0, ExpectedValue; \
803 ExpectedValue = (uint32_t)decodeULEB128(++Ptr, &Len); \
807 if (ExpectedValue != FieldValue) \
/external/capstone/arch/Sparc/
DSparcGenDisassemblerTables.inc1953 uint32_t CurFieldValue = 0, ExpectedValue; \
1982 ExpectedValue = (uint32_t)decodeULEB128(++Ptr, &Len); \
1986 if (ExpectedValue != FieldValue) \
/external/capstone/arch/PowerPC/
DPPCGenDisassemblerTables.inc3202 uint32_t CurFieldValue = 0, ExpectedValue; \
3231 ExpectedValue = (uint32_t)decodeULEB128(++Ptr, &Len); \
3235 if (ExpectedValue != FieldValue) \
/external/capstone/arch/SystemZ/
DSystemZGenDisassemblerTables.inc2944 uint32_t CurFieldValue = 0, ExpectedValue; \
2973 ExpectedValue = (uint32_t)decodeULEB128(++Ptr, &Len); \
2977 if (ExpectedValue != FieldValue) \
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/PowerPC/
DPPCGenDisassemblerTables.inc6617 uint32_t ExpectedValue = decodeULEB128(++Ptr, &Len);
6625 if (ExpectedValue != FieldValue)
6628 << Len << ", " << ExpectedValue << ", " << NumToSkip
6629 << "): FieldValue = " << FieldValue << ", ExpectedValue = "
6630 << ExpectedValue << ": "
6631 << ((ExpectedValue == FieldValue) ? "PASS\n" : "FAIL\n"));
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/Mips/
DMipsGenDisassemblerTables.inc10284 uint32_t ExpectedValue = decodeULEB128(++Ptr, &Len);
10292 if (ExpectedValue != FieldValue)
10295 << Len << ", " << ExpectedValue << ", " << NumToSkip
10296 << "): FieldValue = " << FieldValue << ", ExpectedValue = "
10297 << ExpectedValue << ": "
10298 << ((ExpectedValue == FieldValue) ? "PASS\n" : "FAIL\n"));
/external/capstone/arch/Mips/
DMipsGenDisassemblerTables.inc6514 uint32_t CurFieldValue = 0, ExpectedValue; \
6543 ExpectedValue = (uint32_t)decodeULEB128(++Ptr, &Len); \
6547 if (ExpectedValue != FieldValue) \
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/ARM/
DARMGenDisassemblerTables.inc15109 uint32_t ExpectedValue = decodeULEB128(++Ptr, &Len);
15117 if (ExpectedValue != FieldValue)
15120 << Len << ", " << ExpectedValue << ", " << NumToSkip
15121 << "): FieldValue = " << FieldValue << ", ExpectedValue = "
15122 << ExpectedValue << ": "
15123 << ((ExpectedValue == FieldValue) ? "PASS\n" : "FAIL\n"));
/external/clang/lib/CodeGen/
DCGBuiltin.cpp709 Value *ExpectedValue = EmitScalarExpr(E->getArg(1)); in EmitBuiltinExpr() local
718 Builder.CreateCall(FnExpect, {ArgValue, ExpectedValue}, "expval"); in EmitBuiltinExpr()
/external/capstone/arch/ARM/
DARMGenDisassemblerTables.inc13460 uint32_t CurFieldValue = 0, ExpectedValue; \
13489 ExpectedValue = (uint32_t)decodeULEB128(++Ptr, &Len); \
13493 if (ExpectedValue != FieldValue) \
/external/capstone/arch/AArch64/
DAArch64GenDisassemblerTables.inc12675 uint32_t CurFieldValue = 0, ExpectedValue; \
12704 ExpectedValue = (uint32_t)decodeULEB128(++Ptr, &Len); \
12708 if (ExpectedValue != FieldValue) \
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/AArch64/
DAArch64GenDisassemblerTables.inc22491 uint32_t ExpectedValue = decodeULEB128(++Ptr, &Len);
22499 if (ExpectedValue != FieldValue)
22502 << Len << ", " << ExpectedValue << ", " << NumToSkip
22503 << "): FieldValue = " << FieldValue << ", ExpectedValue = "
22504 << ExpectedValue << ": "
22505 << ((ExpectedValue == FieldValue) ? "PASS\n" : "FAIL\n"));