Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DPredicateExpander.cpp310 return expandCheckIsRegOperand(OS, Rec->getValueAsInt("OpIndex")); in expandPredicate()
313 return expandCheckIsImmOperand(OS, Rec->getValueAsInt("OpIndex")); in expandPredicate()
316 return expandCheckRegOperand(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
321 return expandCheckRegOperandSimple(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
328 return expandCheckImmOperand(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
329 Rec->getValueAsInt("ImmVal"), in expandPredicate()
333 return expandCheckImmOperand(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
338 return expandCheckImmOperandSimple(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
342 return expandCheckSameRegOperand(OS, Rec->getValueAsInt("FirstIndex"), in expandPredicate()
343 Rec->getValueAsInt("SecondIndex")); in expandPredicate()
[all …]
H A DCallingConvEmitter.cpp175 int Size = Action->getValueAsInt("Size"); in EmitAction()
176 int Align = Action->getValueAsInt("Align"); in EmitAction()
199 int Size = Action->getValueAsInt("Size"); in EmitAction()
200 int Align = Action->getValueAsInt("Align"); in EmitAction()
259 int Size = Action->getValueAsInt("Size"); in EmitAction()
260 int Align = Action->getValueAsInt("Align"); in EmitAction()
H A DCodeGenTarget.cpp45 return (MVT::SimpleValueType)Rec->getValueAsInt("Value"); in getValueType()
229 return TargetRec->getValueAsInt("AllowRegisterRenaming"); in getAllowRegisterRenaming()
457 NumOperands = R->getValueAsInt("NumOperands"); in ComplexPattern()
465 int64_t RawComplexity = R->getValueAsInt("Complexity"); in ComplexPattern()
590 unsigned MatchTy = TyEl->getValueAsInt("Number"); in CodeGenIntrinsic()
624 unsigned MatchTy = TyEl->getValueAsInt("Number"); in CodeGenIntrinsic()
693 unsigned ArgNo = Property->getValueAsInt("ArgNo"); in CodeGenIntrinsic()
696 unsigned ArgNo = Property->getValueAsInt("ArgNo"); in CodeGenIntrinsic()
699 unsigned ArgNo = Property->getValueAsInt("ArgNo"); in CodeGenIntrinsic()
702 unsigned ArgNo = Property->getValueAsInt("ArgNo"); in CodeGenIntrinsic()
[all …]
H A DSubtargetEmitter.cpp285 int Cycles = Stage->getValueAsInt("Cycles"); in FormItineraryStageString()
298 int TimeInc = Stage->getValueAsInt("TimeInc"); in FormItineraryStageString()
301 int Kind = Stage->getValueAsInt("Kind"); in FormItineraryStageString()
588 int V = R ? R->getValueAsInt(Name) : -1; in EmitProcessorProp()
610 for (unsigned J = 0; J < RU->getValueAsInt("NumUnits"); ++J) { in EmitProcessorResourceSubUnits()
768 int BufferSize = PRDef->getValueAsInt("BufferSize"); in EmitProcessorResources()
772 NumUnits += RU->getValueAsInt("NumUnits"); in EmitProcessorResources()
773 SubUnitsOffset += RU->getValueAsInt("NumUnits"); in EmitProcessorResources()
784 NumUnits = PRDef->getValueAsInt("NumUnits"); in EmitProcessorResources()
1072 WLEntry.Cycles += WriteRes->getValueAsInt("Latency"); in GenSchedClassTables()
[all …]
H A DInfoByHwMode.cpp119 RegSize = R->getValueAsInt("RegSize"); in RegSizeInfo()
120 SpillSize = R->getValueAsInt("SpillSize"); in RegSizeInfo()
121 SpillAlignment = R->getValueAsInt("SpillAlignment"); in RegSizeInfo()
H A DOptParserEmitter.cpp79 int APrec = A->getValueAsDef("Kind")->getValueAsInt("Precedence"); in CompareOptionRecords()
80 int BPrec = B->getValueAsDef("Kind")->getValueAsInt("Precedence"); in CompareOptionRecords()
274 OS << ", " << R.getValueAsInt("NumArgs"); in EmitOptParser()
H A DX86EVEX2VEXTablesEmitter.cpp180 return RegRec->getValueAsInt("Alignment"); in getRegOperandSize()
182 return RegRec->getValueAsDef("RegClass")->getValueAsInt("Alignment"); in getRegOperandSize()
H A DAsmWriterEmitter.cpp276 bool PassSubtarget = AsmWriter->getValueAsInt("PassSubtarget"); in EmitPrintInstruction()
763 unsigned Variant = AsmWriter->getValueAsInt("Variant"); in EmitPrintAliasInstruction()
764 bool PassSubtarget = AsmWriter->getValueAsInt("PassSubtarget"); in EmitPrintAliasInstruction()
774 int Priority = R->getValueAsInt("EmitPriority"); in EmitPrintAliasInstruction()
1130 unsigned Variant = AsmWriter->getValueAsInt("Variant"); in AsmWriterEmitter()
H A DCodeGenRegisters.cpp59 Size = R->getValueAsInt("Size"); in CodeGenSubRegIndex()
60 Offset = R->getValueAsInt("Offset"); in CodeGenSubRegIndex()
160 CostPerUse(R->getValueAsInt("CostPerUse")), in CodeGenRegister()
657 unsigned(Reg->getValueAsInt("CostPerUse"))); in expand()
785 unsigned Size = R->getValueAsInt("Size"); in CodeGenRegisterClass()
792 RI.SpillAlignment = R->getValueAsInt("Alignment"); in CodeGenRegisterClass()
796 CopyCost = R->getValueAsInt("CopyCost"); in CodeGenRegisterClass()
799 int AllocationPriority = R->getValueAsInt("AllocationPriority"); in CodeGenRegisterClass()
H A DDAGISelEmitter.cpp67 Cost += Op->getValueAsInt("CodeSize"); in getResultPatternSize()
H A DInstrInfoEmitter.cpp144 Res += utostr(OpR->getValueAsInt("RegClassKind")) + ", "; in GetOperandInfo()
583 << Inst.TheDef->getValueAsInt("Size") << ",\t" in emitRecord()
H A DIntrinsicEmitter.cpp265 unsigned Number = R->getValueAsInt("Number"); in EncodeFixedType()
323 AddrSpace = R->getValueAsInt("AddrSpace"); in EncodeFixedType()
H A DCodeGenDAGPatterns.cpp1356 OperandNo = R->getValueAsInt("OperandNum"); in SDTypeConstraint()
1374 x.SDTCisSameAs_Info.OtherOperandNum = R->getValueAsInt("OtherOperandNum"); in SDTypeConstraint()
1378 R->getValueAsInt("OtherOperandNum"); in SDTypeConstraint()
1382 R->getValueAsInt("BigOperandNum"); in SDTypeConstraint()
1385 x.SDTCisEltOfVec_Info.OtherOperandNum = R->getValueAsInt("OtherOpNum"); in SDTypeConstraint()
1389 R->getValueAsInt("OtherOpNum"); in SDTypeConstraint()
1405 R->getValueAsInt("OtherOperandNum"); in SDTypeConstraint()
1409 R->getValueAsInt("OtherOperandNum"); in SDTypeConstraint()
1635 NumResults = TypeProfile->getValueAsInt("NumResults"); in SDNodeInfo()
1636 NumOperands = TypeProfile->getValueAsInt("NumOperands"); in SDNodeInfo()
[all …]
H A DAsmMatcherEmitter.cpp1499 Variant.AsmVariantNo = AsmVariant->getValueAsInt("Variant"); in buildInfo()
2806 int AsmParserVariantNo = AsmVariant->getValueAsInt("Variant"); in emitMnemonicAliases()
3051 int AsmVariantNo = AsmVariant->getValueAsInt("Variant"); in emitMnemonicSpellChecker()
3349 int AsmVariantNo = AsmVariant->getValueAsInt("Variant"); in run()
3453 int AsmVariantNo = AsmVariant->getValueAsInt("Variant"); in run()
H A DCodeGenSchedule.cpp788 SchedRW.TheDef ? SchedRW.TheDef->getValueAsInt("Repeat") : 1; in expandRWSequence()
827 SchedWrite.TheDef ? SchedWrite.TheDef->getValueAsInt("Repeat") : 1; in expandRWSeqForProc()
1792 RF->getValueAsInt("MaxMovesEliminatedPerCycle"); in collectRegisterFiles()
1798 CGRF.NumPhysRegs = RF->getValueAsInt("NumPhysRegs"); in collectRegisterFiles()
H A DFixedLenDecoderEmitter.cpp1748 utostr(Record->getValueAsInt("RegClassKind")); in findOperandDecoderMethod()
1918 utostr(TypeRecord->getValueAsInt("RegClassKind")); in populateInstruction()
2349 unsigned Size = Def->getValueAsInt("Size"); in run()
H A DX86FoldTablesEmitter.cpp219 return RegRec->getValueAsListOfDefs("RegTypes")[0]->getValueAsInt("Size"); in getRegOperandSize()
H A DRISCVCompressInstEmitter.cpp532 if (!AsmWriter->getValueAsInt("PassSubtarget")) in emitCompressInstEmitter()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DAttributes.cpp181 uint64_t Attribute::getValueAsInt() const { in getValueAsInt() function in Attribute
185 return pImpl->getValueAsInt(); in getValueAsInt()
214 return pImpl->getValueAsInt(); in getAlignment()
220 return pImpl->getValueAsInt(); in getStackAlignment()
227 return pImpl->getValueAsInt(); in getDereferenceableBytes()
234 return pImpl->getValueAsInt(); in getDereferenceableOrNullBytes()
364 Result += utostr(getValueAsInt()); in getAsString()
373 Result += utostr(getValueAsInt()); in getAsString()
376 Result += utostr(getValueAsInt()); in getAsString()
496 return getValueAsInt() < AI.getValueAsInt(); in operator <()
[all …]
H A DAttributeImpl.h65 uint64_t getValueAsInt() const;
77 Profile(ID, getKindAsEnum(), getValueAsInt()); in Profile()
/freebsd-12.1/contrib/llvm/tools/clang/utils/TableGen/
H A DClangCommentHTMLNamedCharacterReferenceEmitter.cpp59 uint64_t CodePoint = Tag.getValueAsInt("CodePoint"); in EmitClangCommentHTMLNamedCharacterReferences()
H A DClangCommentCommandInfoEmitter.cpp36 << Tag.getValueAsInt("NumArgs") << ", " in EmitClangCommentCommandInfo()
H A DClangOptionDocEmitter.cpp162 .Case("KIND_MULTIARG", Option->getValueAsInt("NumArgs")) in getNumArgsForKind()
H A DClangAttrEmitter.cpp1268 Arg, Attr, "int", Arg.getValueAsInt("Default")); in createArgument()
2848 Version = static_cast<int>(Spelling->getValueAsInt("Version")); in GenerateHasAttrSpellingStringSwitch()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DAttributes.h133 uint64_t getValueAsInt() const;

12