Home
last modified time | relevance | path

Searched refs:DataTy (Results 1 – 22 of 22) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp134 unsigned Opcode, Type *DataTy, const Value *Ptr, bool VariableMask, in getGatherScatterOpCost() argument
137 return BaseT::getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask, in getGatherScatterOpCost()
141 !isLegalMaskedGather(DataTy, Align(Alignment))) || in getGatherScatterOpCost()
143 !isLegalMaskedScatter(DataTy, Align(Alignment)))) in getGatherScatterOpCost()
144 return BaseT::getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask, in getGatherScatterOpCost()
148 if (!isa<FixedVectorType>(DataTy)) in getGatherScatterOpCost()
149 return BaseT::getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask, in getGatherScatterOpCost()
152 auto *VTy = cast<FixedVectorType>(DataTy); in getGatherScatterOpCost()
H A DRISCVTargetTransformInfo.h75 InstructionCost getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Bitcode/
H A DBitcodeConvenience.h195 std::forward<DataTy>(data)...); in emit()
198 template <typename T, typename ElementDataTy, typename... DataTy>
200 DataTy &&...data) { in read()
204 std::forward<DataTy>(data)...); in read()
207 template <typename T, typename... DataTy>
224 template <typename BufferTy, typename DataTy>
226 unsigned code, const DataTy &data) { in emit()
234 template <typename T, typename DataTy>
235 static void read(ArrayRef<T> buffer, DataTy &data) { in read()
318 template <typename T, typename DataTy>
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DSjLjEHPrepare.cpp41 IntegerType *DataTy; member in __anon1dca2e570111::SjLjEHPrepare
96 DataTy = Type::getIntNTy(M.getContext(), DataBits); in doInitialization()
97 doubleUnderDataTy = ArrayType::get(DataTy, 4); in doInitialization()
100 DataTy, // call_site in doInitialization()
124 ConstantInt *CallSiteNoC = ConstantInt::get(DataTy, Number); in insertCallSiteStore()
202 Value *ExnVal = Builder.CreateLoad(DataTy, ExceptionAddr, true, "exn_val"); in setupFunctionContext()
208 Builder.CreateLoad(DataTy, SelectorAddr, true, "exn_selector_val"); in setupFunctionContext()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.h181 bool isLegalMaskedLoad(Type *DataTy, Align Alignment);
183 bool isLegalMaskedStore(Type *DataTy, Align Alignment) { in isLegalMaskedStore() argument
184 return isLegalMaskedLoad(DataTy, Alignment); in isLegalMaskedStore()
253 InstructionCost getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
H A DARMTargetTransformInfo.cpp1026 bool ARMTTIImpl::isLegalMaskedLoad(Type *DataTy, Align Alignment) { in isLegalMaskedLoad() argument
1030 if (auto *VecTy = dyn_cast<FixedVectorType>(DataTy)) { in isLegalMaskedLoad()
1036 unsigned VecWidth = DataTy->getPrimitiveSizeInBits(); in isLegalMaskedLoad()
1041 unsigned EltWidth = DataTy->getScalarSizeInBits(); in isLegalMaskedLoad()
1497 unsigned Opcode, Type *DataTy, const Value *Ptr, bool VariableMask, in getGatherScatterOpCost() argument
1501 return BaseT::getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask, in getGatherScatterOpCost()
1504 assert(DataTy->isVectorTy() && "Can't do gather/scatters on scalar!"); in getGatherScatterOpCost()
1505 auto *VTy = cast<FixedVectorType>(DataTy); in getGatherScatterOpCost()
1511 std::pair<InstructionCost, MVT> LT = TLI->getTypeLegalizationCost(DL, DataTy); in getGatherScatterOpCost()
H A DARMISelDAGToDAG.cpp2798 EVT DataTy = EVT::getVectorVT(*CurDAG->getContext(), MVT::i64, NumVecs * 2); in SelectMVE_VLD() local
2799 SmallVector<EVT, 4> ResultTys = {DataTy, MVT::Other}; in SelectMVE_VLD()
2803 CurDAG->getMachineNode(TargetOpcode::IMPLICIT_DEF, Loc, DataTy), 0); in SelectMVE_VLD()
2816 ResultTys = {DataTy, MVT::i32, MVT::Other}; in SelectMVE_VLD()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h155 InstructionCost getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
247 InstructionCost getGSScalarCost(unsigned Opcode, Type *DataTy,
250 InstructionCost getGSVectorCost(unsigned Opcode, Type *DataTy,
H A DX86TargetTransformInfo.cpp4682 if (isa<VectorType>(DataTy) && in isLegalMaskedLoad()
4683 cast<FixedVectorType>(DataTy)->getNumElements() == 1) in isLegalMaskedLoad()
4685 Type *ScalarTy = DataTy->getScalarType(); in isLegalMaskedLoad()
4740 bool X86TTIImpl::isLegalMaskedExpandLoad(Type *DataTy) { in isLegalMaskedExpandLoad() argument
4741 if (!isa<VectorType>(DataTy)) in isLegalMaskedExpandLoad()
4748 if (cast<FixedVectorType>(DataTy)->getNumElements() == 1) in isLegalMaskedExpandLoad()
4751 Type *ScalarTy = cast<VectorType>(DataTy)->getElementType(); in isLegalMaskedExpandLoad()
4764 bool X86TTIImpl::isLegalMaskedCompressStore(Type *DataTy) { in isLegalMaskedCompressStore() argument
4765 return isLegalMaskedExpandLoad(DataTy); in isLegalMaskedCompressStore()
4787 if (auto *DataVTy = dyn_cast<FixedVectorType>(DataTy)) { in isLegalMaskedGather()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp528 Type *DataTy = Val->getType(); in CreateMaskedStore() local
529 assert(DataTy->isVectorTy() && "Val should be a vector"); in CreateMaskedStore()
530 assert(PtrTy->isOpaqueOrPointeeTypeMatches(DataTy) && "Wrong element type"); in CreateMaskedStore()
532 Type *OverloadedTypes[] = { DataTy, PtrTy }; in CreateMaskedStore()
597 auto *DataTy = cast<VectorType>(Data->getType()); in CreateMaskedScatter() local
602 assert(NumElts == DataTy->getElementCount() && in CreateMaskedScatter()
603 PtrTy->isOpaqueOrPointeeTypeMatches(DataTy->getElementType()) && in CreateMaskedScatter()
611 Type *OverloadedTypes[] = {DataTy, PtrsTy}; in CreateMaskedScatter()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp230 unsigned Opcode, Type *DataTy, const Value *Ptr, bool VariableMask, in getGatherScatterOpCost() argument
232 return BaseT::getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask, in getGatherScatterOpCost()
H A DHexagonTargetTransformInfo.h129 InstructionCost getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h192 InstructionCost getCommonMaskedMemoryOpCost(unsigned Opcode, Type *DataTy, in getCommonMaskedMemoryOpCost() argument
197 auto *VT = cast<FixedVectorType>(DataTy); in getCommonMaskedMemoryOpCost()
231 FixedVectorType::get(Type::getInt1Ty(DataTy->getContext()), in getCommonMaskedMemoryOpCost()
1149 InstructionCost getMaskedMemoryOpCost(unsigned Opcode, Type *DataTy, in getMaskedMemoryOpCost() argument
1152 return getCommonMaskedMemoryOpCost(Opcode, DataTy, Alignment, true, false, in getMaskedMemoryOpCost()
1156 InstructionCost getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
1161 return getCommonMaskedMemoryOpCost(Opcode, DataTy, Alignment, VariableMask,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp929 auto *DataTy = StructType::get(Ctx, makeArrayRef(DataTypes)); in getOrCreateRegionCounters() local
956 new GlobalVariable(*M, DataTy, false, Linkage, in getOrCreateRegionCounters()
957 ConstantStruct::get(DataTy, DataVals), DataVarName); in getOrCreateRegionCounters()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h152 InstructionCost getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
H A DAArch64TargetTransformInfo.cpp1526 unsigned Opcode, Type *DataTy, const Value *Ptr, bool VariableMask, in getGatherScatterOpCost() argument
1529 if (!isa<ScalableVectorType>(DataTy)) in getGatherScatterOpCost()
1530 return BaseT::getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask, in getGatherScatterOpCost()
1532 auto *VT = cast<VectorType>(DataTy); in getGatherScatterOpCost()
1533 auto LT = TLI->getTypeLegalizationCost(DL, DataTy); in getGatherScatterOpCost()
1541 if (cast<VectorType>(DataTy)->getElementCount() == in getGatherScatterOpCost()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h1129 unsigned Opcode, Type *DataTy, const Value *Ptr, bool VariableMask,
1636 getGatherScatterOpCost(unsigned Opcode, Type *DataTy, const Value *Ptr,
2132 getGatherScatterOpCost(unsigned Opcode, Type *DataTy, const Value *Ptr,
2136 return Impl.getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask,
H A DTargetTransformInfoImpl.h555 InstructionCost getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp838 unsigned Opcode, Type *DataTy, const Value *Ptr, bool VariableMask, in getGatherScatterOpCost() argument
841 Opcode, DataTy, Ptr, VariableMask, Alignment, CostKind, I); in getGatherScatterOpCost()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp2907 auto *DataTy = VectorType::get(ScalarDataTy, VF); in vectorizeMemoryInstruction() local
2963 return Builder.CreateBitCast(PartPtr, DataTy->getPointerTo(AddressSpace)); in vectorizeMemoryInstruction()
3006 NewLI = Builder.CreateMaskedGather(DataTy, VectorGep, Alignment, MaskPart, in vectorizeMemoryInstruction()
3013 DataTy, VecPtr, Alignment, BlockInMaskParts[Part], in vectorizeMemoryInstruction()
3014 PoisonValue::get(DataTy), "wide.masked.load"); in vectorizeMemoryInstruction()
3017 Builder.CreateAlignedLoad(DataTy, VecPtr, Alignment, "wide.load"); in vectorizeMemoryInstruction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp1106 Type *DataTy = CI.getArgOperand(0)->getType(); in getTgtMemIntrinsic() local
1110 Info.memVT = memVTFromImageData(DataTy, DMaskLanes); in getTgtMemIntrinsic()
1112 Info.memVT = EVT::getEVT(DataTy); in getTgtMemIntrinsic()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp9573 llvm::Type *DataTy = F->getFunctionType()->getParamType(1); in EmitAArch64BuiltinExpr() local
9574 Arg1 = Builder.CreateZExtOrBitCast(Arg1, DataTy); in EmitAArch64BuiltinExpr()