| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | IntegralAP.h | 62 APInt getValue() const { in getValue() function 108 IntegralAP operator-() const { return IntegralAP(-getValue()); } 111 return getValue().sgt(RHS.getValue()); 112 return getValue().ugt(RHS.getValue()); 116 return getValue().sge(RHS); 117 return getValue().uge(RHS); 121 return getValue().slt(RHS.getValue()); 122 return getValue().ult(RHS.getValue()); 127 return truncateCast<Ty, Signed>(getValue()); in Ty() 147 APInt V = getValue(); [all …]
|
| H A D | Floating.h | 43 APFloat getValue() const { in getValue() function 63 APFloat getAPFloat() const { return getValue(); } in getAPFloat() 65 bool operator<(Floating RHS) const { return getValue() < RHS.getValue(); } 66 bool operator>(Floating RHS) const { return getValue() > RHS.getValue(); } 67 bool operator<=(Floating RHS) const { return getValue() <= RHS.getValue(); } 68 bool operator>=(Floating RHS) const { return getValue() >= RHS.getValue(); } 72 return getValue().convertToInteger(Result, llvm::APFloat::rmTowardZero, in convertToInteger() 78 APFloat Copy = getValue(); in toSemantics() 86 return APSInt(getValue().bitcastToAPInt()); 88 APValue toAPValue(const ASTContext &) const { return APValue(getValue()); } in toAPValue() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | BasicValueFactory.cpp | 84 I.getValue().~APSInt(); in ~BasicValueFactory() 90 APSIntPtr BasicValueFactory::getValue(const llvm::APSInt &X) { in getValue() function in BasicValueFactory 105 return APSIntPtr::unsafeConstructor(&P->getValue()); in getValue() 108 APSIntPtr BasicValueFactory::getValue(const llvm::APInt &X, bool isUnsigned) { in getValue() function in BasicValueFactory 110 return getValue(V); in getValue() 113 APSIntPtr BasicValueFactory::getValue(uint64_t X, unsigned BitWidth, in getValue() function in BasicValueFactory 117 return getValue(V); in getValue() 120 APSIntPtr BasicValueFactory::getValue(uint64_t X, QualType T) { in getValue() function in BasicValueFactory 121 return getValue(getAPSIntType(T).getValue(X)); in getValue() 253 return getValue(V1 * V2); in evalAPSInt() [all …]
|
| /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("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()
|
| /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() 89 return A->getValue().Offset < B->getValue().Offset; in emit() 93 assert(ShouldCreateSymbols == static_cast<bool>(Entry->getValue().Symbol) && in emit() 98 Asm.OutStreamer->emitLabel(Entry->getValue().Symbol); in emit() 102 Twine(Entry->getValue().Offset)); in emit() 113 if (Entry.getValue().isIndexed()) in emit() 114 Entries[Entry.getValue().Index] = &Entry; in emit() 121 Asm.emitDwarfStringOffset(Entry->getValue()); in emit() 123 Asm.OutStreamer->emitIntValue(Entry->getValue().Offset, size); in emit()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | OrcABISupport.cpp | 410 assert((ReentryFnAddr.getValue() >> 32) == 0 && "ReentryFnAddr out of range"); in writeResolverCode() 411 assert((ReentryCtxAddr.getValue() >> 32) == 0 && in writeResolverCode() 463 assert((ResolverAddr.getValue() >> 32) == 0 && "ResolverAddr out of range"); in writeTrampolines() 477 assert((StubsBlockTargetAddress.getValue() >> 32) == 0 && in writeIndirectStubsBlock() 479 assert((PointersBlockTargetAddress.getValue() >> 32) == 0 && in writeIndirectStubsBlock() 507 uint64_t PtrAddr = PointersBlockTargetAddress.getValue(); in writeIndirectStubsBlock() 602 0x3c040000 | (((ReentryCtxAddr.getValue() + 0x8000) >> 16) & 0xFFFF); in writeResolverCode() 603 uint32_t ReentryCtxADDiu = 0x24840000 | (ReentryCtxAddr.getValue() & 0xFFFF); in writeResolverCode() 610 0x3c190000 | (((ReentryFnAddr.getValue() + 0x8000) >> 16) & 0xFFFF); in writeResolverCode() 611 uint32_t ReentryFnADDiu = 0x27390000 | (ReentryFnAddr.getValue() & 0xFFFF); in writeResolverCode() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | BasicValueFactory.h | 133 APSIntPtr getValue(uint64_t X, unsigned BitWidth, bool isUnsigned); 144 APSIntPtr getValue(const llvm::APSInt &X); 145 APSIntPtr getValue(const llvm::APInt &X, bool isUnsigned); 146 APSIntPtr getValue(uint64_t X, QualType T); 172 return getValue(From); in Convert() 174 return getValue(TargetType.convert(From)); in Convert() 184 return getValue(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() [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/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 | 88 return CI1->getValue().slt(CI2->getValue()); in operator ()() 98 O << "[" << B->Low->getValue() << ", " << B->High->getValue() << "]"; in operator <<() 208 APInt Range = Leaf.High->getValue() - Leaf.Low->getValue(); in NewLeafBlock() 240 APInt NumMergedCases = UpperBound->getValue() - LowerBound->getValue(); in SwitchConvert() 255 LLVM_DEBUG(dbgs() << "Pivot ==> [" << Pivot.Low->getValue() << ", " in SwitchConvert() 256 << Pivot.High->getValue() << "]\n"); in SwitchConvert() 267 NewLowerBound->getValue() - 1); in SwitchConvert() 271 APInt GapLow = LHS.back().High->getValue() + 1; in SwitchConvert() 272 APInt GapHigh = NewLowerBound->getValue() - 1; in SwitchConvert() 278 LLVM_DEBUG(dbgs() << "LHS Bounds ==> [" << LowerBound->getValue() << ", " in SwitchConvert() [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())); in checkPlaceCapacityIsSufficient() 139 SizeOfPlaceCI->getValue(), SizeOfTargetCI->getValue())); in checkPlaceCapacityIsSufficient()
|
| /freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
| H A D | Record.cpp | 451 return IntInit::get(getRecordKeeper(), getValue()); in convertInitializerTo() 522 Result |= static_cast<int64_t>(Bit->getValue()) << Idx; in convertInitializerToInt() 620 int64_t Val = getValue(); in convertInitializerTo() 626 int64_t Value = getValue(); in convertInitializerTo() 861 return StringInit::get(RK, LHSs->getValue().lower()); in Fold() 865 return StringInit::get(RK, LHSs->getValue().upper()); in Fold() 881 const Record *D = RK.getDef(Name->getValue()); in Fold() 904 Name->getValue() + "'\n"); in Fold() 934 return IntInit::get(RK, LHSi->getValue() ? 0 : 1); in Fold() 960 return IntInit::get(RK, LHSs->getValue().size()); in Fold() [all …]
|
| /freebsd/contrib/llvm-project/lld/COFF/ |
| H A D | Driver.cpp | 106 StringRef s = arg->getValue(); in getOldNewOptions() 497 file->symtab.parseAligncomm(arg->getValue()); in parseDirectives() 500 file->symtab.parseAlternateName(arg->getValue()); in parseDirectives() 509 if (std::optional<StringRef> path = findLibIfNew(arg->getValue())) in parseDirectives() 513 if (!arg->getValue()[0]) in parseDirectives() 516 symtab.entry = symtab.addGCRoot(symtab.mangle(arg->getValue()), true); in parseDirectives() 520 checkFailIfMismatch(arg->getValue(), file); in parseDirectives() 523 file->symtab.addGCRoot(arg->getValue()); in parseDirectives() 526 ctx.config.manifestDependencies.insert(arg->getValue()); in parseDirectives() 529 parseMerge(arg->getValue()); in parseDirectives() [all …]
|
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | ScriptParser.cpp | 153 return {a.sec, a.forceAbsolute, a.getSectionOffset() + b.getValue(), a.loc}; in add() 159 return a.getValue() - b.getValue(); in sub() 160 return {a.sec, false, a.getSectionOffset() - b.getValue(), a.loc}; in sub() 166 (a.getValue() & b.getValue()) - a.getSecAddr(), a.loc}; in bitAnd() 172 (a.getValue() ^ b.getValue()) - a.getSecAddr(), a.loc}; in bitXor() 178 (a.getValue() | b.getValue()) - a.getSecAddr(), a.loc}; in bitOr() 525 cmd.flags = readParenExpr()().getValue(); in readPhdrs() 612 return addrExpr().getValue() + max; in readOverlay() 904 if (!e().getValue()) in readAssert() 941 cmd->type = readExpr()().getValue(); in readSectionDirective() [all …]
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-objcopy/ |
| H A D | ObjcopyOptions.cpp | 345 MachineInfo MI = Iter->getValue(); in getOutputTargetInfoByTargetName() 735 Positional.push_back(Arg->getValue()); in parseObjcopyOptions() 806 std::tie(Subsystem, Version) = StringRef(Arg->getValue()).split(':'); in parseObjcopyOptions() 864 Config.CompressionType = StringSwitch<DebugCompressionType>(A->getValue()) in parseObjcopyOptions() 872 A->getValue()); in parseObjcopyOptions() 881 StringRef(A->getValue()).split(Fields, '='); in parseObjcopyOptions() 897 A->getValue()); in parseObjcopyOptions() 937 Config.ExtractPartition = Arg->getValue(); in parseObjcopyOptions() 944 ErrorOr<uint64_t> Val = getAsInteger<uint64_t>(A->getValue()); in parseObjcopyOptions() 947 A->getValue()); in parseObjcopyOptions() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/SandboxIR/ |
| H A D | BasicBlock.cpp | 22 Instruction &NextI = *cast<sandboxir::Instruction>(Ctx->getValue(&*It)); in operator ++() 45 return cast<BasicBlock>(Ctx->getValue(Parent)); in getNodeParent() 50 return cast_or_null<Instruction>(Ctx->getValue(&*It)); in getInstr() 59 return cast_or_null<Function>(Ctx.getValue(F)); in getParent() 82 auto *V = Ctx.getValue(&*BB->begin()); in begin() 94 Ctx.getValue(cast<llvm::BasicBlock>(Val)->getTerminator()); in getTerminator() 101 auto *SBI = cast<Instruction>(getContext().getValue(&*BB->begin())); in front() 109 auto *SBI = cast<Instruction>(getContext().getValue(&*BB->rbegin())); in back() 124 return Ctx.getValue(&I) == nullptr; in dumpOS() 129 Value *SBV = Ctx.getValue(&IRef); in dumpOS()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | DeltaTree.cpp | 94 const SourceDelta &getValue(unsigned i) const { in getValue() function in __anon400feef60111::DeltaTreeNode 99 SourceDelta &getValue(unsigned i) { in getValue() function in __anon400feef60111::DeltaTreeNode 190 while (i != e && FileIndex > getValue(i).FileLoc) in DoInsertion() 195 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 …]
|
| H A D | APFixedPoint.cpp | 84 APSInt ThisVal = getValue(); in compare() 85 APSInt OtherVal = Other.getValue(); in compare() 158 APSInt MaxInt = APFixedPoint::getMax(*this).getValue(); in fitsInFloatSemantics() 165 APSInt MinInt = APFixedPoint::getMin(*this).getValue(); in fitsInFloatSemantics() 202 APSInt ThisVal = ConvertedThis.getValue(); in add() 203 APSInt OtherVal = ConvertedOther.getValue(); in add() 226 APSInt ThisVal = ConvertedThis.getValue(); in sub() 227 APSInt OtherVal = ConvertedOther.getValue(); in sub() 250 APSInt ThisVal = ConvertedThis.getValue(); in mul() 251 APSInt OtherVal = ConvertedOther.getValue(); in mul() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
| H A D | ExecutorAddress.h | 136 uint64_t getValue() const { return Addr; } in getValue() function 194 return ExecutorAddrDiff(LHS.getValue() - RHS.getValue()); 200 return ExecutorAddr(LHS.getValue() + RHS); 206 return ExecutorAddr(LHS + RHS.getValue()); 212 return ExecutorAddr(LHS.getValue() - RHS); 218 return ExecutorAddrDiff(LHS.getValue() % RHS); 284 return OS << formatv("{0:x}", A.getValue()); 288 return OS << formatv("{0:x} -- {1:x}", R.Start.getValue(), R.End.getValue()); 299 return SPSArgList<uint64_t>::size(EA.getValue()); in size() 303 return SPSArgList<uint64_t>::serialize(BOB, EA.getValue()); in serialize() [all …]
|
| /freebsd/contrib/llvm-project/lld/MachO/ |
| H A D | Driver.cpp | 200 roots.push_back(arg->getValue()); in getSystemLibraryRoots() 235 add(arg->getValue()); in getLTOCachePolicy() 238 if (!strcmp("-1", arg->getValue())) in getLTOCachePolicy() 241 add(Twine("prune_interval=") + arg->getValue() + "s"); in getLTOCachePolicy() 244 add(Twine("prune_after=") + arg->getValue() + "s"); in getLTOCachePolicy() 247 add(Twine("cache_size=") + arg->getValue() + "%"); in getLTOCachePolicy() 703 StringRef platformStr = arg->getValue(0); in parsePlatformVersion() 704 StringRef minVersionStr = arg->getValue(1); in parsePlatformVersion() 705 StringRef sdkVersionStr = arg->getValue(2); in parsePlatformVersion() 914 return arg->getValue(); in getReproduceOption() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 903 *Glue = P.getValue(2); in getCopyFromRegs() 906 Chain = P.getValue(1); in getCopyFromRegs() 981 getCopyToParts(DAG, dl, Val.getValue(Val.getResNo() + Value), &Parts[Part], in getCopyToRegs() 994 *Glue = Part.getValue(1); in getCopyToRegs() 997 Chains[i] = Part.getValue(0); in getCopyToRegs() 1741 SDValue SelectionDAGBuilder::getValue(const Value *V) { in getValue() function in SelectionDAGBuilder 1804 DAG.getConstant(CI->getValue(), DL, VT.getVectorElementType())); in getValueImpl() 1808 DAG.getConstant(CI->getValue(), DL, VT.getVectorElementType())); in getValueImpl() 1817 getValue(CPA->getPointer()), getValue(CPA->getKey()), in getValueImpl() 1818 getValue(CPA->getAddrDiscriminator()), in getValueImpl() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/Transforms/ |
| H A D | CIRSimplify.cpp | 138 auto trueValue = mlir::dyn_cast<cir::BoolAttr>(trueValueConstOp.getValue()); in matchAndRewrite() 140 mlir::dyn_cast<cir::BoolAttr>(falseValueConstOp.getValue()); in matchAndRewrite() 145 if (trueValue.getValue() && !falseValue.getValue()) { in matchAndRewrite() 152 if (!trueValue.getValue() && falseValue.getValue()) { in matchAndRewrite() 229 cascadingCaseValues.push_back(c.getValue()[0]); in matchAndRewrite() 232 cascadingCaseValues.push_back(c.getValue()[0]); in matchAndRewrite() 267 mlir::Value splatValue = op.getValue(); in matchAndRewrite() 273 auto value = constant.getValue(); in matchAndRewrite()
|