/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | BasicTTIImpl.h | 93 InstructionCost Cost = 0; getBroadcastShuffleOverhead() local 110 InstructionCost Cost = 0; getPermuteShuffleOverhead() local 141 InstructionCost Cost = 0; getExtractSubvectorOverhead() local 169 InstructionCost Cost = 0; getInsertSubvectorOverhead() local 781 InstructionCost Cost = 0; getScalarizationOverhead() local 819 InstructionCost Cost = 0; getOperandsScalarizationOverhead() local 847 InstructionCost Cost = getScalarizationOverhead( getScalarizationOverhead() local 865 InstructionCost Cost = 1; getTypeLegalizationCost() local 961 InstructionCost Cost = thisT()->getArithmeticInstrCost( global() variable 1186 InstructionCost Cost = thisT()->getCastInstrCost( global() variable 1265 InstructionCost Cost = thisT()->getCmpSelInstrCost( global() variable 1305 InstructionCost Cost; getReplicationShuffleCost() local 1343 InstructionCost Cost = LT.first; global() variable 1423 InstructionCost Cost; global() variable 1585 InstructionCost Cost = (ActiveBits + PopCount - 2) * getIntrinsicInstrCost() local 1719 InstructionCost Cost = 0; getIntrinsicInstrCost() local 1761 InstructionCost Cost = getIntrinsicInstrCost() local 1795 InstructionCost Cost = getIntrinsicInstrCost() local 2105 InstructionCost Cost = 0; getTypeBasedIntrinsicInstrCost() local 2124 InstructionCost Cost = 0; getTypeBasedIntrinsicInstrCost() local 2143 InstructionCost Cost = 0; getTypeBasedIntrinsicInstrCost() local 2162 InstructionCost Cost = 0; getTypeBasedIntrinsicInstrCost() local 2180 InstructionCost Cost = 0; getTypeBasedIntrinsicInstrCost() local 2208 InstructionCost Cost = 0; getTypeBasedIntrinsicInstrCost() local 2228 InstructionCost Cost = 0; getTypeBasedIntrinsicInstrCost() local 2246 InstructionCost Cost = 0; getTypeBasedIntrinsicInstrCost() local 2274 InstructionCost Cost = 0; getTypeBasedIntrinsicInstrCost() local [all...] |
H A D | CostTable.h | 28 CostType Cost; member 59 CostType Cost; member
|
H A D | RegisterBankInfo.h | 198 unsigned Cost = 0; variable 218 InstructionMapping(unsigned ID, unsigned Cost, in InstructionMapping() 534 getInstructionMapping(unsigned ID, unsigned Cost, in getInstructionMapping()
|
/llvm-project/llvm/lib/Analysis/ |
H A D | TargetTransformInfo.cpp | 270 InstructionCost Cost = TTIImpl->getInstructionCost(U, Operands, CostKind); getInstructionCost() local 545 InstructionCost Cost = TTIImpl->getScalingFactorCost( getScalingFactorCost() local 675 InstructionCost Cost = TTIImpl->getFPOpCost(Ty); getFPOpCost() local 684 InstructionCost Cost = TTIImpl->getIntImmCodeSizeCost(Opcode, Idx, Imm, Ty); getIntImmCodeSizeCost() local 692 InstructionCost Cost = TTIImpl->getIntImmCost(Imm, Ty, CostKind); getIntImmCost() local 700 InstructionCost Cost = getIntImmCostInst() local 710 InstructionCost Cost = getIntImmCostIntrin() local 912 InstructionCost Cost = getArithmeticInstrCost() local 923 InstructionCost Cost = getAltInstrCost() local 933 InstructionCost Cost = TTIImpl->getShuffleCost(Kind, Ty, Mask, CostKind, getShuffleCost() local 988 InstructionCost Cost = getCastInstrCost() local 996 InstructionCost Cost = getExtractWithExtendCost() local 1006 InstructionCost Cost = TTIImpl->getCFInstrCost(Opcode, CostKind, I); getCFInstrCost() local 1016 InstructionCost Cost = getCmpSelInstrCost() local 1028 InstructionCost Cost = getVectorInstrCost() local 1041 InstructionCost Cost = TTIImpl->getVectorInstrCost(I, Val, CostKind, Index); getVectorInstrCost() local 1049 InstructionCost Cost = TTIImpl->getReplicationShuffleCost( getReplicationShuffleCost() local 1061 InstructionCost Cost = TTIImpl->getMemoryOpCost( getMemoryOpCost() local 1070 InstructionCost Cost = TTIImpl->getMaskedMemoryOpCost(Opcode, Src, Alignment, getMaskedMemoryOpCost() local 1079 InstructionCost Cost = TTIImpl->getGatherScatterOpCost( getGatherScatterOpCost() local 1089 InstructionCost Cost = TTIImpl->getStridedMemoryOpCost( getStridedMemoryOpCost() local 1099 InstructionCost Cost = TTIImpl->getInterleavedMemoryOpCost( getInterleavedMemoryOpCost() local 1109 InstructionCost Cost = TTIImpl->getIntrinsicInstrCost(ICA, CostKind); getIntrinsicInstrCost() local 1118 InstructionCost Cost = TTIImpl->getCallInstrCost(F, RetTy, Tys, CostKind); getCallInstrCost() local 1130 InstructionCost Cost = TTIImpl->getAddressComputationCost(Tp, SE, Ptr); getAddressComputationCost() local 1136 InstructionCost Cost = TTIImpl->getMemcpyCost(I); getMemcpyCost() local 1148 InstructionCost Cost = getArithmeticReductionCost() local 1157 InstructionCost Cost = getMinMaxReductionCost() local [all...] |
H A D | CostModel.cpp | 58 InstructionCost Cost; run() local
|
H A D | InlineOrder.cpp | 25 enum class InlinePriorityMode : int { Size, Cost, CostBenefit, ML }; enumerator 108 int Cost = INT_MAX; member in __anondb7e2c310111::CostPriority 177 int Cost = INT_MAX; global() member in __anondb7e2c310111::CostBenefitPriority 199 int Cost = INT_MAX; global() member in __anondb7e2c310111::MLPriority [all...] |
/llvm-project/llvm/include/llvm/Analysis/ |
H A D | InlineCost.h | 68 : Cost(std::move(Cost)), Benefit(std::move(Benefit)) {} in CostBenefitPair() argument 94 int Cost = 0; global() variable 112 Cost(Cost) Cost() argument [all...] |
/llvm-project/llvm/tools/llvm-mca/Views/ |
H A D | BottleneckAnalysis.h | 190 uint64_t Cost; member 227 uint64_t Cost; member 255 unsigned Cost) { in addRegisterDep() argument 259 void addMemoryDep(unsigned From, unsigned To, unsigned Cost) { in addMemoryDep() argument 264 unsigned Cost) { in addResourceDep() argument
|
H A D | BottleneckAnalysis.cpp | 241 uint64_t Cost = N.Cost + DepEdge.Dep.Cost; in propagateThroughEdges() local 454 addRegisterDep(unsigned From,unsigned To,unsigned RegID,unsigned Cost) addRegisterDep() argument 466 addMemoryDep(unsigned From,unsigned To,unsigned Cost) addMemoryDep() argument 478 addResourceDep(unsigned From,unsigned To,uint64_t Mask,unsigned Cost) addResourceDep() argument [all...] |
/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZTargetTransformInfo.cpp | 572 InstructionCost Cost = getArithmeticInstrCost() local 592 InstructionCost Cost = (VF * LIBCALL_COST) + getArithmeticInstrCost() local 679 unsigned Cost = 0; getVectorTruncCost() local 756 unsigned Cost = 0; getBoolVecToIntConversionCost() local 808 unsigned Cost = 0; getCastInstrCost() local 983 unsigned Cost = 1; getCmpSelInstrCost() local 1026 unsigned Cost = (NumVecs_cmp * (CmpCostPerVector + PredicateExtraCost)); getCmpSelInstrCost() local 1057 int Cost = ((getScalarSizeInBits(Val) == 1) ? 2 /*+test-under-mask*/ : 1); getVectorInstrCost() local 1310 int Cost = VectorRegsNeeded + LastVectorHandling - 1; getVectorIntrinsicInstrCost() local 1319 InstructionCost Cost = getVectorIntrinsicInstrCost( getIntrinsicInstrCost() local [all...] |
/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyTargetTransformInfo.cpp | 59 InstructionCost Cost = getArithmeticInstrCost() local 87 InstructionCost Cost = BasicTTIImplBase::getVectorInstrCost( getVectorInstrCost() local
|
/llvm-project/llvm/lib/CodeGen/ |
H A D | RegisterClassInfo.cpp | 149 uint8_t Cost = RegCosts[PhysReg]; compute() local 168 uint8_t Cost = RegCosts[PhysReg]; compute() local
|
/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVTargetTransformInfo.cpp | 51 InstructionCost Cost = 0; getRISCVInstructionCost() local 428 InstructionCost Cost = 0; getShuffleCost() local 654 InstructionCost Cost = MemCost; getInterleavedMemoryOpCost() local 917 InstructionCost Cost = getRISCVInstructionCost( getIntrinsicInstrCost() local 934 unsigned Cost = 5; getIntrinsicInstrCost() local 942 unsigned Cost = 7; getIntrinsicInstrCost() local 955 unsigned Cost = 7; getIntrinsicInstrCost() local 1068 InstructionCost Cost = 0; getCastInstrCost() local 1369 InstructionCost Cost = 0; getMemoryOpCost() local 1751 InstructionCost Cost = TTI::TCC_Free; getPointersChainCost() local 1837 InstructionCost Cost = 0; getUnrollingPreferences() local [all...] |
/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCTargetTransformInfo.cpp | 601 return Cost * CostFactor; in getArithmeticInstrCost() local 649 Cost *= CostFactor; in getCastInstrCost() local 668 InstructionCost Cost = getCmpSelInstrCost() local 689 InstructionCost Cost = getVectorInstrCost() local 785 InstructionCost Cost = getMemoryOpCost() local 876 InstructionCost Cost = getMemoryOpCost(Opcode, VecTy, MaybeAlign(Alignment), getInterleavedMemoryOpCost() local 1048 InstructionCost Cost = BaseT::getVPMemoryOpCost(Opcode, Src, Alignment, getVPMemoryOpCost() local 1070 InstructionCost Cost = LT.first * CostFactor; getVPMemoryOpCost() local [all...] |
/llvm-project/llvm/utils/TableGen/ |
H A D | DAGISelEmitter.cpp | 49 unsigned Cost = 0; getResultPatternCost() local 69 unsigned Cost = 0; getResultPatternSize() local
|
/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPURegisterBankInfo.h | 134 int16_t Cost; member
|
H A D | AMDGPUTargetTransformInfo.cpp | 622 int Cost = 7 * get64BitInstrCost(CostKind) + getArithmeticInstrCost() local 646 int Cost = getArithmeticInstrCost() local 656 int Cost = getQuarterRateInstrCost(CostKind) + getFullRateInstrCost(); getArithmeticInstrCost() local 662 int Cost = (SLT == MVT::f16 ? 14 : 10) * getFullRateInstrCost() + getArithmeticInstrCost() local 1349 std::pair<InstructionCost, MVT> Cost = BaseT::getTypeLegalizationCost(Ty); getTypeLegalizationCost() local [all...] |
/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | RegBankSelect.cpp | 279 unsigned Cost = RBI->copyCost(*DesiredRegBank, *CurRegBank, in getRepairCost() local 296 MappingCost Cost = MappingCost::ImpossibleCost(); in findBestMapping() local 453 MappingCost Cost(MBFI ? MBFI->getBlockFreq(MI.getParent()) in computeMapping() local 981 addLocalCost(uint64_t Cost) addLocalCost() argument 991 addNonLocalCost(uint64_t Cost) addNonLocalCost() argument [all...] |
/llvm-project/clang-tools-extra/clangd/ |
H A D | FileDistance.cpp | 85 unsigned Cost = S.getValue().Cost + I * Opts.UpCost; in FileDistance() local 122 unsigned Cost = Unreachable; in distance() local
|
H A D | FileDistance.h | 60 unsigned Cost = 0; member
|
/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
H A D | RISCVMatInt.cpp | 20 int Cost = 0; in getInstSeqCost() local 510 int Cost = 0; in getIntMatCost() local
|
/llvm-project/llvm/utils/PerfectShuffle/ |
H A D | PerfectShuffle.cpp | 92 unsigned Cost; // Number of instrs used to generate this value. member 111 unsigned Cost; member 370 unsigned Cost = ShufTab[LHS].Cost + Op->getCost(); in main() local 408 unsigned Cost = NumVals + Op->getCost(); in main() local
|
/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonTargetTransformInfo.cpp | 202 unsigned Cost = in getMemoryOpCost() local 311 InstructionCost Cost = in getCastInstrCost() local 329 unsigned Cost = (Index != 0) ? 2 : 0; in getVectorInstrCost() local [all...] |
/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetTransformInfo.cpp | 372 InstructionCost Cost = 0; getIntImmCost() local 442 InstructionCost Cost = AArch64TTIImpl::getIntImmCost(Imm, Ty, CostKind); getIntImmCostInst() local 479 InstructionCost Cost = AArch64TTIImpl::getIntImmCost(Imm, Ty, CostKind); getIntImmCostIntrin() local 600 InstructionCost Cost = 1; // Cost of the `index' instruction getIntrinsicInstrCost() local 772 InstructionCost Cost = 1; getIntrinsicInstrCost() local 2494 __anon864f01c90a02(InstructionCost Cost) getCastInstrCost() argument 2882 InstructionCost Cost = getVectorInstrCost(Instruction::ExtractElement, VecTy, getExtractWithExtendCost() local 3040 InstructionCost Cost = getArithmeticInstrCost( getArithmeticInstrCost() local 3070 InstructionCost Cost = BaseT::getArithmeticInstrCost( getArithmeticInstrCost() local 3464 InstructionCost Cost(0); getMemoryOpCost() local 3523 InstructionCost Cost = 0; getCostOfKeepingLiveOverCall() local 3852 InstructionCost Cost = getArithmeticReductionCost() local 3929 auto Cost = ValVTy->getElementType()->isIntegerTy(1) ? 2 : Entry->Cost; getArithmeticReductionCost() local 4030 InstructionCost Cost; getShuffleCost() local [all...] |
/llvm-project/llvm/lib/Target/X86/ |
H A D | X86TargetTransformInfo.cpp | 81 unsigned Cost = ~0U; operator []() local 330 InstructionCost Cost = getArithmeticInstrCost() local 344 InstructionCost Cost = getArithmeticInstrCost() local 1720 InstructionCost Cost = 0; getShuffleCost() local 3152 __anon2c96a9c30602(InstructionCost Cost, InstructionCost N = 1) getCastInstrCost() argument 4298 __anon2c96a9c30702(int ISD, unsigned Cost, std::pair<InstructionCost, MVT> LT, FastMathFlags FMF) getIntrinsicInstrCost() argument 4633 InstructionCost Cost = 0; getScalarizationOverhead() local 4923 InstructionCost Cost = 0; getMemoryOpCost() local 5095 InstructionCost Cost = 0; getMaskedMemoryOpCost() local 5641 InstructionCost Cost = 0; getIntImmCost() local 5741 InstructionCost Cost = X86TTIImpl::getIntImmCost(Imm, Ty, CostKind); getIntImmCostInst() local 6366 InstructionCost Cost = NumOfResults * NumOfShufflesPerResult * ShuffleCost + getInterleavedMemoryOpCostAVX512() local 6403 InstructionCost Cost = getInterleavedMemoryOpCostAVX512() local [all...] |