| /llvm-project-15.0.7/lld/MinGW/ |
| H A D | Driver.cpp | 201 StringRef s = a->getValue(); in link() 223 majSubSysVer = a->getValue(); in link() 226 minSubSysVer = a->getValue(); in link() 256 add("-base:" + StringRef(a->getValue())); in link() 268 add("-heap:" + StringRef(a->getValue())); in link() 271 add("-out:" + StringRef(a->getValue())); in link() 279 StringRef v = a->getValue(); in link() 357 StringRef s = a->getValue(); in link() 369 StringRef s = a->getValue(); in link() 386 add(a->getValue()); in link() [all …]
|
| /llvm-project-15.0.7/clang/unittests/Analysis/FlowSensitive/ |
| H A D | TransferTest.cpp | 191 EXPECT_EQ(Env.getValue(*BarLoc), BarVal); in TEST() 239 EXPECT_EQ(Env.getValue(*BarLoc), BarVal); in TEST() 285 EXPECT_EQ(Env.getValue(*BarLoc), BarVal); in TEST() 946 EXPECT_EQ(Env.getValue(*BarLoc), BarVal); in TEST() 1432 const Value *BarVal = Env.getValue(*BarLoc); in TEST() 1463 EXPECT_EQ(Env.getValue(*BazLoc), BazVal); in TEST() 1508 const Value *BarVal = Env.getValue(*BarLoc); in TEST() 1539 EXPECT_EQ(Env.getValue(*BazLoc), BazVal); in TEST() 1580 const Value *BarVal = Env.getValue(*BarLoc); in TEST() 1795 EXPECT_EQ(Env.getValue(*BarLoc), BarVal); in TEST() [all …]
|
| /llvm-project-15.0.7/clang/test/clang-rename/ |
| H A D | ComplicatedClassType.cpp | 5 virtual int getValue() const = 0; 21 int getValue() const { in getValue() function in Foo 35 const_cast<Foo *>(C)->getValue(); // CHECK: const_cast<Bar *>(C)->getValue(); in main() 39 …dynamic_cast<const Foo &>(BazReference).getValue(); /* Test 3 */ // CHECK: dynamic_cast<const … in main() 40 …dynamic_cast<const Foo *>(BazPointer)->getValue(); /* Test 4 */ // CHECK: dynamic_cast<const … in main() 41 …reinterpret_cast<const Foo *>(BazPointer)->getValue(); /* Test 5 */ // CHECK: reinterpret_cast<co… in main() 42 …static_cast<const Foo &>(BazReference).getValue(); /* Test 6 */ // CHECK: static_cast<const B… in main() 43 …static_cast<const Foo *>(BazPointer)->getValue(); /* Test 7 */ // CHECK: static_cast<const B… in main()
|
| /llvm-project-15.0.7/compiler-rt/lib/orc/ |
| H A D | executor_address.h | 33 uint64_t getValue() const { return Value; } in getValue() function 62 uint64_t getValue() const { return Addr; } in getValue() function 104 Addr += Delta.getValue(); 109 Addr -= Delta.getValue(); 120 return ExecutorAddrDiff(LHS.getValue() - RHS.getValue()); 126 return ExecutorAddr(LHS.getValue() + RHS.getValue()); 132 return ExecutorAddr(LHS.getValue() + RHS.getValue()); 160 assert(size().getValue() % sizeof(T) == 0 && in toSpan() 173 return SPSArgList<uint64_t>::size(EA.getValue()); in size() 177 return SPSArgList<uint64_t>::serialize(BOB, EA.getValue()); in serialize() [all …]
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfStringPool.cpp | 48 if (!MapEntry.getValue().isIndexed()) in getIndexedEntry() 49 MapEntry.getValue().Index = NumIndexedStrings++; in getIndexedEntry() 92 return A->getValue().Offset < B->getValue().Offset; in emit() 96 assert(ShouldCreateSymbols == static_cast<bool>(Entry->getValue().Symbol) && in emit() 101 Asm.OutStreamer->emitLabel(Entry->getValue().Symbol); in emit() 105 Twine(Entry->getValue().Offset)); in emit() 116 if (Entry.getValue().isIndexed()) in emit() 117 Entries[Entry.getValue().Index] = &Entry; in emit() 124 Asm.emitDwarfStringOffset(Entry->getValue()); in emit() 126 Asm.OutStreamer->emitIntValue(Entry->getValue().Offset, size); in emit()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_dense_map_test.cpp | 78 int getValue() const { return Value; } in getValue() function in __anona16976e80111::CtorTester 88 return Val.getValue() * 37u; in getHashValue() 113 typename T::mapped_type getValue(int i = 0) { in getValue() function in __anona16976e80111::DenseMapTest 152 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST() 167 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST() 176 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST() 185 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST() 202 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST() 239 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST() 269 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST() [all …]
|
| /llvm-project-15.0.7/lldb/utils/TableGen/ |
| H A D | LLDBPropertyDefEmitter.cpp | 44 OS << (Property->getValue("Global") ? "true" : "false"); in emitProperty() 47 bool hasDefaultUnsignedValue = Property->getValue("HasDefaultUnsignedValue"); in emitProperty() 48 bool hasDefaultEnumValue = Property->getValue("HasDefaultEnumValue"); in emitProperty() 49 bool hasDefaultStringValue = Property->getValue("HasDefaultStringValue"); in emitProperty() 50 bool hasElementType = Property->getValue("HasElementType"); in emitProperty() 64 !Property->getValue("HasDefaultBooleanValue")) && in emitProperty() 96 if (auto D = Property->getValue("DefaultStringValue")) { in emitProperty() 98 OS << D->getValue()->getAsUnquotedString(); in emitProperty() 109 if (Property->getValue("EnumValues")) in emitProperty() 116 if (auto D = Property->getValue("Description")) { in emitProperty() [all …]
|
| H A D | LLDBOptionDefEmitter.cpp | 39 if (Option->getValue("Groups")) { in CommandOption() 44 } else if (Option->getValue("GroupStart")) { in CommandOption() 54 Required = Option->getValue("Required"); in CommandOption() 60 if (auto A = Option->getValue("ArgType")) in CommandOption() 61 ArgType = A->getValue()->getAsUnquotedString(); in CommandOption() 62 OptionalArg = Option->getValue("OptionalArg") != nullptr; in CommandOption() 64 if (Option->getValue("Validator")) in CommandOption() 67 if (Option->getValue("Completions")) in CommandOption() 70 if (auto D = Option->getValue("Description")) in CommandOption() 71 Description = D->getValue()->getAsUnquotedString(); in CommandOption()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | BasicValueFactory.cpp | 84 I.getValue().~APSInt(); in ~BasicValueFactory() 111 return getValue(V); in getValue() 118 return getValue(V); in getValue() 122 return getValue(getAPSIntType(T).getValue(X)); in getValue() 257 return &getValue( V1 * V2 ); in evalAPSInt() 262 return &getValue( V1 / V2 ); in evalAPSInt() 267 return &getValue( V1 % V2 ); in evalAPSInt() 270 return &getValue( V1 + V2 ); in evalAPSInt() 273 return &getValue( V1 - V2 ); in evalAPSInt() 366 return P->getValue(); in getPersistentSValWithData() [all …]
|
| /llvm-project-15.0.7/clang/test/CXX/over/over.built/ |
| H A D | p24.cpp | 8 Variant getValue(); 11 bool ret1 = getValue() || getValue(); in testVariant() 12 bool ret2 = getValue() && getValue(); in testVariant() 13 bool ret3 = !getValue(); in testVariant()
|
| /llvm-project-15.0.7/mlir/lib/Analysis/DataFlow/ |
| H A D | IntegerRangeAnalysis.cpp | 40 Optional<APInt> constant = getValue().getValue().getConstantValue(); in onUpdate() 80 return val->getValue().getValue(); in visitOperation() 93 oldRange = lattice->getValue(); in visitOperation() 105 !(lattice->getValue() == *oldRange)) { in visitOperation() 122 return getLatticeElementFor(op, value)->getValue().getValue(); in visitNonControlFlowArguments() 136 oldRange = lattice->getValue(); in visitNonControlFlowArguments() 147 if (isYieldedValue && oldRange && !(lattice->getValue() == *oldRange)) { in visitNonControlFlowArguments() 168 return bound.getValue(); in visitNonControlFlowArguments() 173 return getUpper ? lattice->getValue().getValue().smax() in visitNonControlFlowArguments() 174 : lattice->getValue().getValue().smin(); in visitNonControlFlowArguments()
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | OpenCLOptions.cpp | 37 auto &OptInfo = OptMap.find(Ext)->getValue(); in isAvailableOption() 46 return I != OptMap.end() && I->getValue().Enabled; in isEnabled() 57 return I != OptMap.end() && I->getValue().Supported && in isSupported() 58 I->getValue().isAvailableIn(LO); in isSupported() 64 return I != OptMap.end() && I->getValue().Supported && in isSupportedCore() 65 I->getValue().isCoreIn(LO); in isSupportedCore() 71 return I != OptMap.end() && I->getValue().Supported && in isSupportedOptionalCore() 72 I->getValue().isOptionalCoreIn(LO); in isSupportedOptionalCore() 83 return I != OptMap.end() && I->getValue().Supported && in isSupportedExtension() 84 I->getValue().isAvailableIn(LO) && in isSupportedExtension() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/PBQP/ |
| H A D | CostAllocator.h | 41 const ValueT &getValue() const { return Value; } in getValue() function 62 return getHashValue(P->getValue()); in getHashValue() 66 return getHashValue(P->getValue()); in getHashValue() 78 return isEqual(C, P->getValue()); in isEqual() 84 return isEqual(P1->getValue(), P2); in isEqual() 95 template <typename ValueKeyT> PoolRef getValue(ValueKeyT ValueKey) { in getValue() function 99 return PoolRef((*I)->shared_from_this(), &(*I)->getValue()); in getValue() 103 return PoolRef(std::move(P), &P->getValue()); in getValue() 119 return VectorPool.getValue(std::move(v)); in getVector() 123 return MatrixPool.getValue(std::move(m)); in getMatrix()
|
| /llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
| H A D | ExecutorAddress.h | 62 uint64_t getValue() const { return Addr; } in getValue() function 120 return ExecutorAddrDiff(LHS.getValue() - RHS.getValue()); 126 return ExecutorAddr(LHS.getValue() + RHS); 132 return ExecutorAddr(LHS + RHS.getValue()); 138 return ExecutorAddr(LHS.getValue() - RHS); 144 return ExecutorAddrDiff(LHS.getValue() % RHS); 176 return OS << formatv("{0:x}", A.getValue()); 180 return OS << formatv("{0:x} -- {1:x}", R.Start.getValue(), R.End.getValue()); 191 return SPSArgList<uint64_t>::size(EA.getValue()); in size() 195 return SPSArgList<uint64_t>::serialize(BOB, EA.getValue()); in serialize() [all …]
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | SwitchLoweringUtils.cpp | 26 const APInt &LowCase = Clusters[First].Low->getValue(); in getJumpTableRange() 57 assert(Clusters[i - 1].High->getValue().slt(Clusters[i].Low->getValue())); in findJumpTables() 75 const APInt &Hi = Clusters[i].High->getValue(); in findJumpTables() 76 const APInt &Lo = Clusters[i].Low->getValue(); in findJumpTables() 209 const APInt &Low = Clusters[I].Low->getValue(); in buildJumpTable() 277 assert(Clusters[i-1].High->getValue().slt(Clusters[i].Low->getValue())); in findBitTestClusters() 381 APInt Low = Clusters[First].Low->getValue(); in buildBitTests() 382 APInt High = Clusters[Last].High->getValue(); in buildBitTests() 399 if (Clusters[I].Low->getValue() != Clusters[I - 1].High->getValue() + 1) { in buildBitTests() 471 return a.Low->getValue().slt(b.Low->getValue()); in sortAndRangeify() [all …]
|
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | ScriptParser.cpp | 170 return a.getValue() - b.getValue(); in sub() 177 (a.getValue() & b.getValue()) - a.getSecAddr(), a.loc}; in bitAnd() 183 (a.getValue() | b.getValue()) - a.getSecAddr(), a.loc}; in bitOr() 1082 return lhs.getValue() * e().getValue(); in readSymbolAssignment() 1093 return lhs.getValue() << e().getValue(); in readSymbolAssignment() 1095 return lhs.getValue() >> e().getValue(); in readSymbolAssignment() 1097 return lhs.getValue() & e().getValue(); in readSymbolAssignment() 1099 return lhs.getValue() | e().getValue(); in readSymbolAssignment() 1126 return [=] { return l().getValue() * r().getValue(); }; in combine() 1150 return [=] { return l().getValue() < r().getValue(); }; in combine() [all …]
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CheckPlacementNew.cpp | 114 if ((SizeOfPlaceCI->getValue() < SizeOfTargetCI->getValue()) || in checkPlaceCapacityIsSufficient() 116 SizeOfPlaceCI->getValue() >= SizeOfTargetCI->getValue())) { in checkPlaceCapacityIsSufficient() 121 SizeOfPlaceCI->getValue() > SizeOfTargetCI->getValue()) in checkPlaceCapacityIsSufficient() 126 SizeOfPlaceCI->getValue(), SizeOfTargetCI->getValue(), in checkPlaceCapacityIsSufficient() 127 SizeOfPlaceCI->getValue() - SizeOfTargetCI->getValue())); in checkPlaceCapacityIsSufficient() 129 SizeOfPlaceCI->getValue() == SizeOfTargetCI->getValue()) in checkPlaceCapacityIsSufficient() 134 SizeOfPlaceCI->getValue(), SizeOfTargetCI->getValue())); in checkPlaceCapacityIsSufficient() 139 SizeOfPlaceCI->getValue(), SizeOfTargetCI->getValue())); in checkPlaceCapacityIsSufficient()
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | DenseMapTest.cpp | 54 int getValue() const { return Value; } in getValue() function in __anon07952c110111::CtorTester 64 return Val.getValue() * 37u; in getHashValue() 89 typename T::mapped_type getValue(int i = 0) { in getValue() function in __anon07952c110111::DenseMapTest 136 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST() 146 EXPECT_EQ(this->getValue(), it->second); in TYPED_TEST() 159 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST() 169 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST() 179 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST() 196 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST() 233 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | BasicValueFactory.h | 168 return getValue(TargetType.convert(From)); in Convert() 180 return getValue(TargetType.convert(From)); in Convert() 185 return getValue(X, T); in getIntValue() 189 return getValue(APSIntType(v).getMaxValue()); in getMaxValue() 193 return getValue(APSIntType(v).getMinValue()); in getMinValue() 205 return getValue(T.getMaxValue()); in getMaxValue() 209 return getValue(T.getMinValue()); in getMinValue() 215 return getValue(X); in Add1() 221 return getValue(X); in Sub1() 226 return getValue(0, Ctx.getTypeSize(T), true); in getZeroWithTypeSize() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SymbolRewriter.cpp | 306 Value = dyn_cast<yaml::MappingNode>(Entry.getValue()); in parseEntry() 312 RewriteType = Key->getValue(KeyStorage); in parseEntry() 346 Value = dyn_cast<yaml::ScalarNode>(Field.getValue()); in parseRewriteFunctionDescriptor() 352 KeyValue = Key->getValue(KeyStorage); in parseRewriteFunctionDescriptor() 356 Source = std::string(Value->getValue(ValueStorage)); in parseRewriteFunctionDescriptor() 362 Target = std::string(Value->getValue(ValueStorage)); in parseRewriteFunctionDescriptor() 415 Value = dyn_cast<yaml::ScalarNode>(Field.getValue()); in parseRewriteGlobalVariableDescriptor() 421 KeyValue = Key->getValue(KeyStorage); in parseRewriteGlobalVariableDescriptor() 425 Source = std::string(Value->getValue(ValueStorage)); in parseRewriteGlobalVariableDescriptor() 478 Value = dyn_cast<yaml::ScalarNode>(Field.getValue()); in parseRewriteGlobalAliasDescriptor() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Utils/ |
| H A D | StructuredOpsUtils.cpp | 19 auto map0 = indexingMaps[0].cast<AffineMapAttr>().getValue(); in isRowMajorMatmul() 20 auto map1 = indexingMaps[1].cast<AffineMapAttr>().getValue(); in isRowMajorMatmul() 21 auto map2 = indexingMaps[2].cast<AffineMapAttr>().getValue(); in isRowMajorMatmul() 45 auto map0 = indexingMaps[0].cast<AffineMapAttr>().getValue(); in isColumnMajorMatmul() 46 auto map1 = indexingMaps[1].cast<AffineMapAttr>().getValue(); in isColumnMajorMatmul() 47 auto map2 = indexingMaps[2].cast<AffineMapAttr>().getValue(); in isColumnMajorMatmul() 71 auto map0 = indexingMaps[0].cast<AffineMapAttr>().getValue(); in isRowMajorBatchMatmul() 72 auto map1 = indexingMaps[1].cast<AffineMapAttr>().getValue(); in isRowMajorBatchMatmul() 73 auto map2 = indexingMaps[2].cast<AffineMapAttr>().getValue(); in isRowMajorBatchMatmul()
|
| /llvm-project-15.0.7/lld/COFF/ |
| H A D | Driver.cpp | 92 StringRef s = arg->getValue(); in getOldNewOptions() 409 parseMerge(arg->getValue()); in parseDirectives() 551 VCToolsDir = A->getValue(); in detectWinSysRoot() 555 WinSysRoot = A->getValue(); in detectWinSysRoot() 570 diaPath = A->getValue(); in detectWinSysRoot() 581 WinSdkDir = A->getValue(); in detectWinSysRoot() 848 StringRef(a->getValue()) in parseDebugTypes() 882 return arg->getValue(); in getMapFile() 1426 v.push_back(arg->getValue()); in linkerMain() 1669 parseGuard(arg->getValue()); in linkerMain() [all …]
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | ELF_riscv.cpp | 307 FixupAddress.getValue())) + in applyFixup() 309 .getValue(); in applyFixup() 316 FixupAddress.getValue())) + in applyFixup() 318 .getValue(); in applyFixup() 325 FixupAddress.getValue())) + in applyFixup() 327 .getValue(); in applyFixup() 336 .getValue(); in applyFixup() 342 FixupAddress.getValue())) - in applyFixup() 349 FixupAddress.getValue())) - in applyFixup() 356 FixupAddress.getValue())) - in applyFixup() [all …]
|
| /llvm-project-15.0.7/mlir/lib/TableGen/ |
| H A D | AttrOrTypeDef.cpp | 98 auto *dialect = dyn_cast<llvm::DefInit>(def->getValue("dialect")->getValue()); in getDialect() 113 const llvm::RecordVal *desc = def->getValue("description"); in hasDescription() 114 return desc && isa<llvm::StringInit>(desc->getValue()); in hasDescription() 122 const llvm::RecordVal *summary = def->getValue("summary"); in hasSummary() 123 return summary && isa<llvm::StringInit>(summary->getValue()); in hasSummary() 213 Optional<decltype(std::declval<InitT>().getValue())> result; in getDefValue() 215 if (auto *init = param->getDef()->getValue(name)) in getDefValue() 217 result = value->getValue(); in getDefValue() 226 return def->getArgName(index)->getValue(); in getName() 244 return stringType->getValue(); in getCppType() [all …]
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | AffineExpr.cpp | 529 return getAffineConstantExpr(lhsConst.getValue() + rhsConst.getValue(), in simplifyAdd() 550 return lBin.getLHS() + (lrhs.getValue() + rhsConst.getValue()); in simplifyAdd() 657 return getAffineConstantExpr(lhsConst.getValue() * rhsConst.getValue(), in simplifyMul() 685 return lBin.getLHS() * (lrhs.getValue() * rhsConst.getValue()); in simplifyMul() 732 floorDiv(lhsConst.getValue(), rhsConst.getValue()), lhs.getContext()); in simplifyFloorDiv() 745 if (lrhs.getValue() % rhsConst.getValue() == 0) in simplifyFloorDiv() 746 return lBin.getLHS() * (lrhs.getValue() / rhsConst.getValue()); in simplifyFloorDiv() 787 ceilDiv(lhsConst.getValue(), rhsConst.getValue()), lhs.getContext()); in simplifyCeilDiv() 800 if (lrhs.getValue() % rhsConst.getValue() == 0) in simplifyCeilDiv() 801 return lBin.getLHS() * (lrhs.getValue() / rhsConst.getValue()); in simplifyCeilDiv() [all …]
|