Home
last modified time | relevance | path

Searched refs:getValueAsInt (Results 1 – 25 of 59) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/
H A DRISCVTargetDefEmitter.cpp41 << R->getValueAsInt("MajorVersion") << ", " in printExtensionTable()
42 << R->getValueAsInt("MinorVersion") << "}},\n"; in printExtensionTable()
106 unsigned Major = Feature->getValueAsInt("MajorVersion"); in printMArch()
107 unsigned Minor = Feature->getValueAsInt("MinorVersion"); in printMArch()
197 uint32_t MVendorID = Rec->getValueAsInt("MVendorID"); in emitRISCVProcs()
198 uint64_t MArchID = Rec->getValueAsInt("MArchID"); in emitRISCVProcs()
199 uint64_t MImpID = Rec->getValueAsInt("MImpID"); in emitRISCVProcs()
227 unsigned GroupID1 = Rec1->getValueAsInt("GroupID"); in emitRISCVExtensionBitmask()
228 unsigned GroupID2 = Rec2->getValueAsInt("GroupID"); in emitRISCVExtensionBitmask()
232 return Rec1->getValueAsInt("BitPos") < Rec2->getValueAsInt("BitPos"); in emitRISCVExtensionBitmask()
[all …]
H A DVTEmitter.cpp36 unsigned NElem = VT->getValueAsInt("nElem"); in vTtoGetLlvmTyString()
37 unsigned Sz = VT->getValueAsInt("Size"); in vTtoGetLlvmTyString()
49 int64_t OutputVTSize = OutputVT->getValueAsInt("Size"); in vTtoGetLlvmTyString()
87 OS << ", " << VT->getValueAsInt("nElem") << ")"; in vTtoGetLlvmTyString()
95 auto Number = VT->getValueAsInt("Value"); in run()
129 auto Value = VT->getValueAsInt("Value"); in run()
135 int64_t NF = VT->getValueAsInt("NF"); in run()
137 int64_t NElem = IsVector ? VT->getValueAsInt("nElem") : 0; in run()
160 << VT->getValueAsInt("Size") << ", " in run()
193 << VT->getValueAsInt("nElem") << ", " in run()
H A DCodeGenIntrinsics.cpp408 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
411 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
414 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
417 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
420 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
423 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
426 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
429 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
432 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
435 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
[all …]
H A DARMTargetDefEmitter.cpp212 const int Major = Rec->getValueAsInt("Major"); in emitARMTargetDef()
213 const int Minor = Rec->getValueAsInt("Minor"); in emitARMTargetDef()
327 auto Major = Arch->getValueAsInt("Major"); in emitARMTargetDef()
328 auto Minor = Arch->getValueAsInt("Minor"); in emitARMTargetDef()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DPredicateExpander.cpp330 return expandCheckIsRegOperand(OS, Rec->getValueAsInt("OpIndex")); in expandPredicate()
333 return expandCheckIsVRegOperand(OS, Rec->getValueAsInt("OpIndex")); in expandPredicate()
336 return expandCheckIsImmOperand(OS, Rec->getValueAsInt("OpIndex")); in expandPredicate()
339 return expandCheckRegOperand(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
344 return expandCheckRegOperandSimple(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
348 return expandCheckInvalidRegOperand(OS, Rec->getValueAsInt("OpIndex")); in expandPredicate()
351 return expandCheckImmOperand(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
352 Rec->getValueAsInt("ImmVal"), in expandPredicate()
356 return expandCheckImmOperand(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
361 return expandCheckImmOperandLT(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
[all …]
H A DInfoByHwMode.cpp40 PtrAddrSpace = R->getValueAsInt("AddrSpace"); in ValueTypeByHwMode()
46 PtrAddrSpace = R->getValueAsInt("AddrSpace"); in ValueTypeByHwMode()
121 RegSize = R->getValueAsInt("RegSize"); in RegSizeInfo()
122 SpillSize = R->getValueAsInt("SpillSize"); in RegSizeInfo()
123 SpillAlignment = R->getValueAsInt("SpillAlignment"); in RegSizeInfo()
190 Size = R->getValueAsInt("Size"); in SubRegRange()
191 Offset = R->getValueAsInt("Offset"); in SubRegRange()
H A DOptEmitter.cpp43 int APrec = AKind->getValueAsInt("Precedence"); in IsOptionRecordsLess()
44 int BPrec = BKind->getValueAsInt("Precedence"); in IsOptionRecordsLess()
H A DCodeGenTarget.cpp46 return (MVT::SimpleValueType)Rec->getValueAsInt("Value"); in getValueType()
113 return TargetRec->getValueAsInt("AllowRegisterRenaming"); in getAllowRegisterRenaming()
345 NumOperands = R->getValueAsInt("NumOperands"); in ComplexPattern()
353 int64_t RawComplexity = R->getValueAsInt("Complexity"); in ComplexPattern()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DDXILEmitter.cpp75 RecA->getValueAsDef("dxil_version")->getValueAsInt("Major"); in ascendingSortByVersion()
77 RecA->getValueAsDef("dxil_version")->getValueAsInt("Minor"); in ascendingSortByVersion()
79 RecB->getValueAsDef("dxil_version")->getValueAsInt("Major"); in ascendingSortByVersion()
81 RecB->getValueAsDef("dxil_version")->getValueAsInt("Minor"); in ascendingSortByVersion()
109 OpCode = R->getValueAsInt("OpCode"); in DXILOperationDesc()
129 if (TR->getValueAsInt("isOverload")) { in DXILOperationDesc()
243 Rec->getValueAsDef("dxil_version")->getValueAsInt("Major"); in getOverloadMaskString()
245 Rec->getValueAsDef("dxil_version")->getValueAsInt("Minor"); in getOverloadMaskString()
288 unsigned Major = Rec->getValueAsDef("dxil_version")->getValueAsInt("Major"); in getStageMaskString()
289 unsigned Minor = Rec->getValueAsDef("dxil_version")->getValueAsInt("Minor"); in getStageMaskString()
[all …]
H A DMacroFusionPredicatorEmitter.cpp159 int FirstOpIdx = Predicate->getValueAsInt("FirstOpIdx"); in emitFirstPredicate()
160 int SecondOpIdx = Predicate->getValueAsInt("SecondOpIdx"); in emitFirstPredicate()
220 int FirstOpIdx = Predicate->getValueAsInt("FirstOpIdx"); in emitSecondPredicate()
221 int SecondOpIdx = Predicate->getValueAsInt("SecondOpIdx"); in emitSecondPredicate()
266 int FirstOpIdx = Predicate->getValueAsInt("FirstOpIdx"); in emitBothPredicate()
267 int SecondOpIdx = Predicate->getValueAsInt("SecondOpIdx"); in emitBothPredicate()
H A DCallingConvEmitter.cpp181 int Size = Action->getValueAsInt("Size"); in emitAction()
182 int Align = Action->getValueAsInt("Align"); in emitAction()
268 int Size = Action->getValueAsInt("Size"); in emitAction()
269 int Align = Action->getValueAsInt("Align"); in emitAction()
324 int Size = Action->getValueAsInt("Size"); in emitAction()
325 int Align = Action->getValueAsInt("Align"); in emitAction()
H A DSubtargetEmitter.cpp355 int Cycles = Stage->getValueAsInt("Cycles"); in formItineraryStageString()
369 int TimeInc = Stage->getValueAsInt("TimeInc"); in formItineraryStageString()
372 int Kind = Stage->getValueAsInt("Kind"); in formItineraryStageString()
562 int16_t NumUOps = ItinData ? ItinData->getValueAsInt("NumMicroOps") : 0; in emitStageAndOperandCycleData()
647 int V = R ? R->getValueAsInt(Name) : -1; in emitProcessorProp()
668 for (unsigned J = 0; J < RU->getValueAsInt("NumUnits"); ++J) { in emitProcessorResourceSubUnits()
682 std::max(ReorderBufferSize, RCU->getValueAsInt("ReorderBufferSize")); in emitRetireControlUnitInfo()
684 std::max(MaxRetirePerCycle, RCU->getValueAsInt("MaxRetirePerCycle")); in emitRetireControlUnitInfo()
822 int BufferSize = PRDef->getValueAsInt("BufferSize"); in emitProcessorResources()
825 NumUnits += RU->getValueAsInt("NumUnits"); in emitProcessorResources()
[all …]
H A DX86MnemonicTables.cpp38 unsigned Variant = AsmWriter->getValueAsInt("Variant"); in run()
H A DAsmWriterEmitter.cpp331 bool PassSubtarget = AsmWriter->getValueAsInt("PassSubtarget"); in EmitGetMnemonic()
492 bool PassSubtarget = AsmWriter->getValueAsInt("PassSubtarget"); in EmitPrintInstruction()
845 unsigned Variant = AsmWriter->getValueAsInt("Variant"); in EmitPrintAliasInstruction()
846 bool PassSubtarget = AsmWriter->getValueAsInt("PassSubtarget"); in EmitPrintAliasInstruction()
853 int Priority = R->getValueAsInt("EmitPriority"); in EmitPrintAliasInstruction()
1314 unsigned Variant = AsmWriter->getValueAsInt("Variant"); in AsmWriterEmitter()
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DDirectiveEmitter.h102 int64_t Min = R->getValueAsInt("minVersion"); in getMinVersion()
108 int64_t Max = R->getValueAsInt("maxVersion"); in getMaxVersion()
359 int64_t getMinVersion() const { return Def->getValueAsInt("minVersion"); } in getMinVersion()
361 int64_t getMaxVersion() const { return Def->getValueAsInt("maxVersion"); } in getMaxVersion()
371 int getValue() const { return Def->getValueAsInt("value"); } in getValue()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangOpenCLBuiltinEmitter.cpp562 << T.first->getValueAsInt("VecWidth") << ", " in EmitTypeTable()
632 Overload.first->getValueAsDef("MinVersion")->getValueAsInt("ID"); in EmitBuiltinTable()
634 Overload.first->getValueAsDef("MaxVersion")->getValueAsInt("ID"); in EmitBuiltinTable()
663 Rec->getValueAsDef("MinVersion")->getValueAsInt("ID") == in CanReuseSignature()
664 Rec2->getValueAsDef("MinVersion")->getValueAsInt("ID") && in CanReuseSignature()
665 Rec->getValueAsDef("MaxVersion")->getValueAsInt("ID") == in CanReuseSignature()
666 Rec2->getValueAsDef("MaxVersion")->getValueAsInt("ID") && in CanReuseSignature()
1054 VectorList.push_back(Type->getValueAsInt("VecWidth")); in getTypeLists()
1149 int MinVersion = Builtin->getValueAsDef("MinVersion")->getValueAsInt("ID"); in emitVersionGuard()
1157 int MaxVersion = Builtin->getValueAsDef("MaxVersion")->getValueAsInt("ID"); in emitVersionGuard()
H A DSveEmitter.cpp316 EltTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
318 MemEltTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
320 FlagTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
322 MergeTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
324 ImmCheckTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
1204 uint64_t Merge = R->getValueAsInt("Merge"); in createIntrinsic()
1206 uint64_t MemEltType = R->getValueAsInt("MemEltType"); in createIntrinsic()
1210 Flags |= FlagRec->getValueAsInt("Value"); in createIntrinsic()
1239 int64_t ArgIdx = ImmR->getValueAsInt("ImmArgIdx"); in createIntrinsic()
1240 int64_t EltSizeArgIdx = ImmR->getValueAsInt("TypeContextArgIdx"); in createIntrinsic()
[all …]
H A DClangCommentHTMLNamedCharacterReferenceEmitter.cpp55 uint64_t CodePoint = Tag->getValueAsInt("CodePoint"); in EmitClangCommentHTMLNamedCharacterReferences()
H A DClangCommentCommandInfoEmitter.cpp36 << Tag.getValueAsInt("NumArgs") << ", " in EmitClangCommentCommandInfo()
H A DMveEmitter.cpp247 Bits = Record->getValueAsInt("size"); in ScalarType()
1121 unsigned Registers = Op->getValueAsInt("n"); in getType()
1144 int Num = Op->getValueAsInt("num"), Denom = Op->getValueAsInt("denom"); in getType()
1246 unsigned Index = sp->getValueAsInt("index"); in getCodeForDag()
1356 for (unsigned i = 0, e = PolymorphicNameType->getValueAsInt( in ACLEIntrinsic()
1408 IA.i1 = Bounds->getValueAsInt("lo"); in ACLEIntrinsic()
1409 IA.i2 = Bounds->getValueAsInt("hi"); in ACLEIntrinsic()
1419 IA.i1 = Bounds->getValueAsInt("base"); in ACLEIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAttributes.cpp379 uint64_t Attribute::getValueAsInt() const { in getValueAsInt() function in Attribute
383 return pImpl->getValueAsInt(); in getValueAsInt()
438 return MaybeAlign(pImpl->getValueAsInt()); in getAlignment()
444 return MaybeAlign(pImpl->getValueAsInt()); in getStackAlignment()
451 return pImpl->getValueAsInt(); in getDereferenceableBytes()
458 return pImpl->getValueAsInt(); in getDereferenceableOrNullBytes()
465 return unpackAllocSizeArgs(pImpl->getValueAsInt()); in getAllocSizeArgs()
471 return unpackVScaleRangeArgs(pImpl->getValueAsInt()).first; in getVScaleRangeMin()
477 return unpackVScaleRangeArgs(pImpl->getValueAsInt()).second; in getVScaleRangeMax()
483 return UWTableKind(pImpl->getValueAsInt()); in getUWTableKind()
[all …]
H A DAttributeImpl.h77 uint64_t getValueAsInt() const;
99 Profile(ID, getKindAsEnum(), getValueAsInt()); in Profile()
/freebsd/contrib/llvm-project/lldb/utils/TableGen/
H A DLLDBOptionDefEmitter.cpp47 int GroupStart = Option->getValueAsInt("GroupStart"); in CommandOption()
48 int GroupEnd = Option->getValueAsInt("GroupEnd"); in CommandOption()
H A DLLDBPropertyDefEmitter.cpp83 OS << std::to_string(Property->getValueAsInt("DefaultUnsignedValue")); in emitProperty()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAssumeBundleBuilder.cpp158 Arg->getAttribute(RK.AttrKind).getValueAsInt() >= RK.ArgValue)) in isKnowledgeWorthPreserving()
201 AttrArg = Attr.getValueAsInt(); in addAttribute()
428 Arg->getAttribute(RK.AttrKind).getValueAsInt() >= in dropRedundantKnowledge()

123