/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineSpecConstantTests.cpp | 115 struct OffsetValue struct 121 OffsetValue (const deUint32 size_, const deUint32 offset_, const GenericValue value_) in OffsetValue() function 154 bool verifyValues (tcu::TestLog& log, const void* memory, const std::vector<OffsetValue>& expectedV… in verifyValues() 159 …for (std::vector<OffsetValue>::const_iterator it = expectedValues.begin(); it < expectedValues.end… in verifyValues() 185 std::vector<OffsetValue> expectedValues; //!< list of values to check inside the ssbo buffer 446 const std::vector<OffsetValue>& expectedValues); 453 const std::vector<OffsetValue> m_expectedValues; 459 const std::vector<OffsetValue>& expectedValues) in ComputeTestInstance() 542 const std::vector<OffsetValue>& expectedValues, 550 const std::vector<OffsetValue> m_expectedValues; [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | CFLAndersAliasAnalysis.cpp | 134 struct OffsetValue { struct 139 bool operator==(OffsetValue LHS, OffsetValue RHS) { in operator ==() 142 bool operator<(OffsetValue LHS, OffsetValue RHS) { in operator <() 273 template <> struct DenseMapInfo<OffsetValue> { 274 static OffsetValue getEmptyKey() { in getEmptyKey() 275 return OffsetValue{DenseMapInfo<const Value *>::getEmptyKey(), in getEmptyKey() 279 static OffsetValue getTombstoneKey() { in getTombstoneKey() 280 return OffsetValue{DenseMapInfo<const Value *>::getTombstoneKey(), in getTombstoneKey() 284 static unsigned getHashValue(const OffsetValue &OVal) { in getHashValue() 289 static bool isEqual(const OffsetValue &LHS, const OffsetValue &RHS) { in isEqual() [all …]
|
/external/llvm/lib/Target/Lanai/AsmParser/ |
D | LanaiAsmParser.cpp | 44 bool parsePrePost(StringRef Type, int *OffsetValue); 797 bool LanaiAsmParser::parsePrePost(StringRef Type, int *OffsetValue) { in parsePrePost() argument 802 *OffsetValue = -SizeForSuffix(Type); in parsePrePost() 804 *OffsetValue = SizeForSuffix(Type); in parsePrePost() 861 int OffsetValue = 0; in parseMemoryOperand() local 889 PreOp = parsePrePost(Type, &OffsetValue); in parseMemoryOperand() 923 PostOp = parsePrePost(Type, &OffsetValue); in parseMemoryOperand() 933 MCConstantExpr::create(OffsetValue, getContext()); in parseMemoryOperand() 937 if (Offset || OffsetValue != 0) { in parseMemoryOperand()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/AsmParser/ |
D | LanaiAsmParser.cpp | 62 bool parsePrePost(StringRef Type, int *OffsetValue); 819 bool LanaiAsmParser::parsePrePost(StringRef Type, int *OffsetValue) { in parsePrePost() argument 824 *OffsetValue = -SizeForSuffix(Type); in parsePrePost() 826 *OffsetValue = SizeForSuffix(Type); in parsePrePost() 883 int OffsetValue = 0; in parseMemoryOperand() local 911 PreOp = parsePrePost(Type, &OffsetValue); in parseMemoryOperand() 945 PostOp = parsePrePost(Type, &OffsetValue); in parseMemoryOperand() 955 MCConstantExpr::create(OffsetValue, getContext()); in parseMemoryOperand() 959 if (Offset || OffsetValue != 0) { in parseMemoryOperand()
|
/external/llvm/lib/MC/ |
D | MCObjectStreamer.cpp | 470 int64_t OffsetValue; in EmitRelocDirective() local 471 if (!Offset.evaluateAsAbsolute(OffsetValue)) in EmitRelocDirective() 474 if (OffsetValue < 0) in EmitRelocDirective() 489 DF->getFixups().push_back(MCFixup::create(OffsetValue, Expr, Kind, Loc)); in EmitRelocDirective()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/ |
D | MCObjectStreamer.cpp | 597 int64_t OffsetValue; in EmitRelocDirective() local 598 if (!Offset.evaluateAsAbsolute(OffsetValue)) in EmitRelocDirective() 601 if (OffsetValue < 0) in EmitRelocDirective() 616 DF->getFixups().push_back(MCFixup::create(OffsetValue, Expr, Kind, Loc)); in EmitRelocDirective()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | IRBuilder.h | 2121 Value *OffsetValue) { in CreateAlignmentAssumptionHelper() argument 2124 if (OffsetValue) { in CreateAlignmentAssumptionHelper() 2126 if (const auto *CI = dyn_cast<ConstantInt>(OffsetValue)) in CreateAlignmentAssumptionHelper() 2130 if (OffsetValue->getType() != IntPtrTy) in CreateAlignmentAssumptionHelper() 2131 OffsetValue = CreateIntCast(OffsetValue, IntPtrTy, /*isSigned*/ true, in CreateAlignmentAssumptionHelper() 2133 PtrIntValue = CreateSub(PtrIntValue, OffsetValue, "offsetptr"); in CreateAlignmentAssumptionHelper() 2152 Value *OffsetValue = nullptr) { 2160 OffsetValue); 2174 Value *OffsetValue = nullptr) { 2192 OffsetValue);
|
/external/llvm/include/llvm/IR/ |
D | IRBuilder.h | 1767 Value *OffsetValue = nullptr) { 1777 if (OffsetValue) { 1779 if (ConstantInt *CI = dyn_cast<ConstantInt>(OffsetValue)) 1783 if (OffsetValue->getType() != IntPtrTy) 1784 OffsetValue = CreateIntCast(OffsetValue, IntPtrTy, /*isSigned*/ true, 1786 PtrIntValue = CreateSub(PtrIntValue, OffsetValue, "offsetptr");
|
/external/llvm/lib/Target/Mips/AsmParser/ |
D | MipsAsmParser.cpp | 3191 int64_t OffsetValue = OffsetImmOp.getImm(); in expandUlh() local 3203 if (!isInt<16>(OffsetValue + 1) || !isInt<16>(OffsetValue)) { in expandUlh() 3206 if (loadImmediate(OffsetValue, ATReg, Mips::NoRegister, !ABI.ArePtrs64bit(), in expandUlh() 3226 FirstLbuOffset = LoadedOffsetInAT ? 1 : (OffsetValue + 1); in expandUlh() 3227 SecondLbuOffset = LoadedOffsetInAT ? 0 : OffsetValue; in expandUlh() 3229 FirstLbuOffset = LoadedOffsetInAT ? 0 : OffsetValue; in expandUlh() 3230 SecondLbuOffset = LoadedOffsetInAT ? 1 : (OffsetValue + 1); in expandUlh() 3267 int64_t OffsetValue = OffsetImmOp.getImm(); in expandUlw() local 3274 if (!isInt<16>(OffsetValue + 3) || !isInt<16>(OffsetValue)) { in expandUlw() 3282 if (loadImmediate(OffsetValue, ATReg, Mips::NoRegister, !ABI.ArePtrs64bit(), in expandUlw() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/AsmParser/ |
D | MipsAsmParser.cpp | 4161 int64_t OffsetValue = OffsetImmOp.getImm(); in expandUlh() local 4170 bool IsLargeOffset = !(isInt<16>(OffsetValue + 1) && isInt<16>(OffsetValue)); in expandUlh() 4172 if (loadImmediate(OffsetValue, ATReg, SrcReg, !ABI.ArePtrs64bit(), true, in expandUlh() 4177 int64_t FirstOffset = IsLargeOffset ? 0 : OffsetValue; in expandUlh() 4178 int64_t SecondOffset = IsLargeOffset ? 1 : (OffsetValue + 1); in expandUlh() 4213 int64_t OffsetValue = OffsetImmOp.getImm(); in expandUsh() local 4220 bool IsLargeOffset = !(isInt<16>(OffsetValue + 1) && isInt<16>(OffsetValue)); in expandUsh() 4222 if (loadImmediate(OffsetValue, ATReg, SrcReg, !ABI.ArePtrs64bit(), true, in expandUsh() 4227 int64_t FirstOffset = IsLargeOffset ? 1 : (OffsetValue + 1); in expandUsh() 4228 int64_t SecondOffset = IsLargeOffset ? 0 : OffsetValue; in expandUsh() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGObjCGNU.cpp | 2229 llvm::Constant *OffsetValue = llvm::ConstantInt::get(IntTy, Offset); in GenerateClass() local 2235 OffsetVar->setInitializer(OffsetValue); in GenerateClass() 2243 OffsetValue, in GenerateClass() 2246 IvarOffsets.push_back(OffsetValue); in GenerateClass()
|
D | CGCall.cpp | 4117 llvm::Value *OffsetValue = nullptr; in EmitCall() local 4119 OffsetValue = EmitScalarExpr(Offset); in EmitCall() 4124 OffsetValue); in EmitCall()
|
D | CodeGenFunction.h | 2089 llvm::Value *OffsetValue = nullptr) { 2091 OffsetValue);
|
D | CGBuiltin.cpp | 723 Value *OffsetValue = in EmitBuiltinExpr() local 730 EmitAlignmentAssumption(PtrValue, Alignment, OffsetValue); in EmitBuiltinExpr()
|
/external/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 2617 int64_t OffsetValue; in parseDirectiveReloc() local 2618 if (!Offset->evaluateAsAbsolute(OffsetValue)) in parseDirectiveReloc() 2621 if (OffsetValue < 0) in parseDirectiveReloc()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 2932 int64_t OffsetValue; in parseDirectiveReloc() local 2938 if (check(!Offset->evaluateAsAbsolute(OffsetValue, in parseDirectiveReloc() 2941 check(OffsetValue < 0, OffsetLoc, "expression is negative") || in parseDirectiveReloc()
|