Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/llvm/utils/TableGen/
H A DPredicateExpander.cpp319 return expandCheckIsRegOperand(OS, Rec->getValueAsInt("OpIndex")); in expandPredicate()
322 return expandCheckIsImmOperand(OS, Rec->getValueAsInt("OpIndex")); in expandPredicate()
325 return expandCheckRegOperand(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
330 return expandCheckRegOperandSimple(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
337 return expandCheckImmOperand(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
338 Rec->getValueAsInt("ImmVal"), in expandPredicate()
342 return expandCheckImmOperand(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
347 return expandCheckImmOperandSimple(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
351 return expandCheckSameRegOperand(OS, Rec->getValueAsInt("FirstIndex"), in expandPredicate()
352 Rec->getValueAsInt("SecondIndex")); in expandPredicate()
[all …]
H A DCodeGenTarget.cpp585 NumOperands = R->getValueAsInt("NumOperands"); in ComplexPattern()
888 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
891 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
894 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
897 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
900 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
903 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
906 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
909 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
912 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
[all …]
H A DCallingConvEmitter.cpp183 int Size = Action->getValueAsInt("Size"); in EmitAction()
184 int Align = Action->getValueAsInt("Align"); in EmitAction()
247 int Size = Action->getValueAsInt("Size"); in EmitAction()
248 int Align = Action->getValueAsInt("Align"); in EmitAction()
272 int Size = Action->getValueAsInt("Size"); in EmitAction()
273 int Align = Action->getValueAsInt("Align"); in EmitAction()
335 int Size = Action->getValueAsInt("Size"); in EmitAction()
336 int Align = Action->getValueAsInt("Align"); in EmitAction()
H A DInfoByHwMode.cpp42 PtrAddrSpace = R->getValueAsInt("AddrSpace"); in ValueTypeByHwMode()
119 RegSize = R->getValueAsInt("RegSize"); in RegSizeInfo()
120 SpillSize = R->getValueAsInt("SpillSize"); in RegSizeInfo()
121 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.cpp344 int Cycles = Stage->getValueAsInt("Cycles"); in FormItineraryStageString()
357 int TimeInc = Stage->getValueAsInt("TimeInc"); in FormItineraryStageString()
360 int Kind = Stage->getValueAsInt("Kind"); in FormItineraryStageString()
648 int V = R ? R->getValueAsInt(Name) : -1; in EmitProcessorProp()
670 for (unsigned J = 0; J < RU->getValueAsInt("NumUnits"); ++J) { in EmitProcessorResourceSubUnits()
824 int BufferSize = PRDef->getValueAsInt("BufferSize"); in EmitProcessorResources()
828 NumUnits += RU->getValueAsInt("NumUnits"); in EmitProcessorResources()
829 SubUnitsOffset += RU->getValueAsInt("NumUnits"); in EmitProcessorResources()
840 NumUnits = PRDef->getValueAsInt("NumUnits"); in EmitProcessorResources()
1129 WLEntry.Cycles += WriteRes->getValueAsInt("Latency"); in GenSchedClassTables()
[all …]
H A DDXILEmitter.cpp76 DXILOpID = R->getValueAsInt("dxil_opid"); in DXILOperationData()
107 Pos = R->getValueAsInt("pos"); in DXILParam()
113 MaxValue = R->getValueAsInt("max_value"); in DXILParam()
H A DX86MnemonicTables.cpp38 unsigned Variant = AsmWriter->getValueAsInt("Variant"); in run()
H A DAsmWriterEmitter.cpp301 bool PassSubtarget = AsmWriter->getValueAsInt("PassSubtarget"); in EmitGetMnemonic()
457 bool PassSubtarget = AsmWriter->getValueAsInt("PassSubtarget"); in EmitPrintInstruction()
813 unsigned Variant = AsmWriter->getValueAsInt("Variant"); in EmitPrintAliasInstruction()
814 bool PassSubtarget = AsmWriter->getValueAsInt("PassSubtarget"); in EmitPrintAliasInstruction()
824 int Priority = R->getValueAsInt("EmitPriority"); in EmitPrintAliasInstruction()
1284 unsigned Variant = AsmWriter->getValueAsInt("Variant"); in AsmWriterEmitter()
H A DDAGISelEmitter.cpp68 Cost += Op->getValueAsInt("CodeSize"); in getResultPatternSize()
H A DCompressInstEmitter.cpp445 if (Operator->getValueAsInt("Size") <= DestOperator->getValueAsInt("Size")) in evaluateCompressPat()
567 if (!AsmWriter->getValueAsInt("PassSubtarget")) in emitCompressInstEmitter()
/llvm-project-15.0.7/clang/utils/TableGen/
H A DClangOpenCLBuiltinEmitter.cpp555 << T.first->getValueAsInt("VecWidth") << ", " in EmitTypeTable()
625 Overload.first->getValueAsDef("MinVersion")->getValueAsInt("ID"); in EmitBuiltinTable()
627 Overload.first->getValueAsDef("MaxVersion")->getValueAsInt("ID"); in EmitBuiltinTable()
656 Rec->getValueAsDef("MinVersion")->getValueAsInt("ID") == in CanReuseSignature()
657 Rec2->getValueAsDef("MinVersion")->getValueAsInt("ID") && in CanReuseSignature()
658 Rec->getValueAsDef("MaxVersion")->getValueAsInt("ID") == in CanReuseSignature()
659 Rec2->getValueAsDef("MaxVersion")->getValueAsInt("ID") && in CanReuseSignature()
1058 VectorList.push_back(Type->getValueAsInt("VecWidth")); in getTypeLists()
1154 int MinVersion = Builtin->getValueAsDef("MinVersion")->getValueAsInt("ID"); in emitVersionGuard()
1162 int MaxVersion = Builtin->getValueAsDef("MaxVersion")->getValueAsInt("ID"); in emitVersionGuard()
H A DSveEmitter.cpp269 EltTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
271 MemEltTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
273 FlagTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
275 MergeTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
277 ImmCheckTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
998 uint64_t Merge = R->getValueAsInt("Merge"); in createIntrinsic()
1000 uint64_t MemEltType = R->getValueAsInt("MemEltType"); in createIntrinsic()
1006 Flags |= FlagRec->getValueAsInt("Value"); in createIntrinsic()
1036 int64_t Arg = R->getValueAsInt("Arg"); in createIntrinsic()
1037 int64_t EltSizeArg = R->getValueAsInt("EltSizeArg"); in createIntrinsic()
[all …]
H A DClangCommentHTMLNamedCharacterReferenceEmitter.cpp58 uint64_t CodePoint = Tag.getValueAsInt("CodePoint"); in EmitClangCommentHTMLNamedCharacterReferences()
H A DClangCommentCommandInfoEmitter.cpp36 << 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.cpp484 static_cast<PolicyScheme>(MPSRecord->getValueAsInt("Value")); in createRVVIntrinsics()
487 static_cast<PolicyScheme>(UMPSRecord->getValueAsInt("Value")); in createRVVIntrinsics()
499 unsigned NF = R->getValueAsInt("NF"); in createRVVIntrinsics()
/llvm-project-15.0.7/llvm/include/llvm/TableGen/
H A DDirectiveEmitter.h198 int64_t getMinVersion() const { return Def->getValueAsInt("minVersion"); } in getMinVersion()
200 int64_t getMaxVersion() const { return Def->getValueAsInt("maxVersion"); } in getMaxVersion()
210 int getValue() const { return Def->getValueAsInt("value"); } in getValue()
/llvm-project-15.0.7/llvm/lib/IR/
H A DAttributes.cpp283 uint64_t Attribute::getValueAsInt() const { in getValueAsInt() function in Attribute
287 return pImpl->getValueAsInt(); in getValueAsInt()
331 return MaybeAlign(pImpl->getValueAsInt()); in getAlignment()
337 return MaybeAlign(pImpl->getValueAsInt()); in getStackAlignment()
344 return pImpl->getValueAsInt(); in getDereferenceableBytes()
351 return pImpl->getValueAsInt(); in getDereferenceableOrNullBytes()
375 return UWTableKind(pImpl->getValueAsInt()); in getUWTableKind()
381 return AllocFnKind(pImpl->getValueAsInt()); in getAllocKind()
569 uint64_t AttributeImpl::getValueAsInt() const { in getValueAsInt() function in AttributeImpl
609 return getValueAsInt() < AI.getValueAsInt(); in operator <()
[all …]
H A DAttributeImpl.h66 uint64_t getValueAsInt() const;
81 Profile(ID, getKindAsEnum(), getValueAsInt()); in Profile()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/mlir/lib/TableGen/
H A DDialect.cpp102 int prefix = def->getValueAsInt("emitAccessorPrefix"); in getEmitAccessorPrefix()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DAssumeBundleBuilder.cpp158 Arg->getAttribute(RK.AttrKind).getValueAsInt() >= RK.ArgValue)) in isKnowledgeWorthPreserving()
203 AttrArg = Attr.getValueAsInt(); in addAttribute()
426 Arg->getAttribute(RK.AttrKind).getValueAsInt() >= in dropRedundantKnowledge()
/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DEnumsGen.cpp197 int64_t validBits = enumDef.getValueAsInt("validBits"); in emitSymToStrFnForBitEnum()
386 bitwidth = valueTypeDef->getValueAsInt("bitwidth"); in emitSpecializedAttrDef()

123