| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | BasicValueFactory.cpp | 84 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() 213 return &getValue( V1 * V2 ); in evalAPSInt() 218 return &getValue( V1 / V2 ); in evalAPSInt() 223 return &getValue( V1 % V2 ); in evalAPSInt() 226 return &getValue( V1 + V2 ); in evalAPSInt() 229 return &getValue( V1 - V2 ); in evalAPSInt() 320 return P->getValue(); in getPersistentSValWithData() [all …]
|
| H A D | SVals.cpp | 197 return getValue()->begin(); in begin() 201 return getValue()->end(); in end() 228 return LV->getValue() == I; in isConstant() 230 return NV->getValue() == I; in isConstant() 246 svalBuilder.getBasicValueFactory().evalAPSInt(Op, getValue(), R.getValue()); in evalBinOp() 256 return svalBuilder.makeIntVal(~getValue()); in evalComplement() 261 return svalBuilder.makeIntVal(-getValue()); in evalMinus() 273 const llvm::APSInt *X = BasicVals.evalAPSInt(Op, getValue(), R.getValue()); in evalBinOp() 307 const auto &Value = castAs<nonloc::ConcreteInt>().getValue(); in dumpToStream() 373 os << castAs<loc::ConcreteInt>().getValue().getZExtValue() << " (Loc)"; in dumpToStream()
|
| /freebsd-12.1/contrib/llvm/tools/lld/lib/Driver/ |
| H A D | DarwinLdDriver.cpp | 449 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-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfStringPool.cpp | 51 if (!MapEntry.getValue().isIndexed()) in getIndexedEntry() 52 MapEntry.getValue().Index = NumIndexedStrings++; in getIndexedEntry() 95 return A->getValue().Offset < B->getValue().Offset; in emit() 99 assert(ShouldCreateSymbols == static_cast<bool>(Entry->getValue().Symbol) && in emit() 104 Asm.OutStreamer->EmitLabel(Entry->getValue().Symbol); in emit() 108 Twine(Entry->getValue().Offset)); in emit() 119 if (Entry.getValue().isIndexed()) in emit() 120 Entries[Entry.getValue().Index] = &Entry; in emit() 127 Asm.emitDwarfStringOffset(Entry->getValue()); in emit() 129 Asm.OutStreamer->EmitIntValue(Entry->getValue().Offset, size); in emit()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | BasicValueFactory.h | 156 return getValue(TargetType.convert(From)); in Convert() 164 return getValue(TargetType.convert(From)); in Convert() 169 return getValue(X, T); in getIntValue() 173 return getValue(APSIntType(v).getMaxValue()); in getMaxValue() 177 return getValue(APSIntType(v).getMinValue()); in getMinValue() 181 return getValue(getAPSIntType(T).getMaxValue()); in getMaxValue() 185 return getValue(getAPSIntType(T).getMinValue()); in getMinValue() 191 return getValue(X); in Add1() 197 return getValue(X); in Sub1() 202 return getValue(0, Ctx.getTypeSize(T), true); in getZeroWithTypeSize() [all …]
|
| H A D | SValBuilder.h | 270 return nonloc::ConcreteInt(BasicVals.getValue(0, ArrayIndexTy)); in makeZeroArrayIndex() 274 return nonloc::ConcreteInt(BasicVals.getValue(idx, ArrayIndexTy)); in makeArrayIndex() 281 BasicVals.getValue(integer->getValue(), in makeIntVal() 286 return makeTruthVal(boolean->getValue(), boolean->getType()); in makeBoolVal() 292 return nonloc::ConcreteInt(BasicVals.getValue(integer)); in makeIntVal() 296 return loc::ConcreteInt(BasicVals.getValue(integer)); in makeIntLocVal() 300 return nonloc::ConcreteInt(BasicVals.getValue(integer, isUnsigned)); in makeIntVal() 305 return loc::ConcreteInt(BasicVals.getValue(integer, type)); in makeIntVal() 307 return nonloc::ConcreteInt(BasicVals.getValue(integer, type)); in makeIntVal() 367 return loc::ConcreteInt(BasicVals.getValue(integer)); in makeLoc()
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/PBQP/ |
| H A D | CostAllocator.h | 42 const ValueT &getValue() const { return Value; } in getValue() function 63 return getHashValue(P->getValue()); in getHashValue() 67 return getHashValue(P->getValue()); in getHashValue() 79 return isEqual(C, P->getValue()); in isEqual() 85 return isEqual(P1->getValue(), P2); in isEqual() 96 template <typename ValueKeyT> PoolRef getValue(ValueKeyT ValueKey) { in getValue() function 100 return PoolRef((*I)->shared_from_this(), &(*I)->getValue()); in getValue() 104 return PoolRef(std::move(P), &P->getValue()); in getValue() 120 return VectorPool.getValue(std::move(v)); in getVector() 124 return MatrixPool.getValue(std::move(m)); in getMatrix()
|
| /freebsd-12.1/contrib/llvm/tools/lld/ELF/ |
| H A D | ScriptParser.cpp | 161 return A.getValue() - B.getValue(); in sub() 168 (A.getValue() & B.getValue()) - A.getSecAddr(), A.Loc}; in bitAnd() 964 return [=] { return L().getValue() * R().getValue(); }; in combine() 984 return [=] { return L().getValue() << R().getValue(); }; in combine() 986 return [=] { return L().getValue() >> R().getValue(); }; in combine() 988 return [=] { return L().getValue() < R().getValue(); }; in combine() 990 return [=] { return L().getValue() > R().getValue(); }; in combine() 992 return [=] { return L().getValue() >= R().getValue(); }; in combine() 994 return [=] { return L().getValue() <= R().getValue(); }; in combine() 996 return [=] { return L().getValue() == R().getValue(); }; in combine() [all …]
|
| H A D | Driver.cpp | 326 return Arg->getValue(); in getReproduceOption() 332 if (Key == Arg->getValue()) in hasZOption() 340 if (K1 == Arg->getValue()) in getZFlag() 342 if (K2 == Arg->getValue()) in getZFlag() 534 return Arg->getValue(); in getDynamicLinker() 619 StringRef S = Arg->getValue(); in getBuildId() 722 StringRef S = Arg->getValue(); in getOldNewOptions() 919 StringRef S = Arg->getValue(); in readConfigs() 928 StringRef S = Arg->getValue(); in readConfigs() 1066 addLibrary(Arg->getValue()); in createFiles() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | SymbolRewriter.cpp | 311 RewriteType = Key->getValue(KeyStorage); in parseEntry() 351 KeyValue = Key->getValue(KeyStorage); in parseRewriteFunctionDescriptor() 355 Source = Value->getValue(ValueStorage); in parseRewriteFunctionDescriptor() 361 Target = Value->getValue(ValueStorage); in parseRewriteFunctionDescriptor() 363 Transform = Value->getValue(ValueStorage); in parseRewriteFunctionDescriptor() 420 KeyValue = Key->getValue(KeyStorage); in parseRewriteGlobalVariableDescriptor() 424 Source = Value->getValue(ValueStorage); in parseRewriteGlobalVariableDescriptor() 430 Target = Value->getValue(ValueStorage); in parseRewriteGlobalVariableDescriptor() 483 KeyValue = Key->getValue(KeyStorage); in parseRewriteGlobalAliasDescriptor() 487 Source = Value->getValue(ValueStorage); in parseRewriteGlobalAliasDescriptor() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lld/COFF/ |
| H A D | Driver.cpp | 303 addUndefined(Arg->getValue()); in parseDirectives() 306 parseMerge(Arg->getValue()); in parseDirectives() 312 parseSection(Arg->getValue()); in parseDirectives() 604 return Arg->getValue(); in getMapFile() 925 V.push_back(Arg->getValue()); in link() 931 StringRef S = Arg->getValue(); in link() 1107 parseGuard(Arg->getValue()); in link() 1146 addUndefined(Arg->getValue()); in link() 1228 parseMerge(Arg->getValue()); in link() 1246 parseSection(Arg->getValue()); in link() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/TableGen/ |
| H A D | Record.cpp | 909 case EQ: Result = L->getValue() == R->getValue(); break; in Fold() 910 case NE: Result = L->getValue() != R->getValue(); break; in Fold() 911 case LE: Result = L->getValue() <= R->getValue(); break; in Fold() 912 case LT: Result = L->getValue() < R->getValue(); break; in Fold() 913 case GE: Result = L->getValue() >= R->getValue(); break; in Fold() 914 case GT: Result = L->getValue() > R->getValue(); break; in Fold() 926 bool Equal = LHSs->getValue() == RHSs->getValue(); in Fold() 944 int64_t LHSv = LHSi->getValue(), RHSv = RHSi->getValue(); in Fold() 1587 R.set(TArgs[i], NewRec->getValue(TArgs[i])->getValue()); in instantiate() 1690 Init *FieldVal = Def->getValue(FieldName)->getValue(); in Fold() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/llvm-objcopy/ |
| H A D | CopyConfig.cpp | 189 return Iter->getValue(); in getMachineInfo() 205 return Iter->getValue(); in getOutputFormatMachineInfo() 256 Positional.push_back(Arg->getValue()); in parseObjcopyOptions() 319 if (!StringRef(Arg->getValue()).contains('=')) in parseObjcopyOptions() 333 Config.ToRemove.push_back(Arg->getValue()); in parseObjcopyOptions() 335 Config.KeepSection.push_back(Arg->getValue()); in parseObjcopyOptions() 337 Config.OnlySection.push_back(Arg->getValue()); in parseObjcopyOptions() 339 Config.AddSection.push_back(Arg->getValue()); in parseObjcopyOptions() 341 Config.DumpSection.push_back(Arg->getValue()); in parseObjcopyOptions() 421 Positional.push_back(Arg->getValue()); in parseStripOptions() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Rewrite/ |
| H A D | DeltaTree.cpp | 96 const SourceDelta &getValue(unsigned i) const { in getValue() function in __anonb4cff6540111::DeltaTreeNode 101 SourceDelta &getValue(unsigned i) { in getValue() function in __anonb4cff6540111::DeltaTreeNode 192 while (i != e && FileIndex > getValue(i).FileLoc) in DoInsertion() 197 if (i != e && getValue(i).FileLoc == FileIndex) { in DoInsertion() 354 assert(N->getValue(i-1).FileLoc < N->getValue(i).FileLoc); in VerifyTree() 355 FullDelta += N->getValue(i).Delta; in VerifyTree() 365 const SourceDelta &IVal = N->getValue(i); in VerifyTree() 368 assert(IN->getValue(i-1).FileLoc < IVal.FileLoc); in VerifyTree() 377 assert(IN->getChild(i+1)->getValue(0).FileLoc > IVal.FileLoc); in VerifyTree() 422 const SourceDelta &Val = Node->getValue(NumValsGreater); in getDeltaAt() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAndOrXor.cpp | 490 if ((BCst->getValue() & DCst->getValue()) == 0) in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() 509 if ((((BCst->getValue() & DCst->getValue()) & ECst->getValue()) == 0) && in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() 510 (BCst->getValue() & (BCst->getValue() ^ DCst->getValue())).isPowerOf2()) { in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() 512 APInt BandBxorDorE = (BCst->getValue() & (BCst->getValue() ^ DCst->getValue())) | in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() 521 return (C1->getValue() & C2->getValue()) == C1->getValue(); in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() 524 return (C1->getValue() & C2->getValue()) == C2->getValue(); in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() 562 if ((BCst->getValue() & ECst->getValue()) != 0) in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() 738 if (((BCst->getValue() & DCst->getValue()) & in foldLogOpOfMaskedICmps() 1988 LHSC->getValue() == (RHSC->getValue())) { in foldOrOfICmps() 2103 if (RHSC->getValue() + AddC->getValue() == LHSC->getValue()) in foldOrOfICmps() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 2595 return a.Low->getValue().slt(b.Low->getValue()); in sortAndRangeify() 4194 getValue(I.getPointerOperand()), getValue(I.getCompareOperand()), in visitAtomicCmpXchg() 5212 SDValue Val = getValue(MI.getValue()); in visitIntrinsicCall() 6732 DAG, getCurSDLoc(), DAG.getRoot(), getValue(LHS), getValue(RHS), in visitMemCmpCall() 6819 getValue(Src), getValue(Char), getValue(Length), in visitMemChrCall() 6881 getValue(Arg0), getValue(Arg1), in visitStrCpyCall() 6904 getValue(Arg0), getValue(Arg1), in visitStrCmpCall() 6948 getValue(Arg0), getValue(Arg1), in visitStrNLenCall() 9958 a.Low->getValue().slt(b.Low->getValue()); in lowerWorkItem() 10107 return X.Low->getValue().slt(CC.Low->getValue()); in caseClusterRank() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/ |
| H A D | CompilerInvocation.cpp | 137 StringRef S(A->getValue()); in getOptimizationLevel() 153 switch (A->getValue()[0]) { in getOptimizationLevelSize() 208 StringRef Name = A->getValue(); in ParseAnalyzerArgs() 224 StringRef Name = A->getValue(); in ParseAnalyzerArgs() 240 StringRef Name = A->getValue(); in ParseAnalyzerArgs() 586 StringRef S = A->getValue(); in setPGOInstrumentor() 903 StringRef S = A->getValue(); in ParseCodeGenArgs() 1067 F.Filename = A->getValue(); in ParseCodeGenArgs() 1672 Opts.PluginArgs[AA->getValue(0)].emplace_back(AA->getValue(1)); in ParseFrontendArgs() 2001 Prefix = A->getValue(); in ParseHeaderSearchArgs() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | StringPool.h | 88 if (S) ++S->getValue().Refcount; in PooledStringPtr() 92 if (S) ++S->getValue().Refcount; in PooledStringPtr() 99 if (S) ++S->getValue().Refcount; 107 if (--S->getValue().Refcount == 0) { in clear() 108 S->getValue().Pool->InternTable.remove(S); in clear()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/ |
| H A D | JSONCompilationDatabase.cpp | 234 getCommands(CommandsRefI->getValue(), Commands); in getCompileCommands() 258 return unescapeCommandLine(Syntax, Nodes[0]->getValue(Storage)); in nodeToCommandLine() 261 Arguments.push_back(Node->getValue(Storage)); in nodeToCommandLine() 274 std::get<0>(CommandRef)->getValue(DirectoryStorage), in getCommands() 275 std::get<1>(CommandRef)->getValue(FilenameStorage), in getCommands() 277 Output ? Output->getValue(OutputStorage) : ""); in getCommands() 314 StringRef KeyValue = KeyString->getValue(KeyStorage); in parse() 315 llvm::yaml::Node *Value = NextKeyValue.getValue(); in parse() 367 StringRef FileName = File->getValue(FileStorage); in parse() 372 Directory->getValue(DirectoryStorage)); in parse()
|
| /freebsd-12.1/contrib/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | SymbolStringPool.h | 65 ++S->getValue(); 70 --S->getValue(); 73 ++S->getValue(); 83 --S->getValue(); 91 --S->getValue(); 101 ++S->getValue();
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldChecker.cpp | 65 if (LHSResult.getValue() != RHSResult.getValue()) { in evaluate() 105 uint64_t getValue() const { return Value; } in getValue() function in llvm::RuntimeDyldCheckerExprEval::EvalResult 193 return EvalResult(LHSResult.getValue() + RHSResult.getValue()); in computeBinOpResult() 195 return EvalResult(LHSResult.getValue() - RHSResult.getValue()); in computeBinOpResult() 197 return EvalResult(LHSResult.getValue() & RHSResult.getValue()); in computeBinOpResult() 199 return EvalResult(LHSResult.getValue() | RHSResult.getValue()); in computeBinOpResult() 201 return EvalResult(LHSResult.getValue() << RHSResult.getValue()); in computeBinOpResult() 203 return EvalResult(LHSResult.getValue() >> RHSResult.getValue()); in computeBinOpResult() 258 unsigned OpIdx = OpIdxExpr.getValue(); in evalDecodeOperand() 619 unsigned HighBit = HighBitExpr.getValue(); in evalSliceExpr() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/ToolDrivers/llvm-lib/ |
| H A D | LibDriver.cpp | 61 return Arg->getValue(); in getOutputPath() 75 Ret.push_back(Arg->getValue()); in getSearchPaths() 139 std::string Path = findInputFile(Arg->getValue(), SearchPaths); in libDriverMain() 141 llvm::errs() << Arg->getValue() << ": no such file or directory\n"; in libDriverMain() 149 llvm::errs() << Arg->getValue() << ": " << EIB.message() << "\n"; in libDriverMain() 157 llvm::errs() << Arg->getValue() in libDriverMain()
|
| /freebsd-12.1/contrib/llvm/utils/TableGen/ |
| H A D | WebAssemblyDisassemblerEmitter.cpp | 35 if (!Def.getValue("Inst")) in emitWebAssemblyDisassemblerTables() 40 ->getValue()); in emitWebAssemblyDisassemblerTables() 50 Def.getValue("StackBased")->getValue()->getCastTo(StringRecTy::get()); in emitWebAssemblyDisassemblerTables() 53 reinterpret_cast<const StringInit *>(StackString)->getValue() == "true"; in emitWebAssemblyDisassemblerTables()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | ProfileSummaryInfo.cpp | 144 TotalCallCount += CallCount.getValue(); in isFunctionHotInCallGraph() 173 TotalCallCount += CallCount.getValue(); in isFunctionColdInCallGraph() 224 return HasHugeWorkingSetSize && HasHugeWorkingSetSize.getValue(); in hasHugeWorkingSetSize() 230 return HotCountThreshold && C >= HotCountThreshold.getValue(); in isHotCount() 236 return ColdCountThreshold && C <= ColdCountThreshold.getValue(); in isColdCount() 242 return HotCountThreshold ? HotCountThreshold.getValue() : UINT64_MAX; in getOrCompHotCountThreshold() 248 return ColdCountThreshold ? ColdCountThreshold.getValue() : 0; in getOrCompColdCountThreshold()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Driver/ToolChains/ |
| H A D | Clang.cpp | 205 StringRef Val = A->getValue(0); in ParseMRecip() 292 StringRef Value = A->getValue(); in ParseMPreferVectorWidth() 640 StringRef S(A->getValue()); in shouldEnableVectorizerAtOLevel() 1042 DepFile = MF->getValue(); in AddPreprocessingOptions() 1139 StringRef ThroughHeader = YcArg ? YcArg->getValue() : YuArg->getValue(); in AddPreprocessingOptions() 1326 ABIName = A->getValue(); in RenderARMABI() 1506 ABIName = A->getValue(); in RenderAArch64ABI() 1565 Scope = A->getValue(); in AddAArch64TargetArgs() 1769 ABIName = A->getValue(); in AddPPCTargetArgs() 1799 ABIName = A->getValue(); in AddRISCVTargetArgs() [all …]
|