Home
last modified time | relevance | path

Searched refs:ExpectedValue (Results 1 – 17 of 17) 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/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLowerExpectIntrinsic.cpp56 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in HandleSwitchExpect() local
57 if (!ExpectedValue) in HandleSwitchExpect()
63 unsigned caseNo = SI->findCaseValue(ExpectedValue); in HandleSwitchExpect()
103 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in HandleIfExpect() local
104 if (!ExpectedValue) in HandleIfExpect()
109 bool Likely = ExpectedValue->isOne(); in HandleIfExpect()
/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/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/SystemZ/
DSystemZGenDisassemblerTables.inc2944 uint32_t CurFieldValue = 0, ExpectedValue; \
2973 ExpectedValue = (uint32_t)decodeULEB128(++Ptr, &Len); \
2977 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/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/AArch64/
DAArch64GenDisassemblerTables.inc12675 uint32_t CurFieldValue = 0, ExpectedValue; \
12704 ExpectedValue = (uint32_t)decodeULEB128(++Ptr, &Len); \
12708 if (ExpectedValue != FieldValue) \
/external/capstone/arch/ARM/
DARMGenDisassemblerTables.inc13460 uint32_t CurFieldValue = 0, ExpectedValue; \
13489 ExpectedValue = (uint32_t)decodeULEB128(++Ptr, &Len); \
13493 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"));