| /openbsd-src/gnu/llvm/lld/MinGW/ |
| H A D | Driver.cpp | 206 StringRef s = a->getValue(); in link() 228 majSubSysVer = a->getValue(); in link() 231 minSubSysVer = a->getValue(); in link() 234 std::tie(subSysName, subSysVer) = StringRef(a->getValue()).split(':'); in link() 255 add("-implib:" + StringRef(a->getValue())); in link() 257 add("-stack:" + StringRef(a->getValue())); in link() 259 add("-output-def:" + StringRef(a->getValue())); in link() 261 add("-base:" + StringRef(a->getValue())); in link() 263 add("-lldmap:" + StringRef(a->getValue())); in link() 265 add("-reproduce:" + StringRef(a->getValue())); in link() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/IO-Compress/lib/IO/Compress/ |
| H A D | Gzip.pm | 93 if $got->getValue('merge') ; 95 my $strict = $got->getValue('strict') ; 106 if ($got->parsed('name') && defined $got->getValue('name')) { 107 my $name = $got->getValue('name'); 118 if ($got->parsed('comment') && defined $got->getValue('comment')) { 119 my $comment = $got->getValue('comment'); 131 my $value = $got->getValue('os_code'); 143 if $got->getValue('level') == Z_BEST_COMPRESSION ; 145 if $got->getValue('level') == Z_BEST_SPEED ; 148 my $data = $got->getValue('extrafiel [all...] |
| H A D | Zip.pm | 140 $got->getValue('level'), 141 $got->getValue('strategy') 147 $got->getValue('crc32'), 148 $got->getValue('adler32'), 149 $got->getValue('level'), 150 $got->getValue('strategy') 155 $got->getValue('blocksize100k'), 156 $got->getValue('workfactor'), 157 $got->getValue('verbosity') 162 ($obj, $errstr, $errno) = IO::Compress::Adapter::Lzma::mkRawZipCompObject($got->getValue('prese [all...] |
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_dense_map_test.cpp | 78 int getValue() const { return Value; } in getValue() function in __anon97d5ac0f0111::CtorTester 88 return Val.getValue() * 37u; in getHashValue() 113 typename T::mapped_type getValue(int i = 0) { in getValue() function in __anon97d5ac0f0111::DenseMapTest 152 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST() 161 EXPECT_EQ(this->getValue(), this->Map.lookup(this->getKey())); in TYPED_TEST() 162 EXPECT_EQ(this->getValue(), this->Map[this->getKey()]); 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() 195 typename TypeParam::value_type(this->getKey(), this->getValue())); in TYPED_TEST() [all …]
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
| H A D | BasicValueFactory.cpp | 84 I.getValue().~APSInt(); in ~BasicValueFactory() 90 const llvm::APSInt& BasicValueFactory::getValue(const llvm::APSInt& X) { in getValue() function in BasicValueFactory 108 const llvm::APSInt& BasicValueFactory::getValue(const llvm::APInt& X, in getValue() function in BasicValueFactory 111 return getValue(V); in getValue() 114 const llvm::APSInt& BasicValueFactory::getValue(uint64_t X, unsigned BitWidth, in getValue() function in BasicValueFactory 118 return getValue(V); in getValue() 121 const llvm::APSInt& BasicValueFactory::getValue(uint64_t X, QualType T) { in getValue() function in BasicValueFactory 122 return getValue(getAPSIntType(T).getValue(X)); in getValue() 257 return &getValue( V1 * V2 ); in evalAPSInt() 262 return &getValue( V1 / V2 ); in evalAPSInt() [all …]
|
| /openbsd-src/gnu/llvm/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 …]
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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() 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() 210 const APInt &High = Clusters[I].High->getValue(); in buildJumpTable() 214 const APInt &PreviousHigh = Clusters[I - 1].High->getValue(); in buildJumpTable() 228 Clusters[First].Low->getValue(), in buildJumpTable() 229 Clusters[Last].High->getValue(), *DL)) { in buildJumpTable() [all …]
|
| /openbsd-src/gnu/llvm/lld/ELF/ |
| H A D | ScriptParser.cpp | 164 return {a.sec, a.forceAbsolute, a.getSectionOffset() + b.getValue(), a.loc}; in add() 170 return a.getValue() - b.getValue(); in sub() 171 return {a.sec, false, a.getSectionOffset() - b.getValue(), a.loc}; in sub() 177 (a.getValue() & b.getValue()) - a.getSecAddr(), a.loc}; in bitAnd() 183 (a.getValue() | b.getValue()) - a.getSecAddr(), a.loc}; in bitOr() 492 cmd.flags = readParenExpr()().getValue(); in readPhdrs() 560 return addrExpr().getValue() + max; in readOverlay() 799 if (!e().getValue()) in readAssert() 841 cmd->type = readExpr()().getValue(); in readSectionDirective() 878 uint64_t alignment = std::max((uint64_t)1, e().getValue()); in checkAlignment() [all …]
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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); 219 return OS << formatv("{0:x}", A.getValue()); 223 return OS << formatv("{0:x} -- {1:x}", R.Start.getValue(), R.End.getValue()); 234 return SPSArgList<uint64_t>::size(EA.getValue()); in size() 238 return SPSArgList<uint64_t>::serialize(BOB, EA.getValue()); in serialize() [all …]
|
| /openbsd-src/gnu/llvm/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 …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | SymbolRewriter.cpp | 306 Value = dyn_cast<yaml::MappingNode>(Entry.getValue()); in parseEntry() 308 YS.printError(Entry.getValue(), "rewrite descriptor must be a map"); in parseEntry() 312 RewriteType = Key->getValue(KeyStorage); in parseEntry() 346 Value = dyn_cast<yaml::ScalarNode>(Field.getValue()); in parseRewriteFunctionDescriptor() 348 YS.printError(Field.getValue(), "descriptor value must be a scalar"); 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() 364 Transform = std::string(Value->getValue(ValueStorage)); in parseRewriteFunctionDescriptor() 368 Undecorated = std::string(Value->getValue(ValueStorage)); in parseRewriteFunctionDescriptor() [all …]
|
| H A D | LowerSwitch.cpp | 91 return CI1->getValue().slt(CI2->getValue()); in operator ()() 101 O << "[" << B->Low->getValue() << ", " << B->High->getValue() << "]"; in operator <<() 211 APInt Range = Leaf.High->getValue() - Leaf.Low->getValue(); in NewLeafBlock() 243 APInt NumMergedCases = UpperBound->getValue() - LowerBound->getValue(); in SwitchConvert() 258 LLVM_DEBUG(dbgs() << "Pivot ==> [" << Pivot.Low->getValue() << ", " in SwitchConvert() 259 << Pivot.High->getValue() << "]\n"); in SwitchConvert() 270 NewLowerBound->getValue() - 1); in SwitchConvert() 274 APInt GapLow = LHS.back().High->getValue() + 1; in SwitchConvert() 275 APInt GapHigh = NewLowerBound->getValue() - 1; in SwitchConvert() 281 LLVM_DEBUG(dbgs() << "LHS Bounds ==> [" << LowerBound->getValue() << ", " in SwitchConvert() [all …]
|
| /openbsd-src/gnu/llvm/lld/COFF/ |
| H A D | Driver.cpp | 86 StringRef s = arg->getValue(); in getOldNewOptions() 386 parseAligncomm(arg->getValue()); in parseDirectives() 389 parseAlternateName(arg->getValue()); in parseDirectives() 392 if (std::optional<StringRef> path = findLib(arg->getValue())) in parseDirectives() 396 ctx.config.entry = addUndefined(mangle(arg->getValue())); in parseDirectives() 399 checkFailIfMismatch(arg->getValue(), file); in parseDirectives() 402 addUndefined(arg->getValue()); in parseDirectives() 405 ctx.config.manifestDependencies.insert(arg->getValue()); in parseDirectives() 408 parseMerge(arg->getValue()); in parseDirectives() 411 ctx.config.noDefaultLibs.insert(doFindLib(arg->getValue()).lower()); in parseDirectives() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/TableGen/ |
| H A D | Record.cpp | 381 return IntInit::get(getRecordKeeper(), getValue()); in convertInitializerTo() 439 Result |= static_cast<int64_t>(Bit->getValue()) << i; in convertInitializerTo() 539 int64_t Val = getValue(); in convertInitializerTo() 545 int64_t Value = getValue(); in convertInitializerTo() 809 D = CurRec->getRecords().getDef(Name->getValue()); in Fold() 814 Name->getValue() + "'\n"); in Fold() 838 return IntInit::get(RK, LHSi->getValue() ? 0 : 1); in Fold() 863 return IntInit::get(RK, LHSs->getValue().size()); in Fold() 872 return IntInit::get(RK, LHSs->getValue().empty()); in Fold() 893 int64_t LHSv = LHSi->getValue(); in Fold() [all …]
|
| /openbsd-src/gnu/llvm/llvm/utils/TableGen/ |
| H A D | VarLenCodeEmitterGen.cpp | 106 StringRef FuncName = cast<StringInit>(DI->getArg(0))->getValue(); in getCustomCoders() 162 auto NumBitsVal = cast<IntInit>(NumBits)->getValue(); in buildRec() 183 auto HiBitVal = cast<IntInit>(HiBit)->getValue(), in buildRec() 184 LoBitVal = cast<IntInit>(LoBit)->getValue(); in buildRec() 228 if (const RecordVal *RV = R->getValue("EncodingInfos")) { in run() 229 if (auto *DI = dyn_cast_or_null<DefInit>(RV->getValue())) { in run() 234 RecordVal *RV = EncodingDef->getValue("Inst"); in run() 235 DagInit *DI = cast<DagInit>(RV->getValue()); in run() 241 RecordVal *RV = R->getValue("Inst"); in run() 242 DagInit *DI = cast<DagInit>(RV->getValue()); in run() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Rewrite/ |
| H A D | DeltaTree.cpp | 95 const SourceDelta &getValue(unsigned i) const { in getValue() function in __anond26f711c0111::DeltaTreeNode 100 SourceDelta &getValue(unsigned i) { in getValue() function in __anond26f711c0111::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 …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | SymbolStringPool.h | 68 ++S->getValue(); 73 assert(S->getValue() && "Releasing SymbolStringPtr with zero ref count"); 74 --S->getValue(); 78 ++S->getValue(); 88 assert(S->getValue() && "Releasing SymbolStringPtr with zero ref count"); 89 --S->getValue(); 98 assert(S->getValue() && "Releasing SymbolStringPtr with zero ref count"); 99 --S->getValue(); 129 ++S->getValue();
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | ELF_riscv.cpp | 193 int64_t Value = (E.getTarget().getAddress() + E.getAddend()).getValue(); in applyFixup() 198 int64_t Value = (E.getTarget().getAddress() + E.getAddend()).getValue(); in applyFixup() 292 int64_t Value = (E.getTarget().getAddress() + E.getAddend()).getValue(); in applyFixup() 304 int64_t Value = (E.getTarget().getAddress() + E.getAddend()).getValue(); in applyFixup() 314 int64_t Value = (E.getTarget().getAddress() + E.getAddend()).getValue(); in applyFixup() 325 *(reinterpret_cast<const uint8_t *>(FixupAddress.getValue())) + in applyFixup() 327 .getValue(); in applyFixup() 334 FixupAddress.getValue())) + in applyFixup() 336 .getValue(); in applyFixup() 343 FixupAddress.getValue())) + in applyFixup() [all …]
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-objcopy/ |
| H A D | ObjcopyOptions.cpp | 346 MachineInfo MI = Iter->getValue(); in getOutputTargetInfoByTargetName() 610 Positional.push_back(Arg->getValue()); in parseObjcopyOptions() 682 std::tie(Subsystem, Version) = StringRef(Arg->getValue()).split(':'); in parseObjcopyOptions() 738 Config.CompressionType = StringSwitch<DebugCompressionType>(A->getValue()) in parseObjcopyOptions() 746 A->getValue()); in parseObjcopyOptions() 771 Config.ExtractPartition = Arg->getValue(); in parseObjcopyOptions() 774 if (!StringRef(Arg->getValue()).contains('=')) in parseObjcopyOptions() 777 auto Old2New = StringRef(Arg->getValue()).split('='); in parseObjcopyOptions() 786 Arg->getValue())) in parseObjcopyOptions() 791 parseRenameSectionValue(StringRef(Arg->getValue())); in parseObjcopyOptions() [all …]
|
| /openbsd-src/gnu/llvm/lld/MachO/ |
| H A D | Driver.cpp | 197 roots.push_back(arg->getValue()); in getSystemLibraryRoots() 232 add(arg->getValue()); in getLTOCachePolicy() 235 if (!strcmp("-1", arg->getValue())) in getLTOCachePolicy() 238 add(Twine("prune_interval=") + arg->getValue() + "s"); in getLTOCachePolicy() 241 add(Twine("prune_after=") + arg->getValue() + "s"); in getLTOCachePolicy() 244 add(Twine("cache_size=") + arg->getValue() + "%"); in getLTOCachePolicy() 652 StringRef platformStr = arg->getValue(0); in parsePlatformVersion() 653 StringRef minVersionStr = arg->getValue(1); in parsePlatformVersion() 654 StringRef sdkVersionStr = arg->getValue(2); in parsePlatformVersion() 857 return arg->getValue(); in getReproduceOption() [all …]
|