• Home
  • Raw
  • Download

Lines Matching refs:SrcVTy

1131   VectorType *SrcVTy = dyn_cast<VectorType>(SrcTy);  in getMaskedMemoryOpCost()  local
1132 if (!SrcVTy) in getMaskedMemoryOpCost()
1136 unsigned NumElem = SrcVTy->getVectorNumElements(); in getMaskedMemoryOpCost()
1138 VectorType::get(Type::getInt8Ty(SrcVTy->getContext()), NumElem); in getMaskedMemoryOpCost()
1139 if ((Opcode == Instruction::Load && !isLegalMaskedLoad(SrcVTy)) || in getMaskedMemoryOpCost()
1140 (Opcode == Instruction::Store && !isLegalMaskedStore(SrcVTy)) || in getMaskedMemoryOpCost()
1145 Instruction::ICmp, Type::getInt8Ty(SrcVTy->getContext()), nullptr); in getMaskedMemoryOpCost()
1150 SrcVTy, Opcode == Instruction::Load, Opcode == Instruction::Store); in getMaskedMemoryOpCost()
1152 NumElem * BaseT::getMemoryOpCost(Opcode, SrcVTy->getScalarType(), in getMaskedMemoryOpCost()
1158 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, SrcVTy); in getMaskedMemoryOpCost()
1159 auto VT = TLI->getValueType(DL, SrcVTy); in getMaskedMemoryOpCost()
1164 Cost += getShuffleCost(TTI::SK_Alternate, SrcVTy, 0, nullptr) + in getMaskedMemoryOpCost()
1435 int X86TTIImpl::getGSVectorCost(unsigned Opcode, Type *SrcVTy, Value *Ptr, in getGSVectorCost() argument
1438 assert(isa<VectorType>(SrcVTy) && "Unexpected type in getGSVectorCost"); in getGSVectorCost()
1439 unsigned VF = SrcVTy->getVectorNumElements(); in getGSVectorCost()
1476 Type *IndexVTy = VectorType::get(IntegerType::get(SrcVTy->getContext(), in getGSVectorCost()
1479 std::pair<int, MVT> SrcLT = TLI->getTypeLegalizationCost(DL, SrcVTy); in getGSVectorCost()
1483 Type *SplitSrcTy = VectorType::get(SrcVTy->getScalarType(), VF / SplitFactor); in getGSVectorCost()
1491 return GSOverhead + VF * getMemoryOpCost(Opcode, SrcVTy->getScalarType(), in getGSVectorCost()
1503 int X86TTIImpl::getGSScalarCost(unsigned Opcode, Type *SrcVTy, in getGSScalarCost() argument
1506 unsigned VF = SrcVTy->getVectorNumElements(); in getGSScalarCost()
1511 VectorType::get(Type::getInt1Ty(SrcVTy->getContext()), VF); in getGSScalarCost()
1514 getCmpSelInstrCost(Instruction::ICmp, Type::getInt1Ty(SrcVTy->getContext()), in getGSScalarCost()
1521 int MemoryOpCost = VF * getMemoryOpCost(Opcode, SrcVTy->getScalarType(), in getGSScalarCost()
1529 getVectorInstrCost(Instruction::InsertElement, SrcVTy, i); in getGSScalarCost()
1534 getVectorInstrCost(Instruction::ExtractElement, SrcVTy, i); in getGSScalarCost()
1540 int X86TTIImpl::getGatherScatterOpCost(unsigned Opcode, Type *SrcVTy, in getGatherScatterOpCost() argument
1543 assert(SrcVTy->isVectorTy() && "Unexpected data type for Gather/Scatter"); in getGatherScatterOpCost()
1544 unsigned VF = SrcVTy->getVectorNumElements(); in getGatherScatterOpCost()
1552 if ((Opcode == Instruction::Load && !isLegalMaskedGather(SrcVTy)) || in getGatherScatterOpCost()
1553 (Opcode == Instruction::Store && !isLegalMaskedScatter(SrcVTy))) in getGatherScatterOpCost()
1565 return getGSScalarCost(Opcode, SrcVTy, VariableMask, Alignment, AddressSpace); in getGatherScatterOpCost()
1567 return getGSVectorCost(Opcode, SrcVTy, Ptr, Alignment, AddressSpace); in getGatherScatterOpCost()