Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/
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 …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DPredicateExpander.cpp348 return expandCheckIsRegOperand(OS, Rec->getValueAsInt("OpIndex")); in expandPredicate()
351 return expandCheckIsVRegOperand(OS, Rec->getValueAsInt("OpIndex")); in expandPredicate()
354 return expandCheckIsImmOperand(OS, Rec->getValueAsInt("OpIndex")); in expandPredicate()
357 return expandCheckRegOperand(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
362 return expandCheckRegOperandSimple(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
366 return expandCheckInvalidRegOperand(OS, Rec->getValueAsInt("OpIndex")); in expandPredicate()
369 return expandCheckImmOperand(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
370 Rec->getValueAsInt("ImmVal"), in expandPredicate()
374 return expandCheckImmOperand(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
379 return expandCheckImmOperandLT(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
[all …]
H A DInfoByHwMode.cpp39 PtrAddrSpace = R->getValueAsInt("AddrSpace"); in ValueTypeByHwMode()
44 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()
187 Size = R->getValueAsInt("Size"); in SubRegRange()
188 Offset = R->getValueAsInt("Offset"); in SubRegRange()
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 DCodeGenTarget.cpp47 return (MVT::SimpleValueType)Rec->getValueAsInt("Value"); in getValueType()
129 return TargetRec->getValueAsInt("AllowRegisterRenaming"); in getAllowRegisterRenaming()
407 NumOperands = R->getValueAsInt("NumOperands"); in ComplexPattern()
415 int64_t RawComplexity = R->getValueAsInt("Complexity"); in ComplexPattern()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DVTEmitter.cpp39 int64_t OutputVTSize = OutputVT->getValueAsInt("Size"); in VTtoGetLLVMTyString()
76 OS << ", " << VT->getValueAsInt("nElem") << ")"; in VTtoGetLLVMTyString()
85 auto Number = VT->getValueAsInt("Value"); in run()
117 auto Value = VT->getValueAsInt("Value"); in run()
123 int64_t NElem = IsVector ? VT->getValueAsInt("nElem") : 0; in run()
145 << VT->getValueAsInt("Size") << ", " in run()
175 << VT->getValueAsInt("nElem") << ", " in run()
H A DRISCVTargetDefEmitter.cpp40 << R->getValueAsInt("MajorVersion") << ", " in printExtensionTable()
41 << R->getValueAsInt("MinorVersion") << "}},\n"; in printExtensionTable()
105 unsigned Major = Feature->getValueAsInt("MajorVersion"); in printMArch()
106 unsigned Minor = Feature->getValueAsInt("MinorVersion"); in printMArch()
228 unsigned GroupIDVal = Rec->getValueAsInt("GroupID"); in emitRISCVExtensionBitmask()
229 unsigned BitPosVal = Rec->getValueAsInt("BitPos"); in emitRISCVExtensionBitmask()
H A DDXILEmitter.cpp97 if (R->getValueAsInt("isHalfOrFloat") || R->getValueAsInt("isI16OrI32")) { in getParameterKind()
113 OpCode = R->getValueAsInt("OpCode"); in DXILOperationDesc()
130 auto isAny = TR->getValueAsInt("isAny"); in DXILOperationDesc()
161 auto OLParamIndex = TR->getValueAsInt("Number"); in DXILOperationDesc()
269 if (R->getValueAsInt("isHalfOrFloat")) { in getOverloadKindStr()
271 } else if (R->getValueAsInt("isI16OrI32")) { in getOverloadKindStr()
H A DCallingConvEmitter.cpp189 int Size = Action->getValueAsInt("Size"); in EmitAction()
190 int Align = Action->getValueAsInt("Align"); in EmitAction()
253 int Size = Action->getValueAsInt("Size"); in EmitAction()
254 int Align = Action->getValueAsInt("Align"); in EmitAction()
279 int Size = Action->getValueAsInt("Size"); in EmitAction()
280 int Align = Action->getValueAsInt("Align"); in EmitAction()
345 int Size = Action->getValueAsInt("Size"); in EmitAction()
346 int Align = Action->getValueAsInt("Align"); in EmitAction()
H A DARMTargetDefEmitter.cpp155 OS << ", " << (uint64_t)Rec->getValueAsInt("Priority"); in EmitARMTargetDef()
196 const int Major = Rec->getValueAsInt("Major"); in EmitARMTargetDef()
197 const int Minor = Rec->getValueAsInt("Minor"); in EmitARMTargetDef()
309 auto Major = Arch->getValueAsInt("Major"); in EmitARMTargetDef()
310 auto Minor = Arch->getValueAsInt("Minor"); in EmitARMTargetDef()
H A DMacroFusionPredicatorEmitter.cpp190 int FirstOpIdx = Predicate->getValueAsInt("FirstOpIdx"); in emitSecondPredicate()
191 int SecondOpIdx = Predicate->getValueAsInt("SecondOpIdx"); in emitSecondPredicate()
236 int FirstOpIdx = Predicate->getValueAsInt("FirstOpIdx"); in emitBothPredicate()
237 int SecondOpIdx = Predicate->getValueAsInt("SecondOpIdx"); in emitBothPredicate()
H A DSubtargetEmitter.cpp367 int Cycles = Stage->getValueAsInt("Cycles"); in FormItineraryStageString()
381 int TimeInc = Stage->getValueAsInt("TimeInc"); in FormItineraryStageString()
384 int Kind = Stage->getValueAsInt("Kind"); in FormItineraryStageString()
577 int16_t NumUOps = ItinData ? ItinData->getValueAsInt("NumMicroOps") : 0; in EmitStageAndOperandCycleData()
669 int V = R ? R->getValueAsInt(Name) : -1; in EmitProcessorProp()
691 for (unsigned J = 0; J < RU->getValueAsInt("NumUnits"); ++J) { in EmitProcessorResourceSubUnits()
705 std::max(ReorderBufferSize, RCU->getValueAsInt("ReorderBufferSize")); in EmitRetireControlUnitInfo()
707 std::max(MaxRetirePerCycle, RCU->getValueAsInt("MaxRetirePerCycle")); in EmitRetireControlUnitInfo()
845 int BufferSize = PRDef->getValueAsInt("BufferSize"); in EmitProcessorResources()
849 NumUnits += RU->getValueAsInt("NumUnits"); in EmitProcessorResources()
[all …]
H A DX86MnemonicTables.cpp38 unsigned Variant = AsmWriter->getValueAsInt("Variant"); in run()
H A DAsmWriterEmitter.cpp331 bool PassSubtarget = AsmWriter->getValueAsInt("PassSubtarget"); in EmitGetMnemonic()
491 bool PassSubtarget = AsmWriter->getValueAsInt("PassSubtarget"); in EmitPrintInstruction()
843 unsigned Variant = AsmWriter->getValueAsInt("Variant"); in EmitPrintAliasInstruction()
844 bool PassSubtarget = AsmWriter->getValueAsInt("PassSubtarget"); in EmitPrintAliasInstruction()
854 int Priority = R->getValueAsInt("EmitPriority"); in EmitPrintAliasInstruction()
1320 unsigned Variant = AsmWriter->getValueAsInt("Variant"); in AsmWriterEmitter()
H A DDAGISelEmitter.cpp72 Cost += Op->getValueAsInt("CodeSize"); in getResultPatternSize()
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DDirectiveEmitter.h219 int64_t getMinVersion() const { return Def->getValueAsInt("minVersion"); } in getMinVersion()
221 int64_t getMaxVersion() const { return Def->getValueAsInt("maxVersion"); } in getMaxVersion()
231 int getValue() const { return Def->getValueAsInt("value"); } in getValue()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAttributes.cpp370 uint64_t Attribute::getValueAsInt() const { in getValueAsInt() function in Attribute
374 return pImpl->getValueAsInt(); in getValueAsInt()
429 return MaybeAlign(pImpl->getValueAsInt()); in getAlignment()
435 return MaybeAlign(pImpl->getValueAsInt()); in getStackAlignment()
442 return pImpl->getValueAsInt(); in getDereferenceableBytes()
449 return pImpl->getValueAsInt(); in getDereferenceableOrNullBytes()
456 return unpackAllocSizeArgs(pImpl->getValueAsInt()); in getAllocSizeArgs()
462 return unpackVScaleRangeArgs(pImpl->getValueAsInt()).first; in getVScaleRangeMin()
468 return unpackVScaleRangeArgs(pImpl->getValueAsInt()).second; in getVScaleRangeMax()
474 return UWTableKind(pImpl->getValueAsInt()); in getUWTableKind()
[all …]
H A DAttributeImpl.h77 uint64_t getValueAsInt() const;
96 Profile(ID, getKindAsEnum(), getValueAsInt()); in Profile()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DSveEmitter.cpp309 EltTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
311 MemEltTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
313 FlagTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
315 MergeTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
317 ImmCheckTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
1175 uint64_t Merge = R->getValueAsInt("Merge"); in createIntrinsic()
1177 uint64_t MemEltType = R->getValueAsInt("MemEltType"); in createIntrinsic()
1183 Flags |= FlagRec->getValueAsInt("Value"); in createIntrinsic()
1213 int64_t Arg = R->getValueAsInt("Arg"); in createIntrinsic()
1214 int64_t EltSizeArg = R->getValueAsInt("EltSizeArg"); in createIntrinsic()
[all …]
H A DMveEmitter.cpp249 Bits = Record->getValueAsInt("size"); in ScalarType()
1119 unsigned Registers = Op->getValueAsInt("n"); in getType()
1142 int Num = Op->getValueAsInt("num"), Denom = Op->getValueAsInt("denom"); in getType()
1243 unsigned Index = sp->getValueAsInt("index"); in getCodeForDag()
1352 for (unsigned i = 0, e = PolymorphicNameType->getValueAsInt( in ACLEIntrinsic()
1404 IA.i1 = Bounds->getValueAsInt("lo"); in ACLEIntrinsic()
1405 IA.i2 = Bounds->getValueAsInt("hi"); in ACLEIntrinsic()
1415 IA.i1 = Bounds->getValueAsInt("base"); in ACLEIntrinsic()
H A DClangCommentCommandInfoEmitter.cpp36 << Tag.getValueAsInt("NumArgs") << ", " in EmitClangCommentCommandInfo()
H A DRISCVVEmitter.cpp514 static_cast<PolicyScheme>(MPSRecord->getValueAsInt("Value")); in createRVVIntrinsics()
517 static_cast<PolicyScheme>(UMPSRecord->getValueAsInt("Value")); in createRVVIntrinsics()
530 unsigned NF = R->getValueAsInt("NF"); in createRVVIntrinsics()
/freebsd/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/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