/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/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("Descriptio 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() in CommandOption() [all...] |
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | OrcABISupport.cpp | 411 assert((ReentryFnAddr.getValue() >> 32) == 0 && "ReentryFnAddr out of range"); in writeResolverCode() 412 assert((ReentryCtxAddr.getValue() >> 32) == 0 && in writeResolverCode() 464 assert((ResolverAddr.getValue() >> 32) == 0 && "ResolverAddr out of range"); in writeTrampolines() 478 assert((StubsBlockTargetAddress.getValue() >> 32) == 0 && in writeIndirectStubsBlock() 480 assert((PointersBlockTargetAddress.getValue() >> 32) == 0 && in writeIndirectStubsBlock() 508 uint64_t PtrAddr = PointersBlockTargetAddress.getValue(); in writeIndirectStubsBlock() 603 0x3c040000 | (((ReentryCtxAddr.getValue() + 0x8000) >> 16) & 0xFFFF); in writeResolverCode() 604 uint32_t ReentryCtxADDiu = 0x24840000 | (ReentryCtxAddr.getValue() & 0xFFFF); in writeResolverCode() 611 0x3c190000 | (((ReentryFnAddr.getValue() + 0x8000) >> 16) & 0xFFFF); in writeResolverCode() 612 uint32_t ReentryFnADDiu = 0x27390000 | (ReentryFnAddr.getValue() & 0xFFFF); in writeResolverCode() [all …]
|
/freebsd/contrib/llvm-project/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 …]
|
/freebsd/contrib/llvm-project/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(P, &P->getValue()); in getValue() 119 return VectorPool.getValue(std::move(v)); in getVector() 123 return MatrixPool.getValue(std::move(m)); in getMatrix()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | SwitchLoweringUtils.cpp | 26 const APInt &LowCase = Clusters[First].Low->getValue(); in getJumpTableRange() 27 const APInt &HighCase = Clusters[Last].High->getValue(); in getJumpTableRange() 58 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() 212 const APInt &Low = Clusters[I].Low->getValue(); in buildJumpTable() 213 const APInt &High = Clusters[I].High->getValue(); in buildJumpTable() 217 const APInt &PreviousHigh = Clusters[I - 1].High->getValue(); in buildJumpTable() 231 Clusters[First].Low->getValue(), in buildJumpTable() 232 Clusters[Last].High->getValue(), *DL)) { in buildJumpTable() [all …]
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | ScriptParser.cpp | 168 return {a.sec, a.forceAbsolute, a.getSectionOffset() + b.getValue(), a.loc}; in add() 174 return a.getValue() - b.getValue(); in sub() 175 return {a.sec, false, a.getSectionOffset() - b.getValue(), a.loc}; in sub() 181 (a.getValue() & b.getValue()) - a.getSecAddr(), a.loc}; in bitAnd() 187 (a.getValue() ^ b.getValue()) - a.getSecAddr(), a.loc}; in bitXor() 193 (a.getValue() | b.getValue()) - a.getSecAddr(), a.loc}; in bitOr() 531 cmd.flags = readParenExpr()().getValue(); in readPhdrs() 608 return addrExpr().getValue() + max; in readOverlay() 859 if (!e().getValue()) in readAssert() 896 cmd->type = readExpr()().getValue(); in readSectionDirective() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SymbolRewriter.cpp | 304 Value = dyn_cast<yaml::MappingNode>(Entry.getValue()); in parseEntry() 306 YS.printError(Entry.getValue(), "rewrite descriptor must be a map"); in parseEntry() 310 RewriteType = Key->getValue(KeyStorage); in parseEntry() 344 Value = dyn_cast<yaml::ScalarNode>(Field.getValue()); in parseRewriteFunctionDescriptor() 346 YS.printError(Field.getValue(), "descriptor value must be a scalar"); 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() 362 Transform = std::string(Value->getValue(ValueStorage)); in parseRewriteFunctionDescriptor() 366 Undecorated = std::string(Value->getValue(ValueStorage)); in parseRewriteFunctionDescriptor() [all …]
|
H A D | LowerSwitch.cpp | 90 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() 257 LLVM_DEBUG(dbgs() << "Pivot ==> [" << Pivot.Low->getValue() << ", " in SwitchConvert() 258 << Pivot.High->getValue() << "]\n"); in SwitchConvert() 269 NewLowerBound->getValue() - 1); in SwitchConvert() 273 APInt GapLow = LHS.back().High->getValue() + 1; in SwitchConvert() 274 APInt GapHigh = NewLowerBound->getValue() - 1; in SwitchConvert() 280 LLVM_DEBUG(dbgs() << "LHS Bounds ==> [" << LowerBound->getValue() << ", " in SwitchConvert() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | BasicValueFactory.h | 132 const llvm::APSInt& getValue(uint64_t X, unsigned BitWidth, bool isUnsigned); 143 const llvm::APSInt& getValue(const llvm::APSInt& X); 144 const llvm::APSInt& getValue(const llvm::APInt& X, bool isUnsigned); 145 const llvm::APSInt& getValue(uint64_t X, QualType T); 174 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() [all …]
|
H A D | SValBuilder.h | 281 return nonloc::ConcreteInt(BasicVals.getValue(0, ArrayIndexTy)); in makeZeroArrayIndex() 285 return nonloc::ConcreteInt(BasicVals.getValue(idx, ArrayIndexTy)); in makeArrayIndex() 292 BasicVals.getValue(integer->getValue(), in makeIntVal() 297 return makeTruthVal(boolean->getValue(), boolean->getType()); in makeBoolVal() 303 return nonloc::ConcreteInt(BasicVals.getValue(integer)); in makeIntVal() 307 return loc::ConcreteInt(BasicVals.getValue(integer)); in makeIntLocVal() 311 return nonloc::ConcreteInt(BasicVals.getValue(integer, isUnsigned)); in makeIntVal() 316 return loc::ConcreteInt(BasicVals.getValue(integer, type)); in makeIntVal() 318 return nonloc::ConcreteInt(BasicVals.getValue(integer, type)); in makeIntVal() 326 return nonloc::ConcreteInt(BasicVals.getValue(integer, ptrType)); in makeIntValWithWidth() [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-objcopy/ |
H A D | ObjcopyOptions.cpp | 333 MachineInfo MI = Iter->getValue(); in getOutputTargetInfoByTargetName() 635 Positional.push_back(Arg->getValue()); in parseObjcopyOptions() 707 std::tie(Subsystem, Version) = StringRef(Arg->getValue()).split(':'); in parseObjcopyOptions() 765 Config.CompressionType = StringSwitch<DebugCompressionType>(A->getValue()) in parseObjcopyOptions() 773 A->getValue()); in parseObjcopyOptions() 782 StringRef(A->getValue()).split(Fields, '='); in parseObjcopyOptions() 798 A->getValue()); in parseObjcopyOptions() 838 Config.ExtractPartition = Arg->getValue(); in parseObjcopyOptions() 845 ErrorOr<uint64_t> Val = getAsInteger<uint64_t>(A->getValue()); in parseObjcopyOptions() 848 A->getValue()); in parseObjcopyOptions() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | Record.cpp | 417 return IntInit::get(getRecordKeeper(), getValue()); in convertInitializerTo() 475 Result |= static_cast<int64_t>(Bit->getValue()) << i; in convertInitializerTo() 575 int64_t Val = getValue(); in convertInitializerTo() 581 int64_t Value = getValue(); in convertInitializerTo() 821 return StringInit::get(RK, LHSs->getValue().lower()); in Fold() 825 return StringInit::get(RK, LHSs->getValue().upper()); in Fold() 841 Record *D = RK.getDef(Name->getValue()); in Fold() 864 Name->getValue() + "'\n"); in Fold() 887 return IntInit::get(RK, LHSi->getValue() ? 0 : 1); in Fold() 912 return IntInit::get(RK, LHSs->getValue().size()); in Fold() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
H A D | ExecutorAddress.h | 105 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/contrib/llvm-project/lld/COFF/ |
H A D | Driver.cpp | 87 StringRef s = arg->getValue(); in getOldNewOptions() 406 parseAligncomm(arg->getValue()); in parseDirectives() 409 parseAlternateName(arg->getValue()); in parseDirectives() 412 if (std::optional<StringRef> path = findLibIfNew(arg->getValue())) in parseDirectives() 416 if (!arg->getValue()[0]) in parseDirectives() 418 ctx.config.entry = addUndefined(mangle(arg->getValue())); in parseDirectives() 421 checkFailIfMismatch(arg->getValue(), file); in parseDirectives() 424 addUndefined(arg->getValue()); in parseDirectives() 427 ctx.config.manifestDependencies.insert(arg->getValue()); in parseDirectives() 430 parseMerge(arg->getValue()); in parseDirectives() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Rewrite/ |
H A D | DeltaTree.cpp | 95 const SourceDelta &getValue(unsigned i) const { in getValue() function in __anon5fc690450111::DeltaTreeNode 100 SourceDelta &getValue(unsigned i) { in getValue() function in __anon5fc690450111::DeltaTreeNode 191 while (i != e && FileIndex > getValue(i).FileLoc) in DoInsertion() 196 if (i != e && getValue(i).FileLoc == FileIndex) { in DoInsertion() 276 while (i != e && SubSplit.FileLoc > InsertSide->getValue(i).FileLoc) 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() 372 assert(IChild->getValue(IChild->getNumValuesUsed()-1).FileLoc < in VerifyTree() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Frontend/HLSL/ |
H A D | HLSLResource.cpp | 23 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/contrib/llvm-project/llvm/lib/Support/ |
H A D | APFixedPoint.cpp | 74 APSInt ThisVal = getValue(); in compare() 75 APSInt OtherVal = Other.getValue(); in compare() 148 APSInt MaxInt = APFixedPoint::getMax(*this).getValue(); in fitsInFloatSemantics() 155 APSInt MinInt = APFixedPoint::getMin(*this).getValue(); in fitsInFloatSemantics() 192 APSInt ThisVal = ConvertedThis.getValue(); in add() 193 APSInt OtherVal = ConvertedOther.getValue(); in add() 216 APSInt ThisVal = ConvertedThis.getValue(); in sub() 217 APSInt OtherVal = ConvertedOther.getValue(); in sub() 240 APSInt ThisVal = ConvertedThis.getValue(); in mul() 241 APSInt OtherVal = ConvertedOther.getValue(); in mul() [all …]
|
/freebsd/contrib/llvm-project/lld/MachO/ |
H A D | Driver.cpp | 203 roots.push_back(arg->getValue()); in getSystemLibraryRoots() 238 add(arg->getValue()); in getLTOCachePolicy() 241 if (!strcmp("-1", arg->getValue())) in getLTOCachePolicy() 244 add(Twine("prune_interval=") + arg->getValue() + "s"); in getLTOCachePolicy() 247 add(Twine("prune_after=") + arg->getValue() + "s"); in getLTOCachePolicy() 250 add(Twine("cache_size=") + arg->getValue() + "%"); in getLTOCachePolicy() 708 StringRef platformStr = arg->getValue(0); in parsePlatformVersion() 709 StringRef minVersionStr = arg->getValue(1); in parsePlatformVersion() 710 StringRef sdkVersionStr = arg->getValue(2); in parsePlatformVersion() 913 return arg->getValue(); in getReproduceOption() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.cpp | 906 *Glue = P.getValue(2); in getCopyFromRegs() 909 Chain = P.getValue(1); in getCopyFromRegs() 985 getCopyToParts(DAG, dl, Val.getValue(Val.getResNo() + Value), &Parts[Part], in getCopyToRegs() 998 *Glue = Part.getValue(1); in getCopyToRegs() 1001 Chains[i] = Part.getValue(0); in getCopyToRegs() 1750 SDValue SelectionDAGBuilder::getValue(const Value *V) { in getValue() function in SelectionDAGBuilder 1808 getValue(CPA->getPointer()), getValue(CPA->getKey()), in getValueImpl() 1809 getValue(CPA->getAddrDiscriminator()), in getValueImpl() 1810 getValue(CPA->getDiscriminator())); in getValueImpl() 1838 SDNode *Val = getValue(U).getNode(); in getValueImpl() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/ |
H A D | CSKY.cpp | 31 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/contrib/llvm-project/llvm/utils/TableGen/Common/ |
H A D | VarLenCodeEmitterGen.cpp | 118 StringRef FuncName = cast<StringInit>(DI->getArg(0))->getValue(); in getCustomCoders() 174 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() 238 if (auto *DI = dyn_cast_or_null<DefInit>(RV->getValue())) { 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() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | SVals.cpp | 114 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()
|