Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/
H A DPredicateExpander.cpp321 return expandCheckIsRegOperand(OS, Rec->getValueAsInt("OpIndex")); in expandPredicate()
324 return expandCheckIsImmOperand(OS, Rec->getValueAsInt("OpIndex")); in expandPredicate()
327 return expandCheckRegOperand(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
332 return expandCheckRegOperandSimple(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
339 return expandCheckImmOperand(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
340 Rec->getValueAsInt("ImmVal"), in expandPredicate()
344 return expandCheckImmOperand(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
349 return expandCheckImmOperandSimple(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
353 return expandCheckSameRegOperand(OS, Rec->getValueAsInt("FirstIndex"), in expandPredicate()
354 Rec->getValueAsInt("SecondIndex")); in expandPredicate()
[all …]
H A DCodeGenTarget.cpp580 NumOperands = R->getValueAsInt("NumOperands"); in ComplexPattern()
883 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
886 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
889 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
892 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
895 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
898 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
901 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
904 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
907 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
[all …]
H A DCallingConvEmitter.cpp186 int Size = Action->getValueAsInt("Size"); in EmitAction()
187 int Align = Action->getValueAsInt("Align"); in EmitAction()
211 int Size = Action->getValueAsInt("Size"); in EmitAction()
212 int Align = Action->getValueAsInt("Align"); in EmitAction()
274 int Size = Action->getValueAsInt("Size"); in EmitAction()
275 int Align = Action->getValueAsInt("Align"); in EmitAction()
H A DInfoByHwMode.cpp43 PtrAddrSpace = R->getValueAsInt("AddrSpace"); in ValueTypeByHwMode()
120 RegSize = R->getValueAsInt("RegSize"); in RegSizeInfo()
121 SpillSize = R->getValueAsInt("SpillSize"); in RegSizeInfo()
122 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.cpp308 int Cycles = Stage->getValueAsInt("Cycles"); in FormItineraryStageString()
321 int TimeInc = Stage->getValueAsInt("TimeInc"); in FormItineraryStageString()
324 int Kind = Stage->getValueAsInt("Kind"); in FormItineraryStageString()
612 int V = R ? R->getValueAsInt(Name) : -1; in EmitProcessorProp()
634 for (unsigned J = 0; J < RU->getValueAsInt("NumUnits"); ++J) { in EmitProcessorResourceSubUnits()
788 int BufferSize = PRDef->getValueAsInt("BufferSize"); in EmitProcessorResources()
792 NumUnits += RU->getValueAsInt("NumUnits"); in EmitProcessorResources()
793 SubUnitsOffset += RU->getValueAsInt("NumUnits"); in EmitProcessorResources()
804 NumUnits = PRDef->getValueAsInt("NumUnits"); in EmitProcessorResources()
1093 WLEntry.Cycles += WriteRes->getValueAsInt("Latency"); in GenSchedClassTables()
[all …]
H A DX86EVEX2VEXTablesEmitter.cpp182 return RegRec->getValueAsInt("Alignment"); in getRegOperandSize()
184 return RegRec->getValueAsDef("RegClass")->getValueAsInt("Alignment"); in getRegOperandSize()
H A DAsmWriterEmitter.cpp302 bool PassSubtarget = AsmWriter->getValueAsInt("PassSubtarget"); in EmitGetMnemonic()
458 bool PassSubtarget = AsmWriter->getValueAsInt("PassSubtarget"); in EmitPrintInstruction()
811 unsigned Variant = AsmWriter->getValueAsInt("Variant"); in EmitPrintAliasInstruction()
812 bool PassSubtarget = AsmWriter->getValueAsInt("PassSubtarget"); in EmitPrintAliasInstruction()
822 int Priority = R->getValueAsInt("EmitPriority"); in EmitPrintAliasInstruction()
1276 unsigned Variant = AsmWriter->getValueAsInt("Variant"); in AsmWriterEmitter()
H A DDAGISelEmitter.cpp67 Cost += Op->getValueAsInt("CodeSize"); in getResultPatternSize()
H A DCodeGenRegisters.cpp58 Size = R->getValueAsInt("Size"); in CodeGenSubRegIndex()
59 Offset = R->getValueAsInt("Offset"); in CodeGenSubRegIndex()
787 unsigned Size = R->getValueAsInt("Size"); in CodeGenRegisterClass()
794 RI.SpillAlignment = R->getValueAsInt("Alignment"); in CodeGenRegisterClass()
798 CopyCost = R->getValueAsInt("CopyCost"); in CodeGenRegisterClass()
801 int AllocationPriority = R->getValueAsInt("AllocationPriority"); in CodeGenRegisterClass()
860 return TheDef->getValueAsInt("Weight"); in getWeight()
H A DCodeGenDAGPatterns.cpp1235 return R->getValueAsInt("MinAlignment"); in getMinAlignment()
1497 OperandNo = R->getValueAsInt("OperandNum"); in SDTypeConstraint()
1519 R->getValueAsInt("OtherOperandNum"); in SDTypeConstraint()
1523 R->getValueAsInt("BigOperandNum"); in SDTypeConstraint()
1526 x.SDTCisEltOfVec_Info.OtherOperandNum = R->getValueAsInt("OtherOpNum"); in SDTypeConstraint()
1530 R->getValueAsInt("OtherOpNum"); in SDTypeConstraint()
1546 R->getValueAsInt("OtherOperandNum"); in SDTypeConstraint()
1550 R->getValueAsInt("OtherOperandNum"); in SDTypeConstraint()
1777 NumResults = TypeProfile->getValueAsInt("NumResults"); in SDNodeInfo()
1778 NumOperands = TypeProfile->getValueAsInt("NumOperands"); in SDNodeInfo()
[all …]
H A DIntrinsicEmitter.cpp298 unsigned Number = Mapping[R->getValueAsInt("Number")]; in EncodeFixedType()
363 AddrSpace = R->getValueAsInt("AddrSpace"); in EncodeFixedType()
H A DDFAEmitter.cpp348 Actions.emplace_back(nullptr, R->getValueAsInt(A), ""); in Transition()
H A DInstrInfoEmitter.cpp154 Res += utostr(OpR->getValueAsInt("RegClassKind")) + ", "; in GetOperandInfo()
938 << Inst.TheDef->getValueAsInt("Size") << ",\t" in emitRecord()
/freebsd-13.1/contrib/llvm-project/clang/utils/TableGen/
H A DClangOpenCLBuiltinEmitter.cpp521 << T.first->getValueAsInt("VecWidth") << ", " in EmitTypeTable()
591 Overload.first->getValueAsDef("MinVersion")->getValueAsInt("ID"); in EmitBuiltinTable()
593 Overload.first->getValueAsDef("MaxVersion")->getValueAsInt("ID"); in EmitBuiltinTable()
622 Rec->getValueAsDef("MinVersion")->getValueAsInt("ID") == in CanReuseSignature()
623 Rec2->getValueAsDef("MinVersion")->getValueAsInt("ID") && in CanReuseSignature()
624 Rec->getValueAsDef("MaxVersion")->getValueAsInt("ID") == in CanReuseSignature()
625 Rec2->getValueAsDef("MaxVersion")->getValueAsInt("ID") && in CanReuseSignature()
1003 VectorList.push_back(Type->getValueAsInt("VecWidth")); in getTypeLists()
1096 int MinVersion = B->getValueAsDef("MinVersion")->getValueAsInt("ID"); in emit()
1104 int MaxVersion = B->getValueAsDef("MaxVersion")->getValueAsInt("ID"); in emit()
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.cpp248 Bits = Record->getValueAsInt("size"); in ScalarType()
1120 unsigned Registers = Op->getValueAsInt("n"); in getType()
1143 int Num = Op->getValueAsInt("num"), Denom = Op->getValueAsInt("denom"); in getType()
1236 unsigned Index = sp->getValueAsInt("index"); in getCodeForDag()
1345 for (unsigned i = 0, e = PolymorphicNameType->getValueAsInt( in ACLEIntrinsic()
1397 IA.i1 = Bounds->getValueAsInt("lo"); in ACLEIntrinsic()
1398 IA.i2 = Bounds->getValueAsInt("hi"); in ACLEIntrinsic()
1408 IA.i1 = Bounds->getValueAsInt("base"); in ACLEIntrinsic()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DDirectiveEmitter.h188 int64_t getMinVersion() const { return Def->getValueAsInt("minVersion"); } in getMinVersion()
190 int64_t getMaxVersion() const { return Def->getValueAsInt("maxVersion"); } in getMaxVersion()
200 int getValue() const { return Def->getValueAsInt("value"); } in getValue()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DAttributes.cpp280 uint64_t Attribute::getValueAsInt() const { in getValueAsInt() function in Attribute
284 return pImpl->getValueAsInt(); in getValueAsInt()
328 return MaybeAlign(pImpl->getValueAsInt()); in getAlignment()
334 return MaybeAlign(pImpl->getValueAsInt()); in getStackAlignment()
341 return pImpl->getValueAsInt(); in getDereferenceableBytes()
348 return pImpl->getValueAsInt(); in getDereferenceableOrNullBytes()
388 Result += utostr(getValueAsInt()); in getAsString()
397 Result += utostr(getValueAsInt()); in getAsString()
400 Result += utostr(getValueAsInt()); in getAsString()
576 return getValueAsInt() < AI.getValueAsInt(); in operator <()
[all …]
H A DAttributeImpl.h66 uint64_t getValueAsInt() const;
81 Profile(ID, getKindAsEnum(), getValueAsInt()); in Profile()
/freebsd-13.1/contrib/llvm-project/lldb/utils/TableGen/
H A DLLDBOptionDefEmitter.cpp48 int GroupStart = Option->getValueAsInt("GroupStart"); in CommandOption()
49 int GroupEnd = Option->getValueAsInt("GroupEnd"); in CommandOption()
H A DLLDBPropertyDefEmitter.cpp83 OS << std::to_string(Property->getValueAsInt("DefaultUnsignedValue")); in emitProperty()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAssumeBundleBuilder.cpp156 Arg->getAttribute(RK.AttrKind).getValueAsInt() >= RK.ArgValue)) in isKnowledgeWorthPreserving()
201 AttrArg = Attr.getValueAsInt(); in addAttribute()
426 Arg->getAttribute(RK.AttrKind).getValueAsInt() >= in dropRedundantKnowledge()

12