Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Bitcode/
H A DBitcodeConvenience.h196 std::forward<DataTy>(data)...); in emit()
199 template <typename T, typename ElementDataTy, typename... DataTy>
201 DataTy &&...data) { in read()
205 std::forward<DataTy>(data)...); in read()
208 template <typename T, typename... DataTy>
225 template <typename BufferTy, typename DataTy>
227 unsigned code, const DataTy &data) { in emit()
235 template <typename T, typename DataTy>
236 static void read(ArrayRef<T> buffer, DataTy &data) { in read()
319 template <typename T, typename DataTy>
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSjLjEHPrepare.cpp42 IntegerType *DataTy = nullptr; member in __anonc13b75eb0111::SjLjEHPrepareImpl
114 DataTy = Type::getIntNTy(M.getContext(), DataBits); in doInitialization()
115 doubleUnderDataTy = ArrayType::get(DataTy, 4); in doInitialization()
118 DataTy, // call_site in doInitialization()
142 ConstantInt *CallSiteNoC = ConstantInt::get(DataTy, Number); in insertCallSiteStore()
221 Value *ExnVal = Builder.CreateLoad(DataTy, ExceptionAddr, true, "exn_val"); in setupFunctionContext()
227 Builder.CreateLoad(DataTy, SelectorAddr, true, "exn_selector_val"); in setupFunctionContext()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.h187 bool isLegalMaskedLoad(Type *DataTy, Align Alignment);
189 bool isLegalMaskedStore(Type *DataTy, Align Alignment) { in isLegalMaskedStore() argument
190 return isLegalMaskedLoad(DataTy, Alignment); in isLegalMaskedStore()
276 InstructionCost getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
H A DARMTargetTransformInfo.cpp1103 bool ARMTTIImpl::isLegalMaskedLoad(Type *DataTy, Align Alignment) { in isLegalMaskedLoad() argument
1107 if (auto *VecTy = dyn_cast<FixedVectorType>(DataTy)) { in isLegalMaskedLoad()
1113 unsigned VecWidth = DataTy->getPrimitiveSizeInBits(); in isLegalMaskedLoad()
1118 unsigned EltWidth = DataTy->getScalarSizeInBits(); in isLegalMaskedLoad()
1566 unsigned Opcode, Type *DataTy, const Value *Ptr, bool VariableMask, in getGatherScatterOpCost() argument
1570 return BaseT::getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask, in getGatherScatterOpCost()
1573 assert(DataTy->isVectorTy() && "Can't do gather/scatters on scalar!"); in getGatherScatterOpCost()
1574 auto *VTy = cast<FixedVectorType>(DataTy); in getGatherScatterOpCost()
1580 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(DataTy); in getGatherScatterOpCost()
H A DARMISelDAGToDAG.cpp2806 EVT DataTy = EVT::getVectorVT(*CurDAG->getContext(), MVT::i64, NumVecs * 2); in SelectMVE_VLD() local
2807 SmallVector<EVT, 4> ResultTys = {DataTy, MVT::Other}; in SelectMVE_VLD()
2811 CurDAG->getMachineNode(TargetOpcode::IMPLICIT_DEF, Loc, DataTy), 0); in SelectMVE_VLD()
2824 ResultTys = {DataTy, MVT::i32, MVT::Other}; in SelectMVE_VLD()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h181 InstructionCost getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
296 InstructionCost getGSScalarCost(unsigned Opcode, Type *DataTy,
299 InstructionCost getGSVectorCost(unsigned Opcode, Type *DataTy,
H A DX86TargetTransformInfo.cpp5862 if (isa<VectorType>(DataTy) && in isLegalMaskedLoad()
5863 cast<FixedVectorType>(DataTy)->getNumElements() == 1) in isLegalMaskedLoad()
5865 Type *ScalarTy = DataTy->getScalarType(); in isLegalMaskedLoad()
5934 bool X86TTIImpl::isLegalMaskedExpandLoad(Type *DataTy) { in isLegalMaskedExpandLoad() argument
5935 if (!isa<VectorType>(DataTy)) in isLegalMaskedExpandLoad()
5942 if (cast<FixedVectorType>(DataTy)->getNumElements() == 1) in isLegalMaskedExpandLoad()
5945 Type *ScalarTy = cast<VectorType>(DataTy)->getElementType(); in isLegalMaskedExpandLoad()
5958 bool X86TTIImpl::isLegalMaskedCompressStore(Type *DataTy) { in isLegalMaskedCompressStore() argument
5959 return isLegalMaskedExpandLoad(DataTy); in isLegalMaskedCompressStore()
5982 Type *ScalarTy = DataTy->getScalarType(); in isLegalMaskedGatherScatter()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp601 Type *DataTy = Val->getType(); in CreateMaskedStore() local
602 assert(DataTy->isVectorTy() && "Val should be a vector"); in CreateMaskedStore()
604 Type *OverloadedTypes[] = { DataTy, PtrTy }; in CreateMaskedStore()
664 auto *DataTy = cast<VectorType>(Data->getType()); in CreateMaskedScatter() local
670 Type *OverloadedTypes[] = {DataTy, PtrsTy}; in CreateMaskedScatter()
706 Type *DataTy = Val->getType(); in CreateMaskedCompressStore() local
707 assert(DataTy->isVectorTy() && "Val should be a vector"); in CreateMaskedCompressStore()
709 Type *OverloadedTypes[] = {DataTy}; in CreateMaskedCompressStore()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp636 unsigned Opcode, Type *DataTy, const Value *Ptr, bool VariableMask, in getGatherScatterOpCost() argument
639 return BaseT::getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask, in getGatherScatterOpCost()
643 !isLegalMaskedGather(DataTy, Align(Alignment))) || in getGatherScatterOpCost()
645 !isLegalMaskedScatter(DataTy, Align(Alignment)))) in getGatherScatterOpCost()
646 return BaseT::getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask, in getGatherScatterOpCost()
652 auto &VTy = *cast<VectorType>(DataTy); in getGatherScatterOpCost()
H A DRISCVTargetTransformInfo.h140 InstructionCost getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp252 unsigned Opcode, Type *DataTy, const Value *Ptr, bool VariableMask, in getGatherScatterOpCost() argument
254 return BaseT::getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask, in getGatherScatterOpCost()
H A DHexagonTargetTransformInfo.h134 InstructionCost getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h207 InstructionCost getCommonMaskedMemoryOpCost(unsigned Opcode, Type *DataTy, in getCommonMaskedMemoryOpCost() argument
213 if (isa<ScalableVectorType>(DataTy)) in getCommonMaskedMemoryOpCost()
216 auto *VT = cast<FixedVectorType>(DataTy); in getCommonMaskedMemoryOpCost()
251 FixedVectorType::get(Type::getInt1Ty(DataTy->getContext()), in getCommonMaskedMemoryOpCost()
1362 InstructionCost getMaskedMemoryOpCost(unsigned Opcode, Type *DataTy, in getMaskedMemoryOpCost() argument
1365 return getCommonMaskedMemoryOpCost(Opcode, DataTy, Alignment, true, false, in getMaskedMemoryOpCost()
1369 InstructionCost getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
1374 return getCommonMaskedMemoryOpCost(Opcode, DataTy, Alignment, VariableMask,
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h166 InstructionCost getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
H A DAArch64TargetTransformInfo.cpp3104 unsigned Opcode, Type *DataTy, const Value *Ptr, bool VariableMask, in getGatherScatterOpCost() argument
3106 if (useNeonVector(DataTy) || !isLegalMaskedGatherScatter(DataTy)) in getGatherScatterOpCost()
3107 return BaseT::getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask, in getGatherScatterOpCost()
3109 auto *VT = cast<VectorType>(DataTy); in getGatherScatterOpCost()
3110 auto LT = getTypeLegalizationCost(DataTy); in getGatherScatterOpCost()
3122 if (cast<VectorType>(DataTy)->getElementCount() == in getGatherScatterOpCost()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp1474 auto *DataTy = StructType::get(Ctx, ArrayRef(DataTypes)); in createDataVariable() local
1500 new GlobalVariable(M, DataTy, false, Linkage, nullptr, DataVarName); in createDataVariable()
1529 Data->setInitializer(ConstantStruct::get(DataTy, DataVals)); in createDataVariable()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h1411 unsigned Opcode, Type *DataTy, const Value *Ptr, bool VariableMask,
2022 getGatherScatterOpCost(unsigned Opcode, Type *DataTy, const Value *Ptr,
2667 getGatherScatterOpCost(unsigned Opcode, Type *DataTy, const Value *Ptr,
2671 return Impl.getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask,
H A DTargetTransformInfoImpl.h682 InstructionCost getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp1036 unsigned Opcode, Type *DataTy, const Value *Ptr, bool VariableMask, in getGatherScatterOpCost() argument
1039 Opcode, DataTy, Ptr, VariableMask, Alignment, CostKind, I); in getGatherScatterOpCost()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp9480 auto *DataTy = VectorType::get(ScalarDataTy, State.VF); in execute() local
9538 NewLI = Builder.CreateMaskedGather(DataTy, VectorGep, Alignment, MaskPart, in execute()
9545 DataTy, VecPtr, Alignment, BlockInMaskParts[Part], in execute()
9546 PoisonValue::get(DataTy), "wide.masked.load"); in execute()
9549 Builder.CreateAlignedLoad(DataTy, VecPtr, Alignment, "wide.load"); in execute()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp3064 LLT DataTy = MRI.getType(DataReg); in legalizeStore() local
3066 if (hasBufferRsrcWorkaround(DataTy)) { in legalizeStore()
H A DSIISelLowering.cpp1216 Type *DataTy = CI.getArgOperand(0)->getType(); in getTgtMemIntrinsic() local
1220 Info.memVT = memVTFromLoadIntrData(DataTy, DMaskLanes); in getTgtMemIntrinsic()
1222 Info.memVT = EVT::getEVT(DataTy); in getTgtMemIntrinsic()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp11006 llvm::Type *DataTy = F->getFunctionType()->getParamType(1); in EmitAArch64BuiltinExpr() local
11007 Arg1 = Builder.CreateZExtOrBitCast(Arg1, DataTy); in EmitAArch64BuiltinExpr()