Home
last modified time | relevance | path

Searched refs:getValue (Results 1 – 25 of 878) sorted by relevance

12345678910>>...36

/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DOpenCLOptions.cpp24 auto &OptInfo = OptMap.find(Ext)->getValue(); in isAvailableOption()
33 return I != OptMap.end() && I->getValue().Enabled; in isEnabled()
44 return I != OptMap.end() && I->getValue().Supported && in isSupported()
45 I->getValue().isAvailableIn(LO); in isSupported()
51 return I != OptMap.end() && I->getValue().Supported && in isSupportedCore()
52 I->getValue().isCoreIn(LO); in isSupportedCore()
58 return I != OptMap.end() && I->getValue().Supported && in isSupportedOptionalCore()
59 I->getValue().isOptionalCoreIn(LO); in isSupportedOptionalCore()
70 return I != OptMap.end() && I->getValue().Supported && in isSupportedExtension()
71 I->getValue().isAvailableIn(LO) && in isSupportedExtension()
[all …]
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/orc/
H A Dexecutor_address.h33 uint64_t getValue() const { return Value; } in getValue() function
62 uint64_t getValue() const { return Addr; } in getValue() function
110 Addr += Delta.getValue();
115 Addr -= Delta.getValue();
126 return ExecutorAddrDiff(LHS.getValue() - RHS.getValue());
132 return ExecutorAddress(LHS.getValue() + RHS.getValue());
138 return ExecutorAddress(LHS.getValue() + RHS.getValue());
151 assert(size().getValue() % sizeof(T) == 0 && in toSpan()
153 return span<T>(StartAddress.toPtr<T *>(), size().getValue() / sizeof(T)); in toSpan()
164 return SPSArgList<uint64_t>::size(EA.getValue()); in size()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfStringPool.cpp48 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()
/freebsd-13.1/contrib/llvm-project/lld/lib/Driver/
H A DDarwinLdDriver.cpp449 ctx.setOutputPath(outpath->getValue()); in parse()
519 ctx.setBundleLoader(loader->getValue()); in parse()
575 depInfo->getValue()); in parse()
662 expFile->getValue()); in parse()
675 ctx.addExportSymbol(symbol->getValue()); in parse()
688 expFile->getValue()); in parse()
701 ctx.addExportSymbol(symbol->getValue()); in parse()
1046 ctx.addRpath(rPath->getValue()); in parse()
1076 arg->getValue()); in parse()
1090 arg->getValue()); in parse()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/utils/TableGen/
H A DLLDBPropertyDefEmitter.cpp44 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 DLLDBOptionDefEmitter.cpp40 if (Option->getValue("Groups")) { in CommandOption()
45 } else if (Option->getValue("GroupStart")) { in CommandOption()
55 Required = Option->getValue("Required"); in CommandOption()
61 if (auto A = Option->getValue("ArgType")) in CommandOption()
62 ArgType = A->getValue()->getAsUnquotedString(); in CommandOption()
63 OptionalArg = Option->getValue("OptionalArg") != nullptr; in CommandOption()
65 if (Option->getValue("Validator")) in CommandOption()
68 if (Option->getValue("ArgEnum")) in CommandOption()
71 if (Option->getValue("Completions")) in CommandOption()
74 if (auto D = Option->getValue("Description")) in CommandOption()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBasicValueFactory.cpp84 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 …]
H A DSVals.cpp157 const llvm::APSInt &Value = CI.getValue(); in VisitConcreteInt()
175 return CV.getValue()->getType(); in VisitNonLocCompoundVal()
234 return getValue()->begin(); in begin()
238 return getValue()->end(); in end()
265 return LV->getValue() == I; in isConstant()
267 return NV->getValue() == I; in isConstant()
283 svalBuilder.getBasicValueFactory().evalAPSInt(Op, getValue(), R.getValue()); in evalBinOp()
293 return svalBuilder.makeIntVal(~getValue()); in evalComplement()
298 return svalBuilder.makeIntVal(-getValue()); in evalMinus()
310 const llvm::APSInt *X = BasicVals.evalAPSInt(Op, getValue(), R.getValue()); in evalBinOp()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DExecutorAddress.h30 uint64_t getValue() const { return Value; } in getValue() function
59 uint64_t getValue() const { return Addr; } in getValue() function
107 Addr += Delta.getValue();
112 Addr -= Delta.getValue();
123 return ExecutorAddrDiff(LHS.getValue() - RHS.getValue());
129 return ExecutorAddress(LHS.getValue() + RHS.getValue());
135 return ExecutorAddress(LHS.getValue() + RHS.getValue());
157 return SPSArgList<uint64_t>::size(EA.getValue()); in size()
161 return SPSArgList<uint64_t>::serialize(BOB, EA.getValue()); in serialize()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/PBQP/
H A DCostAllocator.h41 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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp26 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 …]
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckPlacementNew.cpp114 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()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBasicValueFactory.h163 return getValue(TargetType.convert(From)); in Convert()
175 return getValue(TargetType.convert(From)); in Convert()
180 return getValue(X, T); in getIntValue()
184 return getValue(APSIntType(v).getMaxValue()); in getMaxValue()
188 return getValue(APSIntType(v).getMinValue()); in getMinValue()
200 return getValue(T.getMaxValue()); in getMaxValue()
204 return getValue(T.getMinValue()); in getMinValue()
210 return getValue(X); in Add1()
216 return getValue(X); in Sub1()
221 return getValue(0, Ctx.getTypeSize(T), true); in getZeroWithTypeSize()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSymbolRewriter.cpp307 Value = dyn_cast<yaml::MappingNode>(Entry.getValue()); in parseEntry()
313 RewriteType = Key->getValue(KeyStorage); in parseEntry()
347 Value = dyn_cast<yaml::ScalarNode>(Field.getValue()); in parseRewriteFunctionDescriptor()
353 KeyValue = Key->getValue(KeyStorage); in parseRewriteFunctionDescriptor()
357 Source = std::string(Value->getValue(ValueStorage)); in parseRewriteFunctionDescriptor()
363 Target = std::string(Value->getValue(ValueStorage)); in parseRewriteFunctionDescriptor()
416 Value = dyn_cast<yaml::ScalarNode>(Field.getValue()); in parseRewriteGlobalVariableDescriptor()
422 KeyValue = Key->getValue(KeyStorage); in parseRewriteGlobalVariableDescriptor()
426 Source = std::string(Value->getValue(ValueStorage)); in parseRewriteGlobalVariableDescriptor()
479 Value = dyn_cast<yaml::ScalarNode>(Field.getValue()); in parseRewriteGlobalAliasDescriptor()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DOptional.h95 T &getValue() LLVM_LVALUE_FUNCTION noexcept { in getValue() function
104 T &&getValue() && noexcept { in getValue() function
195 T &getValue() LLVM_LVALUE_FUNCTION noexcept { in getValue() function
204 T &&getValue() && noexcept { in getValue() function
281 T *getPointer() { return &Storage.getValue(); } in getPointer()
283 return Storage.getValue(); in getValue()
285 T &getValue() LLVM_LVALUE_FUNCTION { return Storage.getValue(); } in getValue() function
292 return getValue();
304 -> Optional<decltype(F(getValue()))> {
305 if (*this) return F(getValue());
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/
H A DWebAssemblyDisassemblerEmitter.cpp34 if (!Def.getValue("Inst")) in emitWebAssemblyDisassemblerTables()
39 ->getValue()); in emitWebAssemblyDisassemblerTables()
55 Def.getValue("StackBased")->getValue()->getCastTo(StringRecTy::get()); in emitWebAssemblyDisassemblerTables()
58 reinterpret_cast<const StringInit *>(StackString)->getValue() == "true"; in emitWebAssemblyDisassemblerTables()
66 auto IsCanonicalExisting = CGIP.second->TheDef->getValue("IsCanonical") in emitWebAssemblyDisassemblerTables()
67 ->getValue() in emitWebAssemblyDisassemblerTables()
73 Def.getValue("IsCanonical")->getValue()->getAsString() == "1"; in emitWebAssemblyDisassemblerTables()
/freebsd-13.1/contrib/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp1052 case EQ: Result = LHSi->getValue() == RHSi->getValue(); break; in Fold()
1053 case NE: Result = LHSi->getValue() != RHSi->getValue(); break; in Fold()
1054 case LE: Result = LHSi->getValue() <= RHSi->getValue(); break; in Fold()
1055 case LT: Result = LHSi->getValue() < RHSi->getValue(); break; in Fold()
1056 case GE: Result = LHSi->getValue() >= RHSi->getValue(); break; in Fold()
1057 case GT: Result = LHSi->getValue() > RHSi->getValue(); break; in Fold()
1120 int64_t LHSv = LHSi->getValue(), RHSv = RHSi->getValue(); in Fold()
1414 auto I = LHSs->getValue().find(MHSs->getValue(), Start); in Fold()
1848 R.set(TArgs[i], NewRec->getValue(TArgs[i])->getValue()); in instantiate()
1954 Init *FieldVal = Def->getValue(FieldName)->getValue(); in Fold()
[all …]
/freebsd-13.1/contrib/llvm-project/lld/COFF/
H A DDriver.cpp113 StringRef s = arg->getValue(); in getOldNewOptions()
405 addUndefined(arg->getValue()); in parseDirectives()
408 parseMerge(arg->getValue()); in parseDirectives()
746 StringRef(a->getValue()) in parseDebugTypes()
780 return arg->getValue(); in getMapFile()
1296 v.push_back(arg->getValue()); in linkerMain()
1303 StringRef s = arg->getValue(); in linkerMain()
1318 StringRef v(arg->getValue()); in linkerMain()
1533 parseGuard(arg->getValue()); in linkerMain()
1582 addUndefined(arg->getValue()); in linkerMain()
[all …]
/freebsd-13.1/contrib/llvm-project/lld/ELF/
H A DScriptParser.cpp165 return a.getValue() - b.getValue(); in sub()
172 (a.getValue() & b.getValue()) - a.getSecAddr(), a.loc}; in bitAnd()
178 (a.getValue() | b.getValue()) - a.getSecAddr(), a.loc}; in bitOr()
1033 return [=] { return l().getValue() * r().getValue(); }; in combine()
1053 return [=] { return l().getValue() << r().getValue(); }; in combine()
1055 return [=] { return l().getValue() >> r().getValue(); }; in combine()
1057 return [=] { return l().getValue() < r().getValue(); }; in combine()
1059 return [=] { return l().getValue() > r().getValue(); }; in combine()
1061 return [=] { return l().getValue() >= r().getValue(); }; in combine()
1063 return [=] { return l().getValue() <= r().getValue(); }; in combine()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Testing/Support/
H A DAnnotations.cpp70 require(I != Points.end() && I->getValue().size() == 1, in point()
72 return I->getValue()[0]; in point()
79 return {I->getValue().begin(), I->getValue().end()}; in points()
84 require(I != Ranges.end() && I->getValue().size() == 1, in range()
86 return I->getValue()[0]; in range()
94 return {I->getValue().begin(), I->getValue().end()}; in ranges()
/freebsd-13.1/contrib/llvm-project/clang/lib/Rewrite/
H A DDeltaTree.cpp95 const SourceDelta &getValue(unsigned i) const { in getValue() function in __anon35c056f90111::DeltaTreeNode
100 SourceDelta &getValue(unsigned i) { in getValue() function in __anon35c056f90111::DeltaTreeNode
191 while (i != e && FileIndex > getValue(i).FileLoc) in DoInsertion()
196 if (i != e && getValue(i).FileLoc == FileIndex) { in DoInsertion()
353 assert(N->getValue(i-1).FileLoc < N->getValue(i).FileLoc); in VerifyTree()
354 FullDelta += N->getValue(i).Delta; in VerifyTree()
364 const SourceDelta &IVal = N->getValue(i); in VerifyTree()
367 assert(IN->getValue(i-1).FileLoc < IVal.FileLoc); in VerifyTree()
376 assert(IN->getChild(i+1)->getValue(0).FileLoc > IVal.FileLoc); in VerifyTree()
421 const SourceDelta &Val = Node->getValue(NumValsGreater); in getDeltaAt()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/InterfaceStub/
H A DIFSHandler.cpp192 ELF::convertArchNameToEMachine(Stub->Target.ArchString.getValue()); in readIFSFromBuffer()
202 ELF::convertEMachineToArchName(Stub.Target.Arch.getValue())); in writeIFSToOutputStream()
222 Stub.Target.Arch.getValue() != OverrideArch.getValue()) { in overrideIFSTarget()
226 Stub.Target.Arch = OverrideArch.getValue(); in overrideIFSTarget()
230 Stub.Target.Endianness.getValue() != OverrideEndianness.getValue()) { in overrideIFSTarget()
234 Stub.Target.Endianness = OverrideEndianness.getValue(); in overrideIFSTarget()
238 Stub.Target.BitWidth.getValue() != OverrideBitWidth.getValue()) { in overrideIFSTarget()
242 Stub.Target.BitWidth = OverrideBitWidth.getValue(); in overrideIFSTarget()
246 Stub.Target.Triple.getValue() != OverrideTriple.getValue()) { in overrideIFSTarget()
250 Stub.Target.Triple = OverrideTriple.getValue(); in overrideIFSTarget()
[all …]
/freebsd-13.1/contrib/llvm-project/lld/MachO/
H A DDriver.cpp175 roots.push_back(arg->getValue()); in getSystemLibraryRoots()
211 if (!strcmp("-1", arg->getValue())) in getLTOCachePolicy()
434 StringRef name = arg->getValue(); in parseLCLinkerOption()
806 return arg->getValue(); in getReproduceOption()
969 StringRef path = arg->getValue(); in handleSymbolPatterns()
1015 addFileList(arg->getValue()); in createFiles()
1162 StringRef v(arg->getValue()); in link()
1166 arg->getValue() + "'"); in link()
1206 config->umbrella = arg->getValue(); in link()
1312 validName(arg->getValue(2)), validName(arg->getValue(3))}; in link()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DSymbolStringPool.h61 ++S->getValue();
66 assert(S->getValue() && "Releasing SymbolStringPtr with zero ref count");
67 --S->getValue();
71 ++S->getValue();
81 assert(S->getValue() && "Releasing SymbolStringPtr with zero ref count");
82 --S->getValue();
91 assert(S->getValue() && "Releasing SymbolStringPtr with zero ref count");
92 --S->getValue();
122 ++S->getValue();
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp65 APSInt ThisVal = getValue(); in compare()
66 APSInt OtherVal = Other.getValue(); in compare()
181 APSInt ThisVal = ConvertedThis.getValue(); in add()
182 APSInt OtherVal = ConvertedOther.getValue(); in add()
205 APSInt ThisVal = ConvertedThis.getValue(); in sub()
206 APSInt OtherVal = ConvertedOther.getValue(); in sub()
229 APSInt ThisVal = ConvertedThis.getValue(); in mul()
286 APSInt ThisVal = ConvertedThis.getValue(); in div()
371 APSInt Val = getValue(); in toString()
562 Res = getMax(DstFXSema).getValue(); in getFromFloatValue()
[all …]

12345678910>>...36