Lines Matching refs:InstructionCost

130   InstructionCost ScalarizationCost = InstructionCost::getInvalid();
135 InstructionCost ScalarCost = InstructionCost::getInvalid(),
141 InstructionCost ScalarCost = InstructionCost::getInvalid());
150 InstructionCost ScalarCost = InstructionCost::getInvalid());
156 InstructionCost getScalarizationCost() const { return ScalarizationCost; } in getScalarizationCost()
301 InstructionCost
340 InstructionCost
379 InstructionCost getMemcpyCost(const Instruction *I) const;
406 InstructionCost getInstructionCost(const User *U,
412 InstructionCost getInstructionCost(const User *U, in getInstructionCost()
426 InstructionCost getBranchMispredictPenalty() const;
850 InstructionCost getScalingFactorCost(Type *Ty, GlobalValue *BaseGV,
896 InstructionCost getScalarizationOverhead(VectorType *Ty,
904 InstructionCost
1018 InstructionCost getFPOpCost(Type *Ty) const;
1022 InstructionCost getIntImmCost(const APInt &Imm, Type *Ty,
1028 InstructionCost getIntImmCostInst(unsigned Opc, unsigned Idx,
1032 InstructionCost getIntImmCostIntrin(Intrinsic::ID IID, unsigned Idx,
1043 InstructionCost getIntImmCodeSizeCost(unsigned Opc, unsigned Idx,
1283 InstructionCost getArithmeticInstrCost(
1299 InstructionCost getAltInstrCost(
1312 InstructionCost getShuffleCost(
1357 InstructionCost
1365 InstructionCost getExtractWithExtendCost(unsigned Opcode, Type *Dst,
1371 InstructionCost
1381 InstructionCost
1392 InstructionCost getVectorInstrCost(unsigned Opcode, Type *Val,
1403 InstructionCost getVectorInstrCost(const Instruction &I, Type *Val,
1412 InstructionCost getReplicationShuffleCost(Type *EltTy, int ReplicationFactor,
1418 InstructionCost
1426 InstructionCost
1433 InstructionCost getMaskedMemoryOpCost(
1446 InstructionCost getGatherScatterOpCost(
1460 InstructionCost getStridedMemoryOpCost(
1475 InstructionCost getInterleavedMemoryOpCost(
1511 InstructionCost getArithmeticReductionCost(
1515 InstructionCost getMinMaxReductionCost(
1524 InstructionCost getMulAccReductionCost(
1532 InstructionCost getExtendedReductionCost(
1540 InstructionCost getIntrinsicInstrCost(const IntrinsicCostAttributes &ICA,
1544 InstructionCost getCallInstrCost(
1559 InstructionCost getAddressComputationCost(Type *Ty,
1568 InstructionCost getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) const;
1815 virtual InstructionCost getGEPCost(Type *PointeeType, const Value *Ptr,
1819 virtual InstructionCost
1831 virtual InstructionCost getMemcpyCost(const Instruction *I) = 0;
1837 virtual InstructionCost getInstructionCost(const User *U,
1841 virtual InstructionCost getBranchMispredictPenalty() = 0;
1926 virtual InstructionCost getScalingFactorCost(Type *Ty, GlobalValue *BaseGV,
1940 virtual InstructionCost getScalarizationOverhead(VectorType *Ty,
1944 virtual InstructionCost
1968 virtual InstructionCost getFPOpCost(Type *Ty) = 0;
1969 virtual InstructionCost getIntImmCodeSizeCost(unsigned Opc, unsigned Idx,
1971 virtual InstructionCost getIntImmCost(const APInt &Imm, Type *Ty,
1973 virtual InstructionCost getIntImmCostInst(unsigned Opc, unsigned Idx,
1977 virtual InstructionCost getIntImmCostIntrin(Intrinsic::ID IID, unsigned Idx,
2035 virtual InstructionCost getArithmeticInstrCost(
2039 virtual InstructionCost getAltInstrCost(
2044 virtual InstructionCost
2048 virtual InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst,
2052 virtual InstructionCost getExtractWithExtendCost(unsigned Opcode, Type *Dst,
2055 virtual InstructionCost getCFInstrCost(unsigned Opcode,
2058 virtual InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
2063 virtual InstructionCost getVectorInstrCost(unsigned Opcode, Type *Val,
2067 virtual InstructionCost getVectorInstrCost(const Instruction &I, Type *Val,
2071 virtual InstructionCost
2076 virtual InstructionCost
2080 virtual InstructionCost getVPMemoryOpCost(unsigned Opcode, Type *Src,
2085 virtual InstructionCost
2089 virtual InstructionCost
2094 virtual InstructionCost
2100 virtual InstructionCost getInterleavedMemoryOpCost(
2104 virtual InstructionCost
2108 virtual InstructionCost
2111 virtual InstructionCost getExtendedReductionCost(
2115 virtual InstructionCost getMulAccReductionCost(
2118 virtual InstructionCost
2121 virtual InstructionCost getCallInstrCost(Function *F, Type *RetTy,
2125 virtual InstructionCost
2127 virtual InstructionCost
2205 InstructionCost
2211 InstructionCost getPointersChainCost(ArrayRef<const Value *> Ptrs, in getPointersChainCost()
2237 InstructionCost getMemcpyCost(const Instruction *I) override { in getMemcpyCost()
2245 InstructionCost getInstructionCost(const User *U, in getInstructionCost()
2253 InstructionCost getBranchMispredictPenalty() override { in getBranchMispredictPenalty()
2451 InstructionCost getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, in getScalingFactorCost()
2483 InstructionCost getScalarizationOverhead(VectorType *Ty, in getScalarizationOverhead()
2490 InstructionCost
2547 InstructionCost getFPOpCost(Type *Ty) override { in getFPOpCost()
2551 InstructionCost getIntImmCodeSizeCost(unsigned Opc, unsigned Idx, in getIntImmCodeSizeCost()
2555 InstructionCost getIntImmCost(const APInt &Imm, Type *Ty, in getIntImmCost()
2559 InstructionCost getIntImmCostInst(unsigned Opc, unsigned Idx,
2565 InstructionCost getIntImmCostIntrin(Intrinsic::ID IID, unsigned Idx, in getIntImmCostIntrin()
2678 InstructionCost getArithmeticInstrCost(
2686 InstructionCost getAltInstrCost(VectorType *VecTy, unsigned Opcode0, in getAltInstrCost()
2693 InstructionCost getShuffleCost(ShuffleKind Kind, VectorType *Tp, in getShuffleCost()
2702 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src, in getCastInstrCost()
2708 InstructionCost getExtractWithExtendCost(unsigned Opcode, Type *Dst, in getExtractWithExtendCost()
2713 InstructionCost getCFInstrCost(unsigned Opcode, TTI::TargetCostKind CostKind,
2717 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost()
2723 InstructionCost getVectorInstrCost(unsigned Opcode, Type *Val, in getVectorInstrCost()
2729 InstructionCost getVectorInstrCost(const Instruction &I, Type *Val, in getVectorInstrCost()
2734 InstructionCost
2741 InstructionCost getMemoryOpCost(unsigned Opcode, Type *Src, Align Alignment, in getMemoryOpCost()
2749 InstructionCost getVPMemoryOpCost(unsigned Opcode, Type *Src, Align Alignment, in getVPMemoryOpCost()
2756 InstructionCost getMaskedMemoryOpCost(unsigned Opcode, Type *Src, in getMaskedMemoryOpCost()
2762 InstructionCost
2770 InstructionCost
2778 InstructionCost getInterleavedMemoryOpCost( in getInterleavedMemoryOpCost()
2786 InstructionCost
2792 InstructionCost
2797 InstructionCost
2804 InstructionCost
2809 InstructionCost getIntrinsicInstrCost(const IntrinsicCostAttributes &ICA, in getIntrinsicInstrCost()
2813 InstructionCost getCallInstrCost(Function *F, Type *RetTy, in getCallInstrCost()
2821 InstructionCost getAddressComputationCost(Type *Ty, ScalarEvolution *SE, in getAddressComputationCost()
2825 InstructionCost getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) override { in getCostOfKeepingLiveOverCall()