Home
last modified time | relevance | path

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

123

/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DVTEmitter.cpp38 auto Number = VT->getValueAsInt("Value"); in run()
70 auto Value = VT->getValueAsInt("Value"); in run()
71 bool IsInteger = VT->getValueAsInt("isInteger"); in run()
72 bool IsFP = VT->getValueAsInt("isFP"); in run()
73 bool IsVector = VT->getValueAsInt("isVector"); in run()
94 << VT->getValueAsInt("Size") << ", " in run()
95 << VT->getValueAsInt("isOverloaded") << ", " in run()
114 if (!VT || !VT->getValueAsInt("isVector")) in run()
121 << VT->getValueAsInt("isScalable") << ", " in run()
122 << VT->getValueAsInt("nElem") << ", " in run()
[all …]
H A DCodeGenIntrinsics.cpp210 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
213 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
216 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
219 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
222 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
225 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
228 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
231 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
234 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
237 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
[all …]
H A DPredicateExpander.cpp349 return expandCheckIsRegOperand(OS, Rec->getValueAsInt("OpIndex")); in expandPredicate()
355 return expandCheckIsImmOperand(OS, Rec->getValueAsInt("OpIndex")); in expandPredicate()
358 return expandCheckRegOperand(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
370 return expandCheckImmOperand(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
371 Rec->getValueAsInt("ImmVal"), in expandPredicate()
375 return expandCheckImmOperand(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
380 return expandCheckImmOperandLT(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
381 Rec->getValueAsInt("ImmVal"), in expandPredicate()
385 return expandCheckImmOperandGT(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
386 Rec->getValueAsInt("ImmVal"), in expandPredicate()
[all …]
H A DCallingConvEmitter.cpp188 int Size = Action->getValueAsInt("Size"); in EmitAction()
189 int Align = Action->getValueAsInt("Align"); in EmitAction()
252 int Size = Action->getValueAsInt("Size"); in EmitAction()
253 int Align = Action->getValueAsInt("Align"); in EmitAction()
277 int Size = Action->getValueAsInt("Size"); in EmitAction()
278 int Align = Action->getValueAsInt("Align"); in EmitAction()
340 int Size = Action->getValueAsInt("Size"); in EmitAction()
341 int Align = Action->getValueAsInt("Align"); in EmitAction()
H A DInfoByHwMode.cpp39 PtrAddrSpace = R->getValueAsInt("AddrSpace"); in ValueTypeByHwMode()
44 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()
H A DOptEmitter.cpp73 int APrec = A->getValueAsDef("Kind")->getValueAsInt("Precedence"); in CompareOptionRecords()
74 int BPrec = B->getValueAsDef("Kind")->getValueAsInt("Precedence"); in CompareOptionRecords()
H A DSubtargetEmitter.cpp356 int Cycles = Stage->getValueAsInt("Cycles"); in FormItineraryStageString()
369 int TimeInc = Stage->getValueAsInt("TimeInc"); in FormItineraryStageString()
372 int Kind = Stage->getValueAsInt("Kind"); in FormItineraryStageString()
660 int V = R ? R->getValueAsInt(Name) : -1; in EmitProcessorProp()
682 for (unsigned J = 0; J < RU->getValueAsInt("NumUnits"); ++J) { in EmitProcessorResourceSubUnits()
836 int BufferSize = PRDef->getValueAsInt("BufferSize"); in EmitProcessorResources()
840 NumUnits += RU->getValueAsInt("NumUnits"); in EmitProcessorResources()
841 SubUnitsOffset += RU->getValueAsInt("NumUnits"); in EmitProcessorResources()
852 NumUnits = PRDef->getValueAsInt("NumUnits"); in EmitProcessorResources()
1143 WLEntry.Cycles += WriteRes->getValueAsInt("Latency"); in GenSchedClassTables()
[all …]
H A DMacroFusionPredicatorEmitter.cpp201 int FirstOpIdx = Predicate->getValueAsInt("FirstOpIdx"); in emitBothPredicate()
202 int SecondOpIdx = Predicate->getValueAsInt("SecondOpIdx"); in emitBothPredicate()
H A DDXILEmitter.cpp77 DXILOpID = R->getValueAsInt("dxil_opid"); in DXILOperationData()
108 Pos = R->getValueAsInt("pos"); in DXILParam()
114 MaxValue = R->getValueAsInt("max_value"); in DXILParam()
H A DCodeGenTarget.cpp47 return (MVT::SimpleValueType)Rec->getValueAsInt("Value"); in getValueType()
328 return TargetRec->getValueAsInt("AllowRegisterRenaming"); in getAllowRegisterRenaming()
604 NumOperands = R->getValueAsInt("NumOperands"); in ComplexPattern()
612 int64_t RawComplexity = R->getValueAsInt("Complexity"); in ComplexPattern()
H A DX86MnemonicTables.cpp38 unsigned Variant = AsmWriter->getValueAsInt("Variant"); in run()
H A DAsmWriterEmitter.cpp302 bool PassSubtarget = AsmWriter->getValueAsInt("PassSubtarget"); in EmitGetMnemonic()
462 bool PassSubtarget = AsmWriter->getValueAsInt("PassSubtarget"); in EmitPrintInstruction()
819 unsigned Variant = AsmWriter->getValueAsInt("Variant"); in EmitPrintAliasInstruction()
820 bool PassSubtarget = AsmWriter->getValueAsInt("PassSubtarget"); in EmitPrintAliasInstruction()
830 int Priority = R->getValueAsInt("EmitPriority"); in EmitPrintAliasInstruction()
1293 unsigned Variant = AsmWriter->getValueAsInt("Variant"); in AsmWriterEmitter()
H A DDAGISelEmitter.cpp69 Cost += Op->getValueAsInt("CodeSize"); in getResultPatternSize()
/freebsd-14.2/contrib/llvm-project/clang/utils/TableGen/
H A DClangOpenCLBuiltinEmitter.cpp567 << T.first->getValueAsInt("VecWidth") << ", " in EmitTypeTable()
637 Overload.first->getValueAsDef("MinVersion")->getValueAsInt("ID"); in EmitBuiltinTable()
639 Overload.first->getValueAsDef("MaxVersion")->getValueAsInt("ID"); in EmitBuiltinTable()
668 Rec->getValueAsDef("MinVersion")->getValueAsInt("ID") == in CanReuseSignature()
669 Rec2->getValueAsDef("MinVersion")->getValueAsInt("ID") && in CanReuseSignature()
670 Rec->getValueAsDef("MaxVersion")->getValueAsInt("ID") == in CanReuseSignature()
671 Rec2->getValueAsDef("MaxVersion")->getValueAsInt("ID") && in CanReuseSignature()
1070 VectorList.push_back(Type->getValueAsInt("VecWidth")); in getTypeLists()
1166 int MinVersion = Builtin->getValueAsDef("MinVersion")->getValueAsInt("ID"); in emitVersionGuard()
1174 int MaxVersion = Builtin->getValueAsDef("MaxVersion")->getValueAsInt("ID"); in emitVersionGuard()
H A DSveEmitter.cpp288 EltTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
290 MemEltTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
292 FlagTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
294 MergeTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
296 ImmCheckTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
1152 uint64_t Merge = R->getValueAsInt("Merge"); in createIntrinsic()
1154 uint64_t MemEltType = R->getValueAsInt("MemEltType"); in createIntrinsic()
1160 Flags |= FlagRec->getValueAsInt("Value"); in createIntrinsic()
1190 int64_t Arg = R->getValueAsInt("Arg"); in createIntrinsic()
1191 int64_t EltSizeArg = R->getValueAsInt("EltSizeArg"); in createIntrinsic()
[all …]
H A DClangCommentHTMLNamedCharacterReferenceEmitter.cpp58 uint64_t CodePoint = Tag.getValueAsInt("CodePoint"); in EmitClangCommentHTMLNamedCharacterReferences()
H A DClangCommentCommandInfoEmitter.cpp37 << Tag.getValueAsInt("NumArgs") << ", " in EmitClangCommentCommandInfo()
H A DMveEmitter.cpp249 Bits = Record->getValueAsInt("size"); in ScalarType()
1118 unsigned Registers = Op->getValueAsInt("n"); in getType()
1141 int Num = Op->getValueAsInt("num"), Denom = Op->getValueAsInt("denom"); in getType()
1242 unsigned Index = sp->getValueAsInt("index"); in getCodeForDag()
1351 for (unsigned i = 0, e = PolymorphicNameType->getValueAsInt( in ACLEIntrinsic()
1403 IA.i1 = Bounds->getValueAsInt("lo"); in ACLEIntrinsic()
1404 IA.i2 = Bounds->getValueAsInt("hi"); in ACLEIntrinsic()
1414 IA.i1 = Bounds->getValueAsInt("base"); in ACLEIntrinsic()
H A DRISCVVEmitter.cpp516 static_cast<PolicyScheme>(MPSRecord->getValueAsInt("Value")); in createRVVIntrinsics()
519 static_cast<PolicyScheme>(UMPSRecord->getValueAsInt("Value")); in createRVVIntrinsics()
532 unsigned NF = R->getValueAsInt("NF"); in createRVVIntrinsics()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DDirectiveEmitter.h203 int64_t getMinVersion() const { return Def->getValueAsInt("minVersion"); } in getMinVersion()
205 int64_t getMaxVersion() const { return Def->getValueAsInt("maxVersion"); } in getMaxVersion()
215 int getValue() const { return Def->getValueAsInt("value"); } in getValue()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DAttributes.cpp297 uint64_t Attribute::getValueAsInt() const { in getValueAsInt() function in Attribute
301 return pImpl->getValueAsInt(); in getValueAsInt()
345 return MaybeAlign(pImpl->getValueAsInt()); in getAlignment()
351 return MaybeAlign(pImpl->getValueAsInt()); in getStackAlignment()
358 return pImpl->getValueAsInt(); in getDereferenceableBytes()
365 return pImpl->getValueAsInt(); in getDereferenceableOrNullBytes()
390 return UWTableKind(pImpl->getValueAsInt()); in getUWTableKind()
396 return AllocFnKind(pImpl->getValueAsInt()); in getAllocKind()
658 uint64_t AttributeImpl::getValueAsInt() const { in getValueAsInt() function in AttributeImpl
698 return getValueAsInt() < AI.getValueAsInt(); in operator <()
[all …]
H A DAttributeImpl.h67 uint64_t getValueAsInt() const;
82 Profile(ID, getKindAsEnum(), getValueAsInt()); in Profile()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAssumeBundleBuilder.cpp157 Arg->getAttribute(RK.AttrKind).getValueAsInt() >= RK.ArgValue)) in isKnowledgeWorthPreserving()
202 AttrArg = Attr.getValueAsInt(); in addAttribute()
428 Arg->getAttribute(RK.AttrKind).getValueAsInt() >= in dropRedundantKnowledge()

123