/external/llvm/lib/Analysis/ |
D | TargetTransformInfo.cpp | 52 int Cost = TTIImpl->getOperationCost(Opcode, Ty, OpTy); in getOperationCost() local 58 int Cost = TTIImpl->getCallCost(FTy, NumArgs); in getCallCost() local 65 int Cost = TTIImpl->getCallCost(F, Arguments); in getCallCost() local 81 int Cost = TTIImpl->getIntrinsicCost(IID, RetTy, Arguments); in getIntrinsicCost() local 87 int Cost = TTIImpl->getUserCost(U); in getUserCost() local 147 int Cost = TTIImpl->getScalingFactorCost(Ty, BaseGV, BaseOffset, HasBaseReg, in getScalingFactorCost() local 207 int Cost = TTIImpl->getFPOpCost(Ty); in getFPOpCost() local 215 int Cost = TTIImpl->getIntImmCodeSizeCost(Opcode, Idx, Imm, Ty); in getIntImmCodeSizeCost() local 221 int Cost = TTIImpl->getIntImmCost(Imm, Ty); in getIntImmCost() local 228 int Cost = TTIImpl->getIntImmCost(Opcode, Idx, Imm, Ty); in getIntImmCost() local [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | TargetTransformInfo.cpp | 151 int Cost = TTIImpl->getOperationCost(Opcode, Ty, OpTy); in getOperationCost() local 158 int Cost = TTIImpl->getCallCost(FTy, NumArgs, U); in getCallCost() local 166 int Cost = TTIImpl->getCallCost(F, Arguments, U); in getCallCost() local 192 int Cost = TTIImpl->getIntrinsicCost(IID, RetTy, Arguments, U); in getIntrinsicCost() local 206 int Cost = TTIImpl->getUserCost(U, Operands); in getUserCost() local 354 int Cost = TTIImpl->getScalingFactorCost(Ty, BaseGV, BaseOffset, HasBaseReg, in getScalingFactorCost() local 448 int Cost = TTIImpl->getFPOpCost(Ty); in getFPOpCost() local 456 int Cost = TTIImpl->getIntImmCodeSizeCost(Opcode, Idx, Imm, Ty); in getIntImmCodeSizeCost() local 462 int Cost = TTIImpl->getIntImmCost(Imm, Ty); in getIntImmCost() local 469 int Cost = TTIImpl->getIntImmCostInst(Opcode, Idx, Imm, Ty); in getIntImmCostInst() local [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 86 unsigned Cost = 0; in getBroadcastShuffleOverhead() local 103 unsigned Cost = 0; in getPermuteShuffleOverhead() local 129 unsigned Cost = 0; in getExtractSubvectorOverhead() local 151 unsigned Cost = 0; in getInsertSubvectorOverhead() local 571 unsigned Cost = 0; in getScalarizationOverhead() local 590 unsigned Cost = 0; in getOperandsScalarizationOverhead() local 614 unsigned Cost = 0; in getScalarizationOverhead() local 667 unsigned Cost = static_cast<T *>(this) variable 801 unsigned Cost = static_cast<T *>(this)->getCastInstrCost( variable 864 unsigned Cost = static_cast<T *>(this)->getCmpSelInstrCost( in getCmpSelInstrCost() local [all …]
|
D | CostTable.h | 27 unsigned Cost; member 48 unsigned Cost; member
|
/external/llvm/include/llvm/Analysis/ |
D | InlineCost.h | 59 const int Cost; variable 65 InlineCost(int Cost, int Threshold) : Cost(Cost), Threshold(Threshold) {} in InlineCost() 68 static InlineCost get(int Cost, int Threshold) { in get()
|
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 91 InstructionCost Cost = 0; in getBroadcastShuffleOverhead() local 108 InstructionCost Cost = 0; in getPermuteShuffleOverhead() local 139 InstructionCost Cost = 0; in getExtractSubvectorOverhead() local 167 InstructionCost Cost = 0; in getInsertSubvectorOverhead() local 733 InstructionCost Cost = 0; in getScalarizationOverhead() local 771 InstructionCost Cost = 0; in getOperandsScalarizationOverhead() local 799 InstructionCost Cost = getScalarizationOverhead( in getScalarizationOverhead() local 817 InstructionCost Cost = 1; in getTypeLegalizationCost() local 913 InstructionCost Cost = thisT()->getArithmeticInstrCost( variable 1126 InstructionCost Cost = thisT()->getCastInstrCost( variable [all …]
|
D | CostTable.h | 28 CostType Cost; member 59 CostType Cost; member
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | InlineCost.h | 70 int Cost; variable 80 : Cost(Cost), Threshold(Threshold), Reason(Reason) { in Cost() function 86 static InlineCost get(int Cost, int Threshold) { in get()
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Analysis/ |
D | TargetTransformInfo.cpp | 228 InstructionCost Cost = TTIImpl->getInstructionCost(U, Operands, CostKind); in getInstructionCost() local 471 InstructionCost Cost = TTIImpl->getScalingFactorCost( in getScalingFactorCost() local 596 InstructionCost Cost = TTIImpl->getFPOpCost(Ty); in getFPOpCost() local 605 InstructionCost Cost = TTIImpl->getIntImmCodeSizeCost(Opcode, Idx, Imm, Ty); in getIntImmCodeSizeCost() local 613 InstructionCost Cost = TTIImpl->getIntImmCost(Imm, Ty, CostKind); in getIntImmCost() local 621 InstructionCost Cost = in getIntImmCostInst() local 631 InstructionCost Cost = in getIntImmCostIntrin() local 800 InstructionCost Cost = in getArithmeticInstrCost() local 812 InstructionCost Cost = in getShuffleCost() local 867 InstructionCost Cost = in getCastInstrCost() local [all …]
|
D | CostModel.cpp | 102 InstructionCost Cost; in print() local 131 InstructionCost Cost; in run() local
|
D | InlineOrder.cpp | 25 enum class InlinePriorityMode : int { Size, Cost, CostBenefit, ML }; enumerator 109 int Cost = INT_MAX; member in __anon9b75ac3e0111::CostPriority 175 int Cost = INT_MAX; member in __anon9b75ac3e0111::CostBenefitPriority 197 int Cost = INT_MAX; member in __anon9b75ac3e0111::MLPriority
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 433 unsigned Cost = (VF * ScalarCost) + getScalarizationOverhead(Ty, Args); in getArithmeticInstrCost() local 450 unsigned Cost = (VF * LIBCALL_COST) + getScalarizationOverhead(Ty, Args); in getArithmeticInstrCost() local 581 unsigned Cost = 0; in getVectorTruncCost() local 658 unsigned Cost = 0; in getBoolVecToIntConversionCost() local 779 unsigned Cost = 0; in getCastInstrCost() local 842 unsigned Cost = (NumVecs_cmp * (CmpCostPerVector + PredicateExtraCost)); in getCmpSelInstrCost() local 872 unsigned Cost = 1; in getCmpSelInstrCost() local 895 int Cost = ((getScalarSizeInBits(Val) == 1) ? 2 /*+test-under-mask*/ : 1); in getVectorInstrCost() local 1131 int Cost = getVectorIntrinsicInstrCost(ID, RetTy); in getIntrinsicInstrCost() local 1141 int Cost = getVectorIntrinsicInstrCost(ID, RetTy); in getIntrinsicInstrCost() local
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.cpp | 54 int Cost = 0; in getIntImmCost() local 122 int Cost = AArch64TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCost() local 151 int Cost = AArch64TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCost() local 311 auto Cost = getVectorInstrCost(Instruction::ExtractElement, VecTy, Index); in getExtractWithExtendCost() local 390 int Cost = getArithmeticInstrCost(Instruction::Add, Ty, Opd1Info, Opd2Info, in getArithmeticInstrCost() local 518 int Cost = 0; in getCostOfKeepingLiveOverCall() local
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyTargetTransformInfo.cpp | 51 unsigned Cost = BasicTTIImplBase<WebAssemblyTTIImpl>::getArithmeticInstrCost( in getArithmeticInstrCost() local 76 unsigned Cost = BasicTTIImplBase::getVectorInstrCost(Opcode, Val, Index); in getVectorInstrCost() local
|
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Analysis/ |
D | InlineCost.h | 68 CostBenefitPair(APInt Cost, APInt Benefit) : Cost(Cost), Benefit(Benefit) {} in CostBenefitPair() 93 int Cost = 0; variable 111 : Cost(Cost), Threshold(Threshold), in Cost() function
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/RISCV/ |
D | RISCVTargetTransformInfo.cpp | 40 unsigned Cost; in getLMULCost() local 247 unsigned Cost = 2; // vslidedown+vslideup. in getSpliceCost() local 867 unsigned Cost = 1; // vid in getIntrinsicInstrCost() local 873 unsigned Cost = 5; in getIntrinsicInstrCost() local 881 unsigned Cost = 7; in getIntrinsicInstrCost() local 894 unsigned Cost = 7; in getIntrinsicInstrCost() local 1110 InstructionCost Cost = 0; in getMemoryOpCost() local 1414 InstructionCost Cost = 0; in getUnrollingPreferences() local
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyTargetTransformInfo.cpp | 52 unsigned Cost = BasicTTIImplBase<WebAssemblyTTIImpl>::getArithmeticInstrCost( in getArithmeticInstrCost() local 77 unsigned Cost = BasicTTIImplBase::getVectorInstrCost(Opcode, Val, Index); in getVectorInstrCost() local
|
/external/llvm/include/llvm/Target/ |
D | CostTable.h | 27 unsigned Cost; member 48 unsigned Cost; member
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 561 InstructionCost Cost = in getArithmeticInstrCost() local 581 InstructionCost Cost = (VF * LIBCALL_COST) + in getArithmeticInstrCost() local 670 unsigned Cost = 0; in getVectorTruncCost() local 747 unsigned Cost = 0; in getBoolVecToIntConversionCost() local 790 unsigned Cost = 0; in getCastInstrCost() local 940 unsigned Cost = 1; in getCmpSelInstrCost() local 983 unsigned Cost = (NumVecs_cmp * (CmpCostPerVector + PredicateExtraCost)); in getCmpSelInstrCost() local 1014 int Cost = ((getScalarSizeInBits(Val) == 1) ? 2 /*+test-under-mask*/ : 1); in getVectorInstrCost() local 1251 InstructionCost Cost = in getIntrinsicInstrCost() local
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.cpp | 689 int PPCTTIImpl::vectorCostAdjustment(int Cost, unsigned Opcode, Type *Ty1, in vectorCostAdjustment() 723 int Cost = BaseT::getArithmeticInstrCost(Opcode, Ty, Op1Info, Op2Info, in getArithmeticInstrCost() local 746 int Cost = BaseT::getCastInstrCost(Opcode, Dst, Src); in getCastInstrCost() local 752 int Cost = BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost() local 762 int Cost = BaseT::getVectorInstrCost(Opcode, Val, Index); in getVectorInstrCost() local 837 int Cost = BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace); in getMemoryOpCost() local 921 int Cost = in getInterleavedMemoryOpCost() local
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.cpp | 603 InstructionCost Cost = BaseT::getArithmeticInstrCost( in getArithmeticInstrCost() local 650 InstructionCost Cost = in getCastInstrCost() local 669 InstructionCost Cost = in getCmpSelInstrCost() local 690 InstructionCost Cost = in getVectorInstrCost() local 770 InstructionCost Cost = in getMemoryOpCost() local 860 InstructionCost Cost = getMemoryOpCost(Opcode, VecTy, MaybeAlign(Alignment), in getInterleavedMemoryOpCost() local 1032 InstructionCost Cost = BaseT::getVPMemoryOpCost(Opcode, Src, Alignment, in getVPMemoryOpCost() local 1054 InstructionCost Cost = LT.first * CostFactor; in getVPMemoryOpCost() local
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | RegisterClassInfo.cpp | 115 unsigned Cost = TRI->getCostPerUse(PhysReg); in compute() local 135 unsigned Cost = TRI->getCostPerUse(PhysReg); in compute() local
|
/external/llvm/lib/CodeGen/ |
D | RegisterClassInfo.cpp | 103 unsigned Cost = TRI->getCostPerUse(PhysReg); in compute() local 122 unsigned Cost = TRI->getCostPerUse(PhysReg); in compute() local
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyTargetTransformInfo.cpp | 59 InstructionCost Cost = in getArithmeticInstrCost() local 87 InstructionCost Cost = BasicTTIImplBase::getVectorInstrCost( in getVectorInstrCost() local
|
/external/llvm/lib/CodeGen/GlobalISel/ |
D | RegBankSelect.cpp | 192 unsigned Cost = in getRepairCost() local 210 MappingCost Cost = MappingCost::ImpossibleCost(); in findBestMapping() local 352 MappingCost Cost(MBFI ? MBFI->getBlockFreq(MI.getParent()) : 1); in computeMapping() local 782 bool RegBankSelect::MappingCost::addLocalCost(uint64_t Cost) { in addLocalCost() 792 bool RegBankSelect::MappingCost::addNonLocalCost(uint64_t Cost) { in addNonLocalCost()
|