Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DPredicateExpander.cpp206 return expandCheckIsRegOperand(OS, Rec->getValueAsInt("OpIndex")); in expandPredicate()
209 return expandCheckIsImmOperand(OS, Rec->getValueAsInt("OpIndex")); in expandPredicate()
212 return expandCheckRegOperand(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
216 return expandCheckInvalidRegOperand(OS, Rec->getValueAsInt("OpIndex")); in expandPredicate()
219 return expandCheckImmOperand(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
220 Rec->getValueAsInt("ImmVal")); in expandPredicate()
223 return expandCheckImmOperand(OS, Rec->getValueAsInt("OpIndex"), in expandPredicate()
227 return expandCheckSameRegOperand(OS, Rec->getValueAsInt("FirstIndex"), in expandPredicate()
228 Rec->getValueAsInt("SecondIndex")); in expandPredicate()
231 return expandCheckNumOperands(OS, Rec->getValueAsInt("NumOps")); in expandPredicate()
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()
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()
589 unsigned MatchTy = TyEl->getValueAsInt("Number"); in CodeGenIntrinsic()
623 unsigned MatchTy = TyEl->getValueAsInt("Number"); in CodeGenIntrinsic()
690 unsigned ArgNo = Property->getValueAsInt("ArgNo"); 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()
[all …]
DSubtargetEmitter.cpp282 int Cycles = Stage->getValueAsInt("Cycles"); in FormItineraryStageString()
295 int TimeInc = Stage->getValueAsInt("TimeInc"); in FormItineraryStageString()
298 int Kind = Stage->getValueAsInt("Kind"); in FormItineraryStageString()
490 int16_t NumUOps = ItinData ? ItinData->getValueAsInt("NumMicroOps") : 0; in EmitStageAndOperandCycleData()
585 int V = R ? R->getValueAsInt(Name) : -1; in EmitProcessorProp()
607 for (unsigned J = 0; J < RU->getValueAsInt("NumUnits"); ++J) { in EmitProcessorResourceSubUnits()
621 std::max(ReorderBufferSize, RCU->getValueAsInt("ReorderBufferSize")); in EmitRetireControlUnitInfo()
623 std::max(MaxRetirePerCycle, RCU->getValueAsInt("MaxRetirePerCycle")); in EmitRetireControlUnitInfo()
797 int BufferSize = PRDef->getValueAsInt("BufferSize"); in EmitProcessorResources()
801 NumUnits += RU->getValueAsInt("NumUnits"); in EmitProcessorResources()
[all …]
DInfoByHwMode.cpp119 RegSize = R->getValueAsInt("RegSize"); in RegSizeInfo()
120 SpillSize = R->getValueAsInt("SpillSize"); in RegSizeInfo()
121 SpillAlignment = R->getValueAsInt("SpillAlignment"); in RegSizeInfo()
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()
DX86EVEX2VEXTablesEmitter.cpp180 return RegRec->getValueAsInt("Alignment"); in getRegOperandSize()
182 return RegRec->getValueAsDef("RegClass")->getValueAsInt("Alignment"); in getRegOperandSize()
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()
1125 unsigned Variant = AsmWriter->getValueAsInt("Variant"); in AsmWriterEmitter()
/external/llvm/utils/TableGen/
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()
DCodeGenTarget.cpp39 return (MVT::SimpleValueType)Rec->getValueAsInt("Value"); in getValueType()
392 NumOperands = R->getValueAsInt("NumOperands"); in ComplexPattern()
504 unsigned MatchTy = TyEl->getValueAsInt("Number"); in CodeGenIntrinsic()
538 unsigned MatchTy = TyEl->getValueAsInt("Number"); in CodeGenIntrinsic()
593 unsigned ArgNo = Property->getValueAsInt("ArgNo"); in CodeGenIntrinsic()
596 unsigned ArgNo = Property->getValueAsInt("ArgNo"); in CodeGenIntrinsic()
599 unsigned ArgNo = Property->getValueAsInt("ArgNo"); in CodeGenIntrinsic()
602 unsigned ArgNo = Property->getValueAsInt("ArgNo"); in CodeGenIntrinsic()
605 unsigned ArgNo = Property->getValueAsInt("ArgNo"); in CodeGenIntrinsic()
DSubtargetEmitter.cpp288 int Cycles = Stage->getValueAsInt("Cycles"); in FormItineraryStageString()
301 int TimeInc = Stage->getValueAsInt("TimeInc"); in FormItineraryStageString()
304 int Kind = Stage->getValueAsInt("Kind"); in FormItineraryStageString()
498 int NumUOps = ItinData ? ItinData->getValueAsInt("NumMicroOps") : 0; in EmitStageAndOperandCycleData()
592 int V = R ? R->getValueAsInt(Name) : -1; in EmitProcessorProp()
615 int BufferSize = PRDef->getValueAsInt("BufferSize"); in EmitProcessorResources()
619 NumUnits += RU->getValueAsInt("NumUnits"); in EmitProcessorResources()
629 NumUnits = PRDef->getValueAsInt("NumUnits"); in EmitProcessorResources()
921 WLEntry.Cycles += WriteRes->getValueAsInt("Latency"); in GenSchedClassTables()
922 SCDesc.NumMicroOps += WriteRes->getValueAsInt("NumMicroOps"); in GenSchedClassTables()
[all …]
DOptParserEmitter.cpp77 int APrec = A->getValueAsDef("Kind")->getValueAsInt("Precedence"); in CompareOptionRecords()
78 int BPrec = B->getValueAsDef("Kind")->getValueAsInt("Precedence"); in CompareOptionRecords()
269 OS << ", " << R.getValueAsInt("NumArgs"); in EmitOptParser()
DAsmWriterEmitter.cpp258 bool PassSubtarget = AsmWriter->getValueAsInt("PassSubtarget"); in EmitPrintInstruction()
756 unsigned Variant = AsmWriter->getValueAsInt("Variant"); in EmitPrintAliasInstruction()
757 bool PassSubtarget = AsmWriter->getValueAsInt("PassSubtarget"); in EmitPrintAliasInstruction()
767 int Priority = R->getValueAsInt("EmitPriority"); in EmitPrintAliasInstruction()
1097 unsigned Variant = AsmWriter->getValueAsInt("Variant"); in AsmWriterEmitter()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DCallingConvEmitter.cpp157 int Size = Action->getValueAsInt("Size"); in EmitAction()
158 int Align = Action->getValueAsInt("Align"); in EmitAction()
196 int Size = Action->getValueAsInt("Size"); in EmitAction()
197 int Align = Action->getValueAsInt("Align"); in EmitAction()
DCodeGenTarget.cpp37 return (MVT::SimpleValueType)Rec->getValueAsInt("Value"); in getValueType()
309 NumOperands = R->getValueAsInt("NumOperands"); in ComplexPattern()
411 unsigned MatchTy = TyEl->getValueAsInt("Number"); in CodeGenIntrinsic()
445 unsigned MatchTy = TyEl->getValueAsInt("Number"); in CodeGenIntrinsic()
492 unsigned ArgNo = Property->getValueAsInt("ArgNo"); in CodeGenIntrinsic()
DSubtargetEmitter.cpp225 int Cycles = Stage->getValueAsInt("Cycles"); in FormItineraryStageString()
238 int TimeInc = Stage->getValueAsInt("TimeInc"); in FormItineraryStageString()
241 int Kind = Stage->getValueAsInt("Kind"); in FormItineraryStageString()
435 unsigned NumUOps = ItinClassList[Find]->getValueAsInt("NumMicroOps"); in EmitStageAndOperandCycleData()
DCodeGenRegisters.cpp31 CostPerUse(R->getValueAsInt("CostPerUse")), in CodeGenRegister()
201 unsigned(Reg->getValueAsInt("CostPerUse"))); in expand()
326 unsigned Size = R->getValueAsInt("Size"); in CodeGenRegisterClass()
330 SpillAlignment = R->getValueAsInt("Alignment"); in CodeGenRegisterClass()
331 CopyCost = R->getValueAsInt("CopyCost"); in CodeGenRegisterClass()
DInstrInfoEmitter.cpp87 Res += utostr(OpR->getValueAsInt("RegClassKind")) + ", "; in GetOperandInfo()
267 << Inst.TheDef->getValueAsInt("Size") << ",\t\"" in emitRecord()
DIntrinsicEmitter.cpp233 unsigned Number = ArgType->getValueAsInt("Number"); in EmitTypeGenerate()
355 unsigned Number = ArgType->getValueAsInt("Number"); in EmitVerifier()
383 unsigned Number = ArgType->getValueAsInt("Number"); in EmitVerifier()
/external/llvm/lib/IR/
DAttributes.cpp164 uint64_t Attribute::getValueAsInt() const { in getValueAsInt() function in Attribute
168 return pImpl->getValueAsInt(); in getValueAsInt()
197 return pImpl->getValueAsInt(); in getAlignment()
203 return pImpl->getValueAsInt(); in getStackAlignment()
210 return pImpl->getValueAsInt(); in getDereferenceableBytes()
217 return pImpl->getValueAsInt(); in getDereferenceableOrNullBytes()
223 return unpackAllocSizeArgs(pImpl->getValueAsInt()); in getAllocSizeArgs()
333 Result += utostr(getValueAsInt()); in getAsString()
342 Result += utostr(getValueAsInt()); in getAsString()
345 Result += utostr(getValueAsInt()); in getAsString()
[all …]
DAttributeImpl.h63 uint64_t getValueAsInt() const;
75 Profile(ID, getKindAsEnum(), getValueAsInt()); in Profile()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
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()
240 return unpackAllocSizeArgs(pImpl->getValueAsInt()); in getAllocSizeArgs()
362 Result += utostr(getValueAsInt()); in getAsString()
371 Result += utostr(getValueAsInt()); in getAsString()
374 Result += utostr(getValueAsInt()); in getAsString()
[all …]
DAttributeImpl.h65 uint64_t getValueAsInt() const;
77 Profile(ID, getKindAsEnum(), getValueAsInt()); in Profile()
/external/clang/utils/TableGen/
DClangCommentHTMLNamedCharacterReferenceEmitter.cpp59 uint64_t CodePoint = Tag.getValueAsInt("CodePoint"); in EmitClangCommentHTMLNamedCharacterReferences()
DClangCommentCommandInfoEmitter.cpp36 << Tag.getValueAsInt("NumArgs") << ", " in EmitClangCommentCommandInfo()

123