Home
last modified time | relevance | path

Searched refs:getAsInteger (Results 1 – 25 of 200) sorted by relevance

12345678

/src/contrib/llvm-project/llvm/lib/Target/AArch64/Utils/
H A DAArch64BaseInfo.cpp160 Ops[1].getAsInteger(10, Op0); in parseGenericRegister()
161 Ops[2].getAsInteger(10, Op1); in parseGenericRegister()
162 Ops[3].getAsInteger(10, CRn); in parseGenericRegister()
163 Ops[4].getAsInteger(10, CRm); in parseGenericRegister()
164 Ops[5].getAsInteger(10, Op2); in parseGenericRegister()
/src/contrib/llvm-project/clang/include/clang/Frontend/
H A DCommandLineSourceLoc.h40 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()
/src/contrib/llvm-project/lldb/source/Interpreter/
H A DOptionGroupValueObjectDisplay.cpp103 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 DCommandHistory.cpp46 if (input_str.drop_front(1).getAsInteger(0, idx)) in FindString()
52 if (input_str.getAsInteger(0, idx)) in FindString()
H A DOptionArgParser.cpp196 if (!s.getAsInteger(0, addr)) { in DoToAddress()
204 if (!s.getAsInteger(16, addr)) { in DoToAddress()
299 if (!str_offset.empty() && !str_offset.getAsInteger(0, offset)) { in DoToAddress()
/src/contrib/llvm-project/llvm/lib/IR/
H A DStatepoint.cpp30 if (!AttrID.getValueAsString().getAsInteger(10, StatepointID)) in parseStatepointDirectivesFromAttrs()
36 if (!AttrNumPatchBytes.getValueAsString().getAsInteger(10, NumPatchBytes)) in parseStatepointDirectivesFromAttrs()
/src/contrib/llvm-project/llvm/lib/Object/
H A DCOFFModuleDefinition.cpp167 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()
H A DArchive.cpp185 if (RawField.getAsInteger(10, Value)) { in getArchiveMemberDecField()
203 if (RawField.getAsInteger(8, Value)) { in getArchiveMemberOctField()
281 if (Name.substr(1).rtrim(' ').getAsInteger(10, StringOffset)) { in getName()
320 if (Name.substr(3).rtrim(' ').getAsInteger(10, NameLength)) { in getName()
530 if (RawNameSize.getAsInteger(10, NameSize)) { in Child()
1305 if (RawOffset.getAsInteger(10, Size)) in getGlobalSymtabLocAndSize()
1361 if (RawOffset.getAsInteger(10, FirstChildOffset)) in BigArchive()
1367 if (RawOffset.getAsInteger(10, LastChildOffset)) in BigArchive()
1374 if (RawOffset.getAsInteger(10, GlobSymtab32Offset)) { in BigArchive()
1383 if (RawOffset.getAsInteger(10, GlobSymtab64Offset)) { in BigArchive()
/src/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DCommandObjectTraceStartIntelPT.cpp50 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()
/src/contrib/llvm-project/llvm/lib/Support/
H A DCachePruning.cpp59 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()
H A DRegex.cpp177 if (End != StringRef::npos && !Ref.getAsInteger(10, RefValue)) { in sub()
213 if (!Ref.getAsInteger(10, RefValue) && in sub()
/src/contrib/llvm-project/llvm/include/llvm/MC/
H A DLaneBitmask.h74 constexpr Type getAsInteger() const { return Mask; } in getAsInteger() function
94 OS << format(LaneBitmask::FormatStr, LaneMask.getAsInteger()); in PrintLaneMask()
/src/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmLexer.cpp405 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()
/src/contrib/llvm-project/lld/COFF/
H A DDriverUtils.cpp85 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()
254 if (arg.getAsInteger(0, ctx.config.functionPadMin)) in parseFunctionPadMin()
274 if (arg.getAsInteger(0, ctx.config.dependentLoadFlags)) in parseDependentLoadFlags()
300 if (arg.getAsInteger(0, ctx.config.manifestID)) in parseManifest()
622 if (tok.substr(1).getAsInteger(0, ord)) in parseExport()
/src/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationClient.cpp1061 if (!major.getAsInteger(0, m_gdb_server_version)) in GetGDBServerVersion()
1235 if (!value.getAsInteger(0, cpu)) in GetHostInfo()
1239 if (!value.getAsInteger(0, sub)) in GetHostInfo()
1279 if (!value.getAsInteger(0, pointer_byte_size)) in GetHostInfo()
1282 if (!value.getAsInteger(0, m_low_mem_addressing_bits)) { in GetHostInfo()
1286 if (!value.getAsInteger(0, m_high_mem_addressing_bits)) in GetHostInfo()
1289 if (!value.getAsInteger(0, m_low_mem_addressing_bits)) in GetHostInfo()
1311 if (!value.getAsInteger(0, timeout_seconds)) { in GetHostInfo()
1318 if (!value.getAsInteger(0, page_size)) { in GetHostInfo()
1572 if (!value.getAsInteger(16, addr_value)) in GetMemoryRegionInfo()
[all …]
/src/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectThread.cpp67 if (option_arg.getAsInteger(0, m_count)) { in SetOptionValue()
78 if (option_arg.getAsInteger(0, m_start)) in SetOptionValue()
159 if (copy_args[idx].ref().getAsInteger(0, count_val)) in GetRepeatCommand()
166 if (copy_args[idx].ref().getAsInteger(0, start_val)) in GetRepeatCommand()
303 if (option_arg.getAsInteger(0, m_step_count)) in SetOptionValue()
320 if (option_arg.getAsInteger(0, m_end_line)) in SetOptionValue()
671 if (entry.ref().getAsInteger(0, thread_idx)) { in DoExecute()
813 if (option_arg.getAsInteger(0, m_thread_idx)) { in SetOptionValue()
820 if (option_arg.getAsInteger(0, m_frame_idx)) { in SetOptionValue()
1114 if (option_arg.getAsInteger(0, m_thread_id)) { in SetOptionValue()
[all …]
H A DCommandOptionsProcessAttach.cpp43 if (option_arg.getAsInteger(0, pid)) { in SetOptionValue()
/src/contrib/llvm-project/clang/lib/Driver/
H A DXRayArgs.cpp184 if (S.getAsInteger(0, Value) || Value < 0) in addArgs()
194 if (S.getAsInteger(0, XRayFunctionGroups) || XRayFunctionGroups < 1) in addArgs()
202 if (S.getAsInteger(0, XRaySelectedFunctionGroup) || in addArgs()
H A DOptionUtils.cpp24 if (StringRef(A->getValue()).getAsInteger(Base, Res)) { in getLastArgIntValueImpl()
/src/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextStubCommon.cpp196 if (Scalar.getAsInteger(10, Value)) in input()
211 if (Scalar.getAsInteger(10, Value)) in input()
/src/contrib/llvm-project/llvm/include/llvm/Remarks/
H A DHotnessThresholdParser.h36 if (Arg.getAsInteger(10, Val)) in parseHotnessThresholdOption()
/src/contrib/llvm-project/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp480 if (ComplexTT.second.getAsInteger(10, Log2EEW)) { in parsePrototypeDescriptor()
503 if (ComplexTT.second.getAsInteger(10, NewSEW)) { in parsePrototypeDescriptor()
526 if (ComplexTT.second.getAsInteger(10, Log2LMUL)) { in parsePrototypeDescriptor()
558 if (ComplexTT.second.getAsInteger(10, Log2LMUL)) { in parsePrototypeDescriptor()
591 if (ComplexTT.second.getAsInteger(10, Log2LMUL)) { in parsePrototypeDescriptor()
623 if (ComplexTT.second.getAsInteger(10, NF)) { in parsePrototypeDescriptor()
/src/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A DObjcopyOptions.cpp231 if (Split.second.getAsInteger(0, Value)) in parseSetSectionAttribute()
398 template <class T> static ErrorOr<T> getAsInteger(StringRef Val) { in getAsInteger() function
400 if (Val.getAsInteger(0, Result)) in getAsInteger()
471 if (Flags[0].getAsInteger(0, SI.Value)) in parseNewSymbolInfo()
578 auto LMAValue = getAsInteger<int64_t>(StringValue); in parseChangeSectionLMA()
732 if (Major.getAsInteger(10, Number)) in parseObjcopyOptions()
738 if (!Minor.empty() && Minor.getAsInteger(10, Number)) in parseObjcopyOptions()
845 ErrorOr<uint64_t> Val = getAsInteger<uint64_t>(A->getValue()); in parseObjcopyOptions()
862 ErrorOr<uint64_t> Addr = getAsInteger<uint64_t>(A->getValue()); in parseObjcopyOptions()
1129 auto EAddr = getAsInteger<uint64_t>(Arg->getValue()); in parseObjcopyOptions()
[all …]
/src/contrib/llvm-project/llvm/lib/ProfileData/
H A DSampleProfReader.cpp164 if (Input.substr(n1 + 1, n2 - n1 - 1).getAsInteger(10, NumSamples)) in ParseHead()
166 if (Input.substr(n2 + 1).getAsInteger(10, NumHeadSamples)) in ParseHead()
185 return !CFGInfo.getAsInteger(10, FunctionHash); in parseMetadata()
190 return !Attrib.getAsInteger(10, Attributes); in parseMetadata()
233 if (Loc.getAsInteger(10, LineOffset) || !isOffsetLegal(LineOffset)) in ParseLine()
237 if (Loc.substr(0, n2).getAsInteger(10, LineOffset)) in ParseLine()
239 if (Loc.substr(n2 + 1).getAsInteger(10, Discriminator)) in ParseLine()
248 if (Rest.getAsInteger(10, NumSamples)) in ParseLine()
251 if (Rest.substr(0, n3).getAsInteger(10, NumSamples)) in ParseLine()
284 if (!WordAfterColon.getAsInteger(10, count)) in ParseLine()
[all …]
/src/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndexYAML.h74 if (P.first.getAsInteger(0, Arg)) {
119 if (Key.getAsInteger(0, KeyInt)) {
213 if (Key.getAsInteger(0, KeyInt)) {

12345678