Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/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()
336 return expandCheckInvalidRegOperand(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()
[all …]
H A DCodeGenTarget.cpp46 return (MVT::SimpleValueType)Rec->getValueAsInt("Value"); in getValueType()
291 return TargetRec->getValueAsInt("AllowRegisterRenaming"); in getAllowRegisterRenaming()
565 NumOperands = R->getValueAsInt("NumOperands"); in ComplexPattern()
573 int64_t RawComplexity = R->getValueAsInt("Complexity"); in ComplexPattern()
732 unsigned MatchTy = TyEl->getValueAsInt("Number"); in CodeGenIntrinsic()
763 unsigned MatchTy = TyEl->getValueAsInt("Number"); in CodeGenIntrinsic()
868 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
871 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
874 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
877 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()
517 int16_t NumUOps = ItinData ? ItinData->getValueAsInt("NumMicroOps") : 0; in EmitStageAndOperandCycleData()
612 int V = R ? R->getValueAsInt(Name) : -1; in EmitProcessorProp()
634 for (unsigned J = 0; J < RU->getValueAsInt("NumUnits"); ++J) { in EmitProcessorResourceSubUnits()
648 std::max(ReorderBufferSize, RCU->getValueAsInt("ReorderBufferSize")); in EmitRetireControlUnitInfo()
650 std::max(MaxRetirePerCycle, RCU->getValueAsInt("MaxRetirePerCycle")); in EmitRetireControlUnitInfo()
788 int BufferSize = PRDef->getValueAsInt("BufferSize"); in EmitProcessorResources()
792 NumUnits += RU->getValueAsInt("NumUnits"); in EmitProcessorResources()
[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()
857 return TheDef->getValueAsInt("Weight"); in getWeight()
H A DCodeGenDAGPatterns.cpp1235 return R->getValueAsInt("MinAlignment"); in getMinAlignment()
1497 OperandNo = R->getValueAsInt("OperandNum"); in SDTypeConstraint()
1515 x.SDTCisSameAs_Info.OtherOperandNum = R->getValueAsInt("OtherOperandNum"); 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()
[all …]
H A DIntrinsicEmitter.cpp298 unsigned Number = Mapping[R->getValueAsInt("Number")]; in EncodeFixedType()
363 AddrSpace = R->getValueAsInt("AddrSpace"); in EncodeFixedType()
H A DDFAEmitter.cpp347 Actions.emplace_back(nullptr, R->getValueAsInt(A), ""); in Transition()
H A DAsmMatcherEmitter.cpp1497 Variant.AsmVariantNo = AsmVariant->getValueAsInt("Variant"); in buildInfo()
2807 int AsmParserVariantNo = AsmVariant->getValueAsInt("Variant"); in emitMnemonicAliases()
3052 int AsmVariantNo = AsmVariant->getValueAsInt("Variant"); in emitMnemonicSpellChecker()
3114 int AsmVariantNo = AsmVariant->getValueAsInt("Variant"); in emitMnemonicChecker()
3484 int AsmVariantNo = AsmVariant->getValueAsInt("Variant"); in run()
3586 int AsmVariantNo = AsmVariant->getValueAsInt("Variant"); in run()
H A DInstrInfoEmitter.cpp154 Res += utostr(OpR->getValueAsInt("RegClassKind")) + ", "; in GetOperandInfo()
938 << Inst.TheDef->getValueAsInt("Size") << ",\t" in emitRecord()
/netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/
H A DClangOpenCLBuiltinEmitter.cpp459 << T.first->getValueAsInt("VecWidth") << ", " in EmitTypeTable()
529 Overload.first->getValueAsDef("MinVersion")->getValueAsInt("ID"); in EmitBuiltinTable()
531 Overload.first->getValueAsDef("MaxVersion")->getValueAsInt("ID"); in EmitBuiltinTable()
560 Rec->getValueAsDef("MinVersion")->getValueAsInt("ID") == in CanReuseSignature()
561 Rec2->getValueAsDef("MinVersion")->getValueAsInt("ID") && in CanReuseSignature()
562 Rec->getValueAsDef("MaxVersion")->getValueAsInt("ID") == in CanReuseSignature()
563 Rec2->getValueAsDef("MaxVersion")->getValueAsInt("ID") && in CanReuseSignature()
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 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()
H A DClangCommentCommandInfoEmitter.cpp36 << Tag.getValueAsInt("NumArgs") << ", " in EmitClangCommentCommandInfo()
H A DClangOptionDocEmitter.cpp160 .Case("KIND_MULTIARG", Option->getValueAsInt("NumArgs")) in getNumArgsForKind()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
357 return unpackAllocSizeArgs(pImpl->getValueAsInt()); in getAllocSizeArgs()
363 return unpackVScaleRangeArgs(pImpl->getValueAsInt()); in getVScaleRangeArgs()
538 Result += utostr(getValueAsInt()); in getAsString()
547 Result += utostr(getValueAsInt()); in getAsString()
[all …]
H A DAttributeImpl.h66 uint64_t getValueAsInt() const;
81 Profile(ID, getKindAsEnum(), getValueAsInt()); in Profile()
/netbsd-src/external/apache2/llvm/dist/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