Home
last modified time | relevance | path

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

12345678910>>...36

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBasicValueFactory.cpp84 I.getValue().~APSInt(); in ~BasicValueFactory()
110 return getValue(V); in getValue()
117 return getValue(V); in getValue()
121 return getValue(getAPSIntType(T).getValue(X)); in getValue()
253 return &getValue( V1 * V2 ); in evalAPSInt()
258 return &getValue( V1 / V2 ); in evalAPSInt()
263 return &getValue( V1 % V2 ); in evalAPSInt()
266 return &getValue( V1 + V2 ); in evalAPSInt()
269 return &getValue( V1 - V2 ); in evalAPSInt()
353 return P->getValue(); in getPersistentSValWithData()
[all …]
H A DSVals.cpp114 return &CI->getValue(); in getAsInteger()
116 return &CI->getValue(); in getAsInteger()
146 const llvm::APSInt &Value = CI.getValue(); in VisitConcreteInt()
160 return CV.getValue()->getType(); in VisitCompoundVal()
221 return getValue()->begin(); in begin()
225 return getValue()->end(); in end()
252 return LV->getValue() == I; in isConstant()
254 return NV->getValue() == I; in isConstant()
300 const auto &Value = castAs<nonloc::ConcreteInt>().getValue(); in dumpToStream()
366 os << castAs<loc::ConcreteInt>().getValue().getZExtValue() << " (Loc)"; in dumpToStream()
/freebsd-14.2/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-14.2/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.cpp39 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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DOrcABISupport.cpp412 assert((ReentryCtxAddr.getValue() >> 32) == 0 && in writeResolverCode()
478 assert((StubsBlockTargetAddress.getValue() >> 32) == 0 && in writeIndirectStubsBlock()
480 assert((PointersBlockTargetAddress.getValue() >> 32) == 0 && in writeIndirectStubsBlock()
508 uint64_t PtrAddr = PointersBlockTargetAddress.getValue(); in writeIndirectStubsBlock()
628 uint32_t RHiAddr = ((ResolverAddr.getValue() + 0x8000) >> 16); in writeTrampolines()
647 assert((StubsBlockTargetAddress.getValue() >> 32) == 0 && in writeIndirectStubsBlock()
678 uint64_t PtrAddr = PointersBlockTargetAddress.getValue(); in writeIndirectStubsBlock()
791 0x64840000 | (ReentryCtxAddr.getValue() & 0xFFFF); in writeResolverCode()
808 (((ReentryFnAddr.getValue() + 0x800080008000) >> 48) & 0xFFFF); in writeResolverCode()
846 uint64_t HiAddr = ((ResolverAddr.getValue() + 0x8000) >> 16); in writeTrampolines()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DOpenCLOptions.cpp37 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 …]
/freebsd-14.2/contrib/llvm-project/lld/ELF/
H A DScriptParser.cpp167 return a.getValue() - b.getValue(); in sub()
174 (a.getValue() & b.getValue()) - a.getSecAddr(), a.loc}; in bitAnd()
1105 return lhs.getValue() * e().getValue(); in readSymbolAssignment()
1116 return lhs.getValue() << e().getValue() % 64; in readSymbolAssignment()
1118 return lhs.getValue() >> e().getValue() % 64; in readSymbolAssignment()
1120 return lhs.getValue() & e().getValue(); in readSymbolAssignment()
1122 return lhs.getValue() ^ e().getValue(); in readSymbolAssignment()
1124 return lhs.getValue() | e().getValue(); in readSymbolAssignment()
1152 return [=] { return l().getValue() * r().getValue(); }; in combine()
1176 return [=] { return l().getValue() < r().getValue(); }; in combine()
[all …]
/freebsd-14.2/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(P, &P->getValue()); in getValue()
119 return VectorPool.getValue(std::move(v)); in getVector()
123 return MatrixPool.getValue(std::move(m)); in getMatrix()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp58 assert(Clusters[i - 1].High->getValue().slt(Clusters[i].Low->getValue())); in findJumpTables()
76 const APInt &Hi = Clusters[i].High->getValue(); in findJumpTables()
77 const APInt &Lo = Clusters[i].Low->getValue(); in findJumpTables()
211 const APInt &Low = Clusters[I].Low->getValue(); in buildJumpTable()
279 assert(Clusters[i-1].High->getValue().slt(Clusters[i].Low->getValue())); in findBitTestClusters()
383 APInt Low = Clusters[First].Low->getValue(); in buildBitTests()
384 APInt High = Clusters[Last].High->getValue(); in buildBitTests()
401 if (Clusters[I].Low->getValue() != Clusters[I - 1].High->getValue() + 1) { in buildBitTests()
473 return a.Low->getValue().slt(b.Low->getValue()); in sortAndRangeify()
485 (CaseVal->getValue() - Clusters[DstIndex - 1].High->getValue()) == 1) { in sortAndRangeify()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSymbolRewriter.cpp304 Value = dyn_cast<yaml::MappingNode>(Entry.getValue()); in parseEntry()
310 RewriteType = Key->getValue(KeyStorage); in parseEntry()
344 Value = dyn_cast<yaml::ScalarNode>(Field.getValue()); in parseRewriteFunctionDescriptor()
350 KeyValue = Key->getValue(KeyStorage); in parseRewriteFunctionDescriptor()
354 Source = std::string(Value->getValue(ValueStorage)); in parseRewriteFunctionDescriptor()
360 Target = std::string(Value->getValue(ValueStorage)); in parseRewriteFunctionDescriptor()
413 Value = dyn_cast<yaml::ScalarNode>(Field.getValue()); in parseRewriteGlobalVariableDescriptor()
419 KeyValue = Key->getValue(KeyStorage); in parseRewriteGlobalVariableDescriptor()
423 Source = std::string(Value->getValue(ValueStorage)); in parseRewriteGlobalVariableDescriptor()
476 Value = dyn_cast<yaml::ScalarNode>(Field.getValue()); in parseRewriteGlobalAliasDescriptor()
[all …]
H A DLowerSwitch.cpp90 return CI1->getValue().slt(CI2->getValue()); in operator ()()
100 O << "[" << B->Low->getValue() << ", " << B->High->getValue() << "]"; in operator <<()
210 APInt Range = Leaf.High->getValue() - Leaf.Low->getValue(); in NewLeafBlock()
242 APInt NumMergedCases = UpperBound->getValue() - LowerBound->getValue(); in SwitchConvert()
273 APInt GapLow = LHS.back().High->getValue() + 1; in SwitchConvert()
274 APInt GapHigh = NewLowerBound->getValue() - 1; in SwitchConvert()
327 const APInt &nextValue = J->Low->getValue(); in Clusterify()
328 const APInt &currentValue = I->High->getValue(); in Clusterify()
422 const APInt &Low = Cases.front().Low->getValue(); in ProcessSwitchInst()
444 const APInt &Low = I.Low->getValue(); in ProcessSwitchInst()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBasicValueFactory.h174 return getValue(TargetType.convert(From)); in Convert()
186 return getValue(TargetType.convert(From)); in Convert()
191 return getValue(X, T); in getIntValue()
195 return getValue(APSIntType(v).getMaxValue()); in getMaxValue()
199 return getValue(APSIntType(v).getMinValue()); in getMinValue()
211 return getValue(T.getMaxValue()); in getMaxValue()
215 return getValue(T.getMinValue()); in getMinValue()
221 return getValue(X); in Add1()
227 return getValue(X); in Sub1()
232 return getValue(0, Ctx.getTypeSize(T), true); in getZeroWithTypeSize()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp1111 Result = LHSi->getValue() == RHSi->getValue(); in CompareInit()
1114 Result = LHSi->getValue() != RHSi->getValue(); in CompareInit()
1117 Result = LHSi->getValue() <= RHSi->getValue(); in CompareInit()
1120 Result = LHSi->getValue() < RHSi->getValue(); in CompareInit()
1123 Result = LHSi->getValue() >= RHSi->getValue(); in CompareInit()
1126 Result = LHSi->getValue() > RHSi->getValue(); in CompareInit()
1142 Result = LHSs->getValue() == RHSs->getValue(); in CompareInit()
1145 Result = LHSs->getValue() != RHSs->getValue(); in CompareInit()
1148 Result = LHSs->getValue() <= RHSs->getValue(); in CompareInit()
1151 Result = LHSs->getValue() < RHSs->getValue(); in CompareInit()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DExecutorAddress.h105 uint64_t getValue() const { return Addr; } in getValue() function
163 return ExecutorAddrDiff(LHS.getValue() - RHS.getValue());
169 return ExecutorAddr(LHS.getValue() + RHS);
175 return ExecutorAddr(LHS + RHS.getValue());
181 return ExecutorAddr(LHS.getValue() - RHS);
187 return ExecutorAddrDiff(LHS.getValue() % RHS);
240 return OS << formatv("{0:x}", A.getValue());
244 return OS << formatv("{0:x} -- {1:x}", R.Start.getValue(), R.End.getValue());
255 return SPSArgList<uint64_t>::size(EA.getValue()); in size()
259 return SPSArgList<uint64_t>::serialize(BOB, EA.getValue()); in serialize()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A DObjcopyOptions.cpp315 MachineInfo MI = Iter->getValue(); in getOutputTargetInfoByTargetName()
579 Positional.push_back(Arg->getValue()); in parseObjcopyOptions()
715 A->getValue()); in parseObjcopyOptions()
862 StringRef Value(Arg->getValue()); in parseObjcopyOptions()
1064 StringRef RPath = Arg->getValue(); in parseInstallNameToolOptions()
1082 StringRef Old = Arg->getValue(0); in parseInstallNameToolOptions()
1083 StringRef New = Arg->getValue(1); in parseInstallNameToolOptions()
1132 {Arg->getValue(0), Arg->getValue(1)}); in parseInstallNameToolOptions()
1142 Positional.push_back(Arg->getValue()); in parseInstallNameToolOptions()
1191 Positional.push_back(Arg->getValue()); in parseBitcodeStripOptions()
[all …]
/freebsd-14.2/contrib/llvm-project/lld/COFF/
H A DDriver.cpp87 StringRef s = arg->getValue(); in getOldNewOptions()
439 parseMerge(arg->getValue()); in parseDirectives()
586 VCToolsDir = A->getValue(); in detectWinSysRoot()
590 WinSysRoot = A->getValue(); in detectWinSysRoot()
605 diaPath = A->getValue(); in detectWinSysRoot()
616 WinSdkDir = A->getValue(); in detectWinSysRoot()
866 StringRef(a->getValue()) in parseDebugTypes()
901 return arg->getValue(); in getMapFile()
1465 v.push_back(arg->getValue()); in linkerMain()
1788 parseGuard(arg->getValue()); in linkerMain()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Frontend/HLSL/
H A DHLSLResource.cpp23 cast<ConstantAsMetadata>(Entry->getOperand(0))->getValue()); in getGlobalVariable()
29 cast<ConstantAsMetadata>(Entry->getOperand(1))->getValue()) in getResourceKind()
35 cast<ConstantAsMetadata>(Entry->getOperand(2))->getValue()) in getElementType()
40 cast<ConstantAsMetadata>(Entry->getOperand(3))->getValue()) in getIsROV()
45 cast<ConstantAsMetadata>(Entry->getOperand(4))->getValue()) in getResourceIndex()
50 cast<ConstantAsMetadata>(Entry->getOperand(5))->getValue()) in getSpace()
/freebsd-14.2/contrib/llvm-project/clang/lib/Rewrite/
H A DDeltaTree.cpp95 const SourceDelta &getValue(unsigned i) const { in getValue() function in __anon546ba07b0111::DeltaTreeNode
100 SourceDelta &getValue(unsigned i) { in getValue() function in __anon546ba07b0111::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-14.2/contrib/llvm-project/lld/MachO/
H A DDriver.cpp202 roots.push_back(arg->getValue()); in getSystemLibraryRoots()
237 add(arg->getValue()); in getLTOCachePolicy()
240 if (!strcmp("-1", arg->getValue())) in getLTOCachePolicy()
878 return arg->getValue(); in getReproduceOption()
889 StringRef s = arg->getValue(); in getOldNewOptions()
1113 StringRef path = arg->getValue(); in parseSymbolPatternsFile()
1554 StringRef v(arg->getValue()); in link()
1558 arg->getValue() + "'"); in link()
1684 std::make_pair(arg->getValue(0), arg->getValue(1))); in link()
1761 validName(arg->getValue(2)), validName(arg->getValue(3))}; in link()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp74 APSInt ThisVal = getValue(); in compare()
75 APSInt OtherVal = Other.getValue(); in compare()
186 APSInt ThisVal = ConvertedThis.getValue(); in add()
187 APSInt OtherVal = ConvertedOther.getValue(); in add()
210 APSInt ThisVal = ConvertedThis.getValue(); in sub()
211 APSInt OtherVal = ConvertedOther.getValue(); in sub()
234 APSInt ThisVal = ConvertedThis.getValue(); in mul()
291 APSInt ThisVal = ConvertedThis.getValue(); in div()
382 APSInt Val = getValue(); in toString()
593 Res = getMax(DstFXSema).getValue(); in getFromFloatValue()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp6267 SDValue Val = getValue(MI.getValue()); in visitIntrinsicCall()
6627 getValue(I.getArgOperand(0)), getValue(I.getArgOperand(1)), Flags); in visitIntrinsicCall()
8493 DAG, getCurSDLoc(), DAG.getRoot(), getValue(LHS), getValue(RHS), in visitMemCmpBCmpCall()
8580 getValue(Src), getValue(Char), getValue(Length), in visitMemChrCall()
8642 getValue(Arg0), getValue(Arg1), in visitStrCpyCall()
8665 getValue(Arg0), getValue(Arg1), in visitStrCmpCall()
8709 getValue(Arg0), getValue(Arg1), in visitStrNLenCall()
10171 SDValue To[] = {PPV.getValue(1), PPV.getValue(2)}; in visitPatchpoint()
11478 a.Low->getValue().slt(b.Low->getValue()); in lowerWorkItem()
11689 (FirstLeft->High->getValue() + 1LL) == Pivot->getValue()) { in splitWorkItem()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/
H A DCSKY.cpp31 llvm::CSKY::ArchKind ArchKind = llvm::CSKY::parseArch(A->getValue()); in getCSKYArchName()
37 return std::optional<llvm::StringRef>(A->getValue()); in getCSKYArchName()
41 llvm::CSKY::ArchKind ArchKind = llvm::CSKY::parseCPUArch(A->getValue()); in getCSKYArchName()
62 ABI = llvm::StringSwitch<csky::FloatABI>(A->getValue()) in getCSKYFloatABI()
125 ArchKind = llvm::CSKY::parseArch(A->getValue()); in getCSKYTargetFeatures()
130 archName = A->getValue(); in getCSKYTargetFeatures()
134 llvm::CSKY::ArchKind Kind = llvm::CSKY::parseCPUArch(A->getValue()); in getCSKYTargetFeatures()
143 cpuName = A->getValue(); in getCSKYTargetFeatures()
168 getCSKYFPUFeatures(D, FPUArg, Args, FPUArg->getValue(), Features); in getCSKYTargetFeatures()
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DVarLenCodeEmitterGen.cpp174 auto NumBitsVal = cast<IntInit>(NumBits)->getValue(); in buildRec()
195 auto HiBitVal = cast<IntInit>(HiBit)->getValue(), in buildRec()
196 LoBitVal = cast<IntInit>(LoBit)->getValue(); in buildRec()
237 if (const RecordVal *RV = R->getValue("EncodingInfos")) { in run()
245 RecordVal *RV = EncodingDef->getValue("Inst"); in run()
246 DagInit *DI = cast<DagInit>(RV->getValue()); in run()
252 RecordVal *RV = R->getValue("Inst"); in run()
253 DagInit *DI = cast<DagInit>(RV->getValue()); in run()
390 Value.setBitVal(i + Idx, B->getValue()); in emitInstructionBaseValues()
394 Value.setBitVal(i, BI->getValue()); in emitInstructionBaseValues()
[all …]

12345678910>>...36