| /llvm-project/llvm/lib/Target/AArch64/Utils/ |
| H A D | AArch64BaseInfo.cpp | 159 Ops[1].getAsInteger(10, Op0); in parseGenericRegister() 160 Ops[2].getAsInteger(10, Op1); in parseGenericRegister() 161 Ops[3].getAsInteger(10, CRn); in parseGenericRegister() 162 Ops[4].getAsInteger(10, CRm); in parseGenericRegister() 163 Ops[5].getAsInteger(10, Op2); in parseGenericRegister()
|
| /llvm-project/mlir/lib/Debug/BreakpointManagers/ |
| H A D | FileLineColLocBreakpointManager.cpp | 38 if (!colStr.empty() && colStr.getAsInteger(0, line)) in parseFromString() 41 if (lineStr.getAsInteger(0, line)) { in parseFromString() 45 if (colStr.getAsInteger(0, line)) in parseFromString() 50 if (colStr.getAsInteger(0, col)) { in parseFromString()
|
| /llvm-project/clang/include/clang/Frontend/ |
| H A D | CommandLineSourceLoc.h | 40 if (!ColSplit.second.getAsInteger(10, PSL.Column) && in FromString() 41 !LineSplit.second.getAsInteger(10, PSL.Line)) { in FromString() 86 if (Split.first.getAsInteger(10, EndLine) || in fromString() 87 Split.second.getAsInteger(10, EndColumn)) { in fromString()
|
| /llvm-project/mlir/lib/AsmParser/ |
| H A D | Token.cpp | 38 if (spelling.getAsInteger(isHex ? 0 : 10, result)) in getUnsignedIntegerValue() 49 if (spelling.getAsInteger(isHex ? 0 : 10, result)) in getUInt64IntegerValue() 68 if (spelling.drop_front(bitwidthStart).getAsInteger(10, result)) in getIntTypeBitwidth() 169 if (spelling.drop_front().getAsInteger(10, result)) in getHashIdentifierNumber()
|
| /llvm-project/lldb/source/Interpreter/ |
| H A D | OptionGroupValueObjectDisplay.cpp | 103 if (option_arg.getAsInteger(0, max_depth)) { in SetOptionValue() 113 if (option_arg.getAsInteger(0, elem_count)) { in SetOptionValue() 121 if (option_arg.getAsInteger(0, ptr_depth)) { in SetOptionValue() 131 else if (option_arg.getAsInteger(0, no_summary_depth)) { in SetOptionValue()
|
| H A D | CommandHistory.cpp | 46 if (input_str.drop_front(1).getAsInteger(0, idx)) in FindString() 52 if (input_str.getAsInteger(0, idx)) in FindString()
|
| /llvm-project/lldb/unittests/tools/lldb-server/tests/ |
| H A D | MessageObjects.cpp | 27 if (elements["pid"].getAsInteger(16, process_info.m_pid)) in create() 29 if (elements["parent-pid"].getAsInteger(16, process_info.m_parent_pid)) in create() 31 if (elements["real-uid"].getAsInteger(16, process_info.m_real_uid)) in create() 33 if (elements["real-gid"].getAsInteger(16, process_info.m_real_gid)) in create() 35 if (elements["effective-uid"].getAsInteger(16, process_info.m_effective_uid)) in create() 37 if (elements["effective-gid"].getAsInteger(16, process_info.m_effective_gid)) in create() 39 if (elements["ptrsize"].getAsInteger(10, process_info.m_ptrsize)) in create()
|
| /llvm-project/mlir/lib/Dialect/AMDGPU/Utils/ |
| H A D | Chipset.cpp | 27 if (majorRef.getAsInteger(10, major)) in parse() 29 if (minorRef.getAsInteger(16, minor)) 31 if (steppingRef.getAsInteger(16, stepping))
|
| /llvm-project/llvm/tools/llvm-profgen/ |
| H A D | PerfReader.cpp | 597 if (Records[0].getAsInteger(16, LeadingAddr)) { in extractLBRStack() 619 if (Addresses.size() < 2 || Addresses[0].substr(2).getAsInteger(16, Src) || in extractLBRStack() 620 Addresses[1].substr(2).getAsInteger(16, Dst)) { in extractLBRStack() 656 if (FrameStr.getAsInteger(16, FrameAddr)) { in extractCallstack() 851 if (TraceIt.getCurrentLine().ltrim().getAsInteger(10, Num)) in readSampleCounters() 866 if (LineSplit.second.empty() || LineSplit.second.getAsInteger(10, Count)) in readSampleCounters() 872 if (Range.second.empty() || Range.first.getAsInteger(16, Source) || in readSampleCounters() 873 Range.second.getAsInteger(16, Target)) in readSampleCounters() 972 if (!TraceIt.getCurrentLine().getAsInteger(10, Count)) in extractMMapEventForBinary() 1035 Fields[MMAPPED_ADDRESS].getAsInteger( in parseMMapEvent() [all...] |
| /llvm-project/llvm/lib/Object/ |
| H A D | COFFModuleDefinition.cpp | 167 if (Tok.K != Identifier || Tok.Value.getAsInteger(10, *I)) in readAsInt() 253 Tok.Value.getAsInteger(10, E.Ordinal); in parseExport() 254 } else if (Tok.Value.drop_front().getAsInteger(10, E.Ordinal)) { in parseExport() 347 if (V1.getAsInteger(10, *Major)) in parseVersion() 351 else if (V2.getAsInteger(10, *Minor)) in parseVersion()
|
| /llvm-project/llvm/lib/IR/ |
| H A D | Statepoint.cpp | 30 if (!AttrID.getValueAsString().getAsInteger(10, StatepointID)) in parseStatepointDirectivesFromAttrs() 36 if (!AttrNumPatchBytes.getValueAsString().getAsInteger(10, NumPatchBytes)) in parseStatepointDirectivesFromAttrs()
|
| /llvm-project/llvm/unittests/Support/ |
| H A D | JSONTest.cpp | 286 EXPECT_EQ((*(*A)[4].getAsArray())[1].getAsInteger(), in TEST() 356 EXPECT_EQ(Doc->getAsInteger(), T.AsInt) << T.Desc; in TEST() 379 EXPECT_EQ(Doc->getAsInteger(), int64_t{4611686018427387905}); in TEST() 388 EXPECT_EQ(Doc->getAsInteger(), int64_t{-78278238238328222}); in TEST() 398 EXPECT_EQ(Doc->getAsInteger(), int64_t{9223372036854775807}); in TEST() 408 EXPECT_EQ(Doc->getAsInteger(), std::nullopt); in TEST() 418 EXPECT_EQ(Doc->getAsInteger(), std::nullopt); in TEST() 430 EXPECT_EQ(Doc->getAsInteger(), std::nullopt); in TEST()
|
| /llvm-project/mlir/unittests/Analysis/Presburger/ |
| H A D | FractionTest.cpp | 9 TEST(FractionTest, getAsInteger) { in TEST() argument 11 EXPECT_EQ(f.getAsInteger(), DynamicAPInt(3)); in TEST()
|
| /llvm-project/llvm/tools/llvm-jitlink/llvm-jitlink-executor/ |
| H A D | llvm-jitlink-executor.cpp | 167 if (FD1Str.getAsInteger(10, InFD)) in main() 169 if (FD2Str.getAsInteger(10, OutFD)) in main() 176 if (PortStr.getAsInteger(10, Port)) in main()
|
| /llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
| H A D | CommandObjectTraceStartIntelPT.cpp | 50 if (option_arg.empty() || option_arg.getAsInteger(0, psb_period) || in SetOptionValue() 132 if (option_arg.empty() || option_arg.getAsInteger(0, psb_period) || in SetOptionValue() 197 if (number_part.getAsInteger(10, parsed_number)) { in ParseUserFriendlySizeExpression()
|
| /llvm-project/llvm/lib/Support/ |
| H A D | CachePruning.cpp | 59 if (NumStr.getAsInteger(0, Num)) in parseDuration() 102 if (SizeStr.getAsInteger(0, Size)) in parseCachePruningPolicy() 127 if (Value.getAsInteger(0, Size)) in parseCachePruningPolicy() 132 if (Value.getAsInteger(0, Policy.MaxSizeFiles)) in parseCachePruningPolicy()
|
| /llvm-project/llvm/lib/MC/MCParser/ |
| H A D | AsmLexer.cpp | 405 if (Result.drop_back().getAsInteger(Radix, Value)) in LexDigit() 425 if (Result.getAsInteger(DefaultRadix, Value)) { in LexDigit() 440 if (StringRef(NumStart, CurPtr - NumStart).getAsInteger(16, Result)) in LexDigit() 453 if (StringRef(NumStart, CurPtr - NumStart).getAsInteger(2, Result)) in LexDigit() 479 if (Result.getAsInteger(Radix, Value)) in LexDigit() 509 if (Result.substr(2).getAsInteger(2, Value)) in LexDigit() 535 if (StringRef(TokStart, CurPtr - TokStart).getAsInteger(0, Result)) in LexDigit() 553 if (Result.getAsInteger(Radix, Value)) in LexDigit()
|
| /llvm-project/llvm/include/llvm/MC/ |
| H A D | LaneBitmask.h | 74 constexpr Type getAsInteger() const { return Mask; } in getAsInteger() function 94 OS << format(LaneBitmask::FormatStr, LaneMask.getAsInteger()); in PrintLaneMask()
|
| /llvm-project/clang-tools-extra/clang-tidy/misc/ConfusableTable/ |
| H A D | BuildConfusableTable.cpp | 42 From.getAsInteger(16, CodePoint); in main() 49 To_.trim().getAsInteger(16, ToCodePoint); in main()
|
| /llvm-project/lldb/source/Plugins/Process/Linux/ |
| H A D | Procfs.cpp | 45 if (val.getAsInteger(10, processor)) in GetAvailableLogicalCoreIDs() 82 if (buffer.getAsInteger(10, ptrace_scope_value)) { in GetPtraceScope()
|
| /llvm-project/lld/COFF/ |
| H A D | DriverUtils.cpp | 85 if (s1.getAsInteger(0, *addr)) in parseNumbers() 87 if (size && !s2.empty() && s2.getAsInteger(0, *size)) in parseNumbers() 96 if (s1.getAsInteger(10, *major)) in parseVersion() 99 if (!s2.empty() && s2.getAsInteger(10, *minor)) in parseVersion() 181 if (s.getAsInteger(0, v)) { in parsePDBPageSize() 241 if (align.getAsInteger(0, v)) { in parseAligncomm() 270 if (arg.getAsInteger(0, ctx.config.functionPadMin)) 290 if (arg.getAsInteger(0, ctx.config.dependentLoadFlags)) in parseManifest() 316 if (arg.getAsInteger(0, ctx.config.manifestID)) in parseManifestUAC() 643 if (tok.substr(1).getAsInteger( in killAt() [all...] |
| /llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | GDBRemoteCommunicationClient.cpp | 1066 if (!major.getAsInteger(0, m_gdb_server_version)) in GetGDBServerVersion() 1240 if (!value.getAsInteger(0, cpu)) in GetHostInfo() 1244 if (!value.getAsInteger(0, sub)) in GetHostInfo() 1284 if (!value.getAsInteger(0, pointer_byte_size)) in GetHostInfo() 1287 if (!value.getAsInteger(0, m_low_mem_addressing_bits)) { in GetHostInfo() 1291 if (!value.getAsInteger(0, m_high_mem_addressing_bits)) in GetHostInfo() 1294 if (!value.getAsInteger(0, m_low_mem_addressing_bits)) in GetHostInfo() 1316 if (!value.getAsInteger(0, timeout_seconds)) { in GetHostInfo() 1323 if (!value.getAsInteger(0, page_size)) { in GetHostInfo() 1579 if (!value.getAsInteger(1 in GetMemoryRegionInfo() [all...] |
| /llvm-project/clang-tools-extra/clang-tidy/ |
| H A D | ClangTidyCheck.h | 197 if (!StringRef(*Value).getAsInteger(10, Result)) in get() 222 if (!StringRef(*Value).getAsInteger(10, Result)) in get() 266 if (!StringRef(*ValueOr).getAsInteger(10, Result)) in getLocalOrGlobal() 299 if (!StringRef(*ValueOr).getAsInteger(10, Result)) in getLocalOrGlobal()
|
| /llvm-project/lldb/source/Commands/ |
| H A D | CommandObjectThread.cpp | 67 if (option_arg.getAsInteger(0, m_count)) { in SetOptionValue() 78 if (option_arg.getAsInteger(0, m_start)) in SetOptionValue() 167 if (copy_args[idx].ref().getAsInteger(0, count_val)) in GetRepeatCommand() 174 if (copy_args[idx].ref().getAsInteger(0, start_val)) in GetRepeatCommand() 311 if (option_arg.getAsInteger(0, m_step_count)) in SetOptionValue() 328 if (option_arg.getAsInteger(0, m_end_line)) in SetOptionValue() 676 if (entry.ref().getAsInteger(0, thread_idx)) { in DoExecute() 818 if (option_arg.getAsInteger(0, m_thread_idx)) { in SetOptionValue() 825 if (option_arg.getAsInteger(0, m_frame_idx)) { in SetOptionValue() 1119 if (option_arg.getAsInteger( in SetOptionValue() [all...] |
| /llvm-project/clang/test/Analysis/ |
| H A D | llvm-conventions.cpp | 104 getAsInteger(unsigned Radix, T &Result) const; 107 getAsInteger(unsigned Radix, T &Result) const; 114 bool getAsInteger(unsigned Radix, APInt &Result) const;
|