Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/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()
334 return expandCheckInvalidRegOperand(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()
[all …]
H A DCodeGenTarget.cpp43 return (MVT::SimpleValueType)Rec->getValueAsInt("Value"); in getValueType()
322 return TargetRec->getValueAsInt("AllowRegisterRenaming"); in getAllowRegisterRenaming()
594 NumOperands = R->getValueAsInt("NumOperands"); in ComplexPattern()
602 int64_t RawComplexity = R->getValueAsInt("Complexity"); in ComplexPattern()
758 unsigned MatchTy = TyEl->getValueAsInt("Number"); in CodeGenIntrinsic()
789 unsigned MatchTy = TyEl->getValueAsInt("Number"); in CodeGenIntrinsic()
896 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
899 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
902 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty()
905 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()
553 int16_t NumUOps = ItinData ? ItinData->getValueAsInt("NumMicroOps") : 0; in EmitStageAndOperandCycleData()
648 int V = R ? R->getValueAsInt(Name) : -1; in EmitProcessorProp()
670 for (unsigned J = 0; J < RU->getValueAsInt("NumUnits"); ++J) { in EmitProcessorResourceSubUnits()
684 std::max(ReorderBufferSize, RCU->getValueAsInt("ReorderBufferSize")); in EmitRetireControlUnitInfo()
686 std::max(MaxRetirePerCycle, RCU->getValueAsInt("MaxRetirePerCycle")); in EmitRetireControlUnitInfo()
824 int BufferSize = PRDef->getValueAsInt("BufferSize"); in EmitProcessorResources()
828 NumUnits += RU->getValueAsInt("NumUnits"); in EmitProcessorResources()
[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()
814 unsigned Variant = AsmWriter->getValueAsInt("Variant"); in EmitPrintAliasInstruction()
815 bool PassSubtarget = AsmWriter->getValueAsInt("PassSubtarget"); in EmitPrintAliasInstruction()
825 int Priority = R->getValueAsInt("EmitPriority"); in EmitPrintAliasInstruction()
1285 unsigned Variant = AsmWriter->getValueAsInt("Variant"); in AsmWriterEmitter()
H A DDAGISelEmitter.cpp68 Cost += Op->getValueAsInt("CodeSize"); in getResultPatternSize()
H A DCompressInstEmitter.cpp441 if (Operator->getValueAsInt("Size") <= DestOperator->getValueAsInt("Size")) in evaluateCompressPat()
563 if (!AsmWriter->getValueAsInt("PassSubtarget")) in emitCompressInstEmitter()
H A DCodeGenRegisters.cpp55 Size = R->getValueAsInt("Size"); in CodeGenSubRegIndex()
56 Offset = R->getValueAsInt("Offset"); in CodeGenSubRegIndex()
791 unsigned Size = R->getValueAsInt("Size"); in CodeGenRegisterClass()
798 RI.SpillAlignment = R->getValueAsInt("Alignment"); in CodeGenRegisterClass()
802 CopyCost = R->getValueAsInt("CopyCost"); in CodeGenRegisterClass()
805 int AllocationPriority = R->getValueAsInt("AllocationPriority"); in CodeGenRegisterClass()
895 return TheDef->getValueAsInt("Weight"); in getWeight()
H A DCodeGenDAGPatterns.cpp1288 return R->getValueAsInt("MinAlignment"); in getMinAlignment()
1550 OperandNo = R->getValueAsInt("OperandNum"); in SDTypeConstraint()
1568 x.SDTCisSameAs_Info.OtherOperandNum = R->getValueAsInt("OtherOperandNum"); in SDTypeConstraint()
1572 R->getValueAsInt("OtherOperandNum"); in SDTypeConstraint()
1576 R->getValueAsInt("BigOperandNum"); in SDTypeConstraint()
1579 x.SDTCisEltOfVec_Info.OtherOperandNum = R->getValueAsInt("OtherOpNum"); in SDTypeConstraint()
1583 R->getValueAsInt("OtherOpNum"); in SDTypeConstraint()
1599 R->getValueAsInt("OtherOperandNum"); in SDTypeConstraint()
1603 R->getValueAsInt("OtherOperandNum"); in SDTypeConstraint()
1833 NumResults = TypeProfile->getValueAsInt("NumResults"); in SDNodeInfo()
[all …]
/openbsd-src/gnu/llvm/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.cpp506 static_cast<PolicyScheme>(MPSRecord->getValueAsInt("Value")); in createRVVIntrinsics()
509 static_cast<PolicyScheme>(UMPSRecord->getValueAsInt("Value")); in createRVVIntrinsics()
522 unsigned NF = R->getValueAsInt("NF"); in createRVVIntrinsics()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DAttributes.cpp291 uint64_t Attribute::getValueAsInt() const { in getValueAsInt() function in Attribute
295 return pImpl->getValueAsInt(); in getValueAsInt()
339 return MaybeAlign(pImpl->getValueAsInt()); in getAlignment()
345 return MaybeAlign(pImpl->getValueAsInt()); in getStackAlignment()
352 return pImpl->getValueAsInt(); in getDereferenceableBytes()
359 return pImpl->getValueAsInt(); in getDereferenceableOrNullBytes()
366 return unpackAllocSizeArgs(pImpl->getValueAsInt()); in getAllocSizeArgs()
372 return unpackVScaleRangeArgs(pImpl->getValueAsInt()).first; in getVScaleRangeMin()
378 return unpackVScaleRangeArgs(pImpl->getValueAsInt()).second; in getVScaleRangeMax()
384 return UWTableKind(pImpl->getValueAsInt()); in getUWTableKind()
[all …]
H A DAttributeImpl.h67 uint64_t getValueAsInt() const;
82 Profile(ID, getKindAsEnum(), getValueAsInt()); in Profile()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()

12