Home
last modified time | relevance | path

Searched refs:getArithmeticInstrCost (Results 1 – 25 of 38) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiTargetTransformInfo.h94 InstructionCost getArithmeticInstrCost(
104 return BaseT::getArithmeticInstrCost(Opcode, Ty, CostKind, Op1Info,
115 return 64 * BaseT::getArithmeticInstrCost(Opcode, Ty, CostKind, Op1Info,
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h1024 InstructionCost getArithmeticInstrCost(
1037 return BaseT::getArithmeticInstrCost(Opcode, Ty, CostKind,
1070 InstructionCost DivCost = thisT()->getArithmeticInstrCost(
1073 thisT()->getArithmeticInstrCost(Instruction::Mul, Ty, CostKind);
1075 thisT()->getArithmeticInstrCost(Instruction::Sub, Ty, CostKind);
1088 InstructionCost Cost = thisT()->getArithmeticInstrCost(
1703 Cost += thisT()->getArithmeticInstrCost(BinaryOperator::And, MaskVT,
1756 return thisT()->getArithmeticInstrCost(*FOp, ICA.getReturnType(), in getIntrinsicInstrCost()
1883 thisT()->getArithmeticInstrCost( in getIntrinsicInstrCost()
1886 Cost += thisT()->getArithmeticInstrCost(Instruction::FDiv, RetTy, in getIntrinsicInstrCost()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFTargetTransformInfo.h61 InstructionCost getArithmeticInstrCost(
71 return BaseT::getArithmeticInstrCost(Opcode, Ty, CostKind, Op1Info,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp447 ScalarOpCost = TTI.getArithmeticInstrCost(Opcode, ScalarTy, CostKind); in isExtractExtractCheap()
448 VectorOpCost = TTI.getArithmeticInstrCost(Opcode, VecTy, CostKind); in isExtractExtractCheap()
710 TTI.getArithmeticInstrCost(Instruction::FNeg, ScalarTy, CostKind) + in foldInsExtFNeg()
720 TTI.getArithmeticInstrCost(Instruction::FNeg, VecTy, CostKind) + in foldInsExtFNeg()
780 TTI.getArithmeticInstrCost(BinOpcode, ResultTy, CostKind) + in foldInsExtBinop()
841 TTI.getArithmeticInstrCost(BinOp->getOpcode(), DstVecTy) + in foldBitOpOfBitcasts()
847 TTI.getArithmeticInstrCost(BinOp->getOpcode(), SrcVecTy) + in foldBitOpOfBitcasts()
1039 ScalarOpCost = TTI.getArithmeticInstrCost(*FunctionalOpcode, in scalarizeVPIntrinsic()
1173 ScalarOpCost = TTI.getArithmeticInstrCost(Opcode, ScalarTy, CostKind); in scalarizeOpOrCmp()
1174 VectorOpCost = TTI.getArithmeticInstrCost(Opcode, VecTy, CostKind); in scalarizeOpOrCmp()
[all …]
H A DVPlanRecipes.cpp909 return Ctx.TTI.getArithmeticInstrCost(getOpcode(), ResTy, Ctx.CostKind); in computeCost()
920 return Ctx.TTI.getArithmeticInstrCost(getOpcode(), ResTy, Ctx.CostKind); in computeCost()
1641 Ctx.TTI.getArithmeticInstrCost(Instruction::Mul, VTy, Ctx.CostKind); in computeCost()
1658 Ctx.TTI.getArithmeticInstrCost(Opcode, VTy, Ctx.CostKind); in computeCost()
1738 return Ctx.TTI.getArithmeticInstrCost( in computeCost()
1948 return Ctx.TTI.getArithmeticInstrCost( in computeCost()
1988 return Ctx.TTI.getArithmeticInstrCost( in computeCost()
1996 return Ctx.TTI.getArithmeticInstrCost(Instruction::Mul, VectorTy, in computeCost()
2946 return Ctx.TTI.getArithmeticInstrCost( in computeCost()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetTransformInfo.cpp53 InstructionCost WebAssemblyTTIImpl::getArithmeticInstrCost( in getArithmeticInstrCost() function in WebAssemblyTTIImpl
59 BasicTTIImplBase<WebAssemblyTTIImpl>::getArithmeticInstrCost( in getArithmeticInstrCost()
74 getArithmeticInstrCost(Opcode, VTy->getElementType(), CostKind) + in getArithmeticInstrCost()
H A DWebAssemblyTargetTransformInfo.h65 InstructionCost getArithmeticInstrCost(
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp272 InstructionCost HexagonTTIImpl::getArithmeticInstrCost( in getArithmeticInstrCost() function in HexagonTTIImpl
278 return BaseT::getArithmeticInstrCost(Opcode, Ty, CostKind, Op1Info, in getArithmeticInstrCost()
288 return BaseT::getArithmeticInstrCost(Opcode, Ty, CostKind, Op1Info, Op2Info, in getArithmeticInstrCost()
H A DHexagonTargetTransformInfo.h145 InstructionCost getArithmeticInstrCost(
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXTargetTransformInfo.cpp513 InstructionCost NVPTXTTIImpl::getArithmeticInstrCost( in getArithmeticInstrCost() function in NVPTXTTIImpl
524 return BaseT::getArithmeticInstrCost(Opcode, Ty, CostKind, Op1Info, in getArithmeticInstrCost()
537 return BaseT::getArithmeticInstrCost(Opcode, Ty, CostKind, Op1Info, in getArithmeticInstrCost()
H A DNVPTXTargetTransformInfo.h106 InstructionCost getArithmeticInstrCost(
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.h95 InstructionCost getArithmeticInstrCost(
H A DSystemZTargetTransformInfo.cpp542 InstructionCost SystemZTTIImpl::getArithmeticInstrCost( in getArithmeticInstrCost() function in SystemZTTIImpl
549 return BaseT::getArithmeticInstrCost(Opcode, Ty, CostKind, Op1Info, in getArithmeticInstrCost()
690 getArithmeticInstrCost(Opcode, Ty->getScalarType(), CostKind); in getArithmeticInstrCost()
723 return BaseT::getArithmeticInstrCost(Opcode, Ty, CostKind, Op1Info, Op2Info, in getArithmeticInstrCost()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h107 InstructionCost getArithmeticInstrCost(
H A DPPCTargetTransformInfo.cpp585 InstructionCost PPCTTIImpl::getArithmeticInstrCost( in getArithmeticInstrCost() function in PPCTTIImpl
597 return BaseT::getArithmeticInstrCost(Opcode, Ty, CostKind, Op1Info, in getArithmeticInstrCost()
601 InstructionCost Cost = BaseT::getArithmeticInstrCost( in getArithmeticInstrCost()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp655 getArithmeticInstrCost(Instruction::Add, LegalVTy, CostKind); in getIntrinsicInstrCost()
3938 InstructionCost AArch64TTIImpl::getArithmeticInstrCost( in getArithmeticInstrCost() function in AArch64TTIImpl
3953 return BaseT::getArithmeticInstrCost(Opcode, Ty, CostKind, Op1Info, in getArithmeticInstrCost()
3962 return BaseT::getArithmeticInstrCost(Opcode, Ty, CostKind, Op1Info, in getArithmeticInstrCost()
4009 getArithmeticInstrCost(Instruction::Add, Ty, CostKind, in getArithmeticInstrCost()
4012 getArithmeticInstrCost(Instruction::AShr, Ty, CostKind, in getArithmeticInstrCost()
4015 getArithmeticInstrCost(Instruction::Mul, Ty, CostKind, in getArithmeticInstrCost()
4050 getArithmeticInstrCost(Opcode, Ty->getScalarType(), CostKind, in getArithmeticInstrCost()
4074 NElts * getArithmeticInstrCost(Opcode, Ty->getScalarType(), in getArithmeticInstrCost()
4085 return getArithmeticInstrCost(Instruction::LShr, Ty, CostKind, in getArithmeticInstrCost()
[all …]
H A DAArch64TargetTransformInfo.h234 InstructionCost getArithmeticInstrCost(
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp246 InstructionCost X86TTIImpl::getArithmeticInstrCost( in getArithmeticInstrCost() function in X86TTIImpl
263 getArithmeticInstrCost(Opcode, WideVecTy, CostKind, Op1Info, Op2Info); in getArithmeticInstrCost()
330 getArithmeticInstrCost(Instruction::Shl, Ty, CostKind, in getArithmeticInstrCost()
333 Cost += getArithmeticInstrCost(Instruction::Sub, Ty, CostKind); in getArithmeticInstrCost()
344 2 * getArithmeticInstrCost(Instruction::AShr, Ty, CostKind, in getArithmeticInstrCost()
346 Cost += getArithmeticInstrCost(Instruction::LShr, Ty, CostKind, in getArithmeticInstrCost()
348 Cost += getArithmeticInstrCost(Instruction::Add, Ty, CostKind, in getArithmeticInstrCost()
353 Cost += getArithmeticInstrCost(Instruction::Mul, Ty, CostKind, Op1Info.getNoProps(), in getArithmeticInstrCost()
355 Cost += getArithmeticInstrCost(Instruction::Sub, Ty, CostKind, Op1Info.getNoProps(), in getArithmeticInstrCost()
366 return getArithmeticInstrCost(Instruction::LShr, Ty, CostKind, in getArithmeticInstrCost()
[all …]
H A DX86TargetTransformInfo.h140 InstructionCost getArithmeticInstrCost(
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp1356 InstructionCost ARMTTIImpl::getArithmeticInstrCost( in getArithmeticInstrCost() function in ARMTTIImpl
1425 InstructionCost Cost = BaseT::getArithmeticInstrCost( in getArithmeticInstrCost()
1542 getArithmeticInstrCost(Opcode, Ty->getScalarType(), CostKind); in getArithmeticInstrCost()
1786 VecCost += getArithmeticInstrCost(Opcode, VecTy, CostKind); in getArithmeticReductionCost()
1802 getArithmeticInstrCost(Opcode, ValTy->getElementType(), CostKind); in getArithmeticReductionCost()
1813 VecCost += getArithmeticInstrCost(Opcode, VecTy, CostKind); in getArithmeticReductionCost()
1822 getArithmeticInstrCost(Opcode, VecTy, CostKind); in getArithmeticReductionCost()
1829 (NumElts - 1) * getArithmeticInstrCost( in getArithmeticReductionCost()
2004 return getArithmeticInstrCost(IsAdd ? Instruction::Add : Instruction::Sub, in getIntrinsicInstrCost()
H A DARMTargetTransformInfo.h263 InstructionCost getArithmeticInstrCost(
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h665 virtual InstructionCost getArithmeticInstrCost(
1339 Cost += static_cast<const T *>(this)->getArithmeticInstrCost( in getPointersChainCost()
1434 return TargetTTI->getArithmeticInstrCost(Opcode, Ty, CostKind, Op1Info, in getInstructionCost()
1496 return TargetTTI->getArithmeticInstrCost( in getInstructionCost()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.h157 InstructionCost getArithmeticInstrCost(
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp2356 InstructionCost RISCVTTIImpl::getArithmeticInstrCost( in getArithmeticInstrCost() function in RISCVTTIImpl
2363 return BaseT::getArithmeticInstrCost(Opcode, Ty, CostKind, Op1Info, Op2Info, in getArithmeticInstrCost()
2367 return BaseT::getArithmeticInstrCost(Opcode, Ty, CostKind, Op1Info, Op2Info, in getArithmeticInstrCost()
2372 return BaseT::getArithmeticInstrCost(Opcode, Ty, CostKind, Op1Info, Op2Info, in getArithmeticInstrCost()
2380 return BaseT::getArithmeticInstrCost(Opcode, Ty, CostKind, Op1Info, Op2Info, in getArithmeticInstrCost()
2472 BaseT::getArithmeticInstrCost(Opcode, Ty, CostKind, Op1Info, Op2Info, in getArithmeticInstrCost()
2521 Cost += getArithmeticInstrCost(Instruction::Add, GEP->getType(), CostKind, in getPointersChainCost()
H A DRISCVTargetTransformInfo.h243 InstructionCost getArithmeticInstrCost(

12