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()
219 Value *ExnVal = Builder.CreateLoad(DataTy, ExceptionAddr, true, "exn_val"); in setupFunctionContext()
225 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()
277 InstructionCost getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
H A DARMTargetTransformInfo.cpp1107 bool ARMTTIImpl::isLegalMaskedLoad(Type *DataTy, Align Alignment) { in isLegalMaskedLoad() argument
1111 if (auto *VecTy = dyn_cast<FixedVectorType>(DataTy)) { in isLegalMaskedLoad()
1117 unsigned VecWidth = DataTy->getPrimitiveSizeInBits(); in isLegalMaskedLoad()
1122 unsigned EltWidth = DataTy->getScalarSizeInBits(); in isLegalMaskedLoad()
1578 unsigned Opcode, Type *DataTy, const Value *Ptr, bool VariableMask, in getGatherScatterOpCost() argument
1582 return BaseT::getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask, in getGatherScatterOpCost()
1585 assert(DataTy->isVectorTy() && "Can't do gather/scatters on scalar!"); in getGatherScatterOpCost()
1586 auto *VTy = cast<FixedVectorType>(DataTy); in getGatherScatterOpCost()
1592 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(DataTy); in getGatherScatterOpCost()
H A DARMISelDAGToDAG.cpp2812 EVT DataTy = EVT::getVectorVT(*CurDAG->getContext(), MVT::i64, NumVecs * 2); in SelectMVE_VLD() local
2813 SmallVector<EVT, 4> ResultTys = {DataTy, MVT::Other}; in SelectMVE_VLD()
2817 CurDAG->getMachineNode(TargetOpcode::IMPLICIT_DEF, Loc, DataTy), 0); in SelectMVE_VLD()
2830 ResultTys = {DataTy, MVT::i32, MVT::Other}; in SelectMVE_VLD()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp714 unsigned Opcode, Type *DataTy, const Value *Ptr, bool VariableMask, in getGatherScatterOpCost() argument
717 return BaseT::getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask, in getGatherScatterOpCost()
721 !isLegalMaskedGather(DataTy, Align(Alignment))) || in getGatherScatterOpCost()
723 !isLegalMaskedScatter(DataTy, Align(Alignment)))) in getGatherScatterOpCost()
724 return BaseT::getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask, in getGatherScatterOpCost()
730 auto &VTy = *cast<VectorType>(DataTy); in getGatherScatterOpCost()
739 unsigned Opcode, Type *DataTy, const Value *Ptr, bool VariableMask, in getStridedMemoryOpCost() argument
742 !isLegalStridedLoadStore(DataTy, Alignment)) || in getStridedMemoryOpCost()
753 auto &VTy = *cast<VectorType>(DataTy); in getStridedMemoryOpCost()
1949 auto *VTy = dyn_cast<VectorType>(DataTy); in isLegalMaskedCompressStore()
[all …]
H A DRISCVTargetTransformInfo.h160 InstructionCost getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
166 InstructionCost getStridedMemoryOpCost(unsigned Opcode, Type *DataTy,
284 bool isLegalMaskedCompressStore(Type *DataTy, Align Alignment);
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp602 Type *DataTy = Val->getType(); in CreateMaskedStore() local
603 assert(DataTy->isVectorTy() && "Val should be a vector"); in CreateMaskedStore()
605 Type *OverloadedTypes[] = { DataTy, PtrTy }; in CreateMaskedStore()
665 auto *DataTy = cast<VectorType>(Data->getType()); in CreateMaskedScatter() local
671 Type *OverloadedTypes[] = {DataTy, PtrsTy}; in CreateMaskedScatter()
707 Type *DataTy = Val->getType(); in CreateMaskedCompressStore() local
708 assert(DataTy->isVectorTy() && "Val should be a vector"); in CreateMaskedCompressStore()
710 Type *OverloadedTypes[] = {DataTy}; in CreateMaskedCompressStore()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h184 InstructionCost getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
302 Type *DataTy, const Value *Ptr,
H A DX86TargetTransformInfo.cpp5929 bool X86TTIImpl::isLegalMaskedLoad(Type *DataTy, Align Alignment) { in isLegalMaskedLoad() argument
5930 Type *ScalarTy = DataTy->getScalarType(); in isLegalMaskedLoad()
5933 if (isa<VectorType>(DataTy) && cast<FixedVectorType>(DataTy)->getNumElements() == 1) in isLegalMaskedLoad()
6006 bool X86TTIImpl::isLegalMaskedExpandLoad(Type *DataTy, Align Alignment) { in isLegalMaskedExpandLoad() argument
6007 if (!isa<VectorType>(DataTy)) in isLegalMaskedExpandLoad()
6014 if (cast<FixedVectorType>(DataTy)->getNumElements() == 1) in isLegalMaskedExpandLoad()
6017 Type *ScalarTy = cast<VectorType>(DataTy)->getElementType(); in isLegalMaskedExpandLoad()
6031 return isLegalMaskedExpandLoad(DataTy, Alignment); in isLegalMaskedCompressStore()
6054 Type *ScalarTy = DataTy->getScalarType(); in isLegalMaskedGatherScatter()
6068 bool X86TTIImpl::isLegalMaskedGather(Type *DataTy, Align Alignment) { in isLegalMaskedGather() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp239 unsigned Opcode, Type *DataTy, const Value *Ptr, bool VariableMask, in getGatherScatterOpCost() argument
241 return BaseT::getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask, in getGatherScatterOpCost()
H A DHexagonTargetTransformInfo.h127 InstructionCost getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h209 InstructionCost getCommonMaskedMemoryOpCost(unsigned Opcode, Type *DataTy,
216 if (isa<ScalableVectorType>(DataTy))
219 auto *VT = cast<FixedVectorType>(DataTy);
254 FixedVectorType::get(Type::getInt1Ty(DataTy->getContext()), VF),
1376 InstructionCost getMaskedMemoryOpCost(unsigned Opcode, Type *DataTy, in getMaskedMemoryOpCost() argument
1380 return getCommonMaskedMemoryOpCost(Opcode, DataTy, Alignment, true, false, in getMaskedMemoryOpCost()
1384 InstructionCost getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
1389 return getCommonMaskedMemoryOpCost(Opcode, DataTy, Alignment, VariableMask,
1393 InstructionCost getStridedMemoryOpCost(unsigned Opcode, Type *DataTy, in getStridedMemoryOpCost() argument
1401 return thisT()->getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask, in getStridedMemoryOpCost()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h1447 unsigned Opcode, Type *DataTy, const Value *Ptr, bool VariableMask,
1461 unsigned Opcode, Type *DataTy, const Value *Ptr, bool VariableMask,
2090 getGatherScatterOpCost(unsigned Opcode, Type *DataTy, const Value *Ptr,
2095 getStridedMemoryOpCost(unsigned Opcode, Type *DataTy, const Value *Ptr,
2763 getGatherScatterOpCost(unsigned Opcode, Type *DataTy, const Value *Ptr,
2767 return Impl.getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask,
2771 getStridedMemoryOpCost(unsigned Opcode, Type *DataTy, const Value *Ptr,
2775 return Impl.getStridedMemoryOpCost(Opcode, DataTy, Ptr, VariableMask,
H A DTargetTransformInfoImpl.h705 InstructionCost getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
713 InstructionCost getStridedMemoryOpCost(unsigned Opcode, Type *DataTy,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp1543 auto *DataTy = StructType::get(Ctx, ArrayRef(DataTypes)); in getOrCreateVTableProfData() local
1560 new GlobalVariable(M, DataTy, /*constant=*/false, Linkage, in getOrCreateVTableProfData()
1561 ConstantStruct::get(DataTy, DataVals), in getOrCreateVTableProfData()
1813 auto *DataTy = StructType::get(Ctx, ArrayRef(DataTypes)); in createDataVariable() local
1839 new GlobalVariable(M, DataTy, false, Linkage, nullptr, DataVarName); in createDataVariable()
1868 Data->setInitializer(ConstantStruct::get(DataTy, DataVals)); in createDataVariable()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp1081 unsigned Opcode, Type *DataTy, const Value *Ptr, bool VariableMask, in getGatherScatterOpCost() argument
1084 Opcode, DataTy, Ptr, VariableMask, Alignment, CostKind, I); in getGatherScatterOpCost()
1091 unsigned Opcode, Type *DataTy, const Value *Ptr, bool VariableMask, in getStridedMemoryOpCost() argument
1094 Opcode, DataTy, Ptr, VariableMask, Alignment, CostKind, I); in getStridedMemoryOpCost()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h166 InstructionCost getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
H A DAArch64TargetTransformInfo.cpp3373 unsigned Opcode, Type *DataTy, const Value *Ptr, bool VariableMask, in getGatherScatterOpCost() argument
3375 if (useNeonVector(DataTy) || !isLegalMaskedGatherScatter(DataTy)) in getGatherScatterOpCost()
3376 return BaseT::getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask, in getGatherScatterOpCost()
3378 auto *VT = cast<VectorType>(DataTy); in getGatherScatterOpCost()
3379 auto LT = getTypeLegalizationCost(DataTy); in getGatherScatterOpCost()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp9203 auto *DataTy = VectorType::get(ScalarDataTy, State.VF); in execute() local
9222 NewLI = Builder.CreateMaskedGather(DataTy, Addr, Alignment, Mask, nullptr, in execute()
9225 NewLI = Builder.CreateMaskedLoad(DataTy, Addr, Alignment, Mask, in execute()
9226 PoisonValue::get(DataTy), in execute()
9229 NewLI = Builder.CreateAlignedLoad(DataTy, Addr, Alignment, "wide.load"); in execute()
9256 auto *DataTy = VectorType::get(ScalarDataTy, State.VF); in execute() local
9276 Builder.CreateIntrinsic(DataTy, Intrinsic::vp_gather, {Addr, Mask, EVL}, in execute()
9282 Instruction::Load, DataTy, Addr, "vp.op.load")); in execute()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp3160 LLT DataTy = MRI.getType(DataReg); in legalizeStore() local
3162 if (hasBufferRsrcWorkaround(DataTy)) { in legalizeStore()
H A DSIISelLowering.cpp1242 Type *DataTy = CI.getArgOperand(0)->getType(); in getTgtMemIntrinsic() local
1246 Info.memVT = memVTFromLoadIntrData(*this, MF.getDataLayout(), DataTy, in getTgtMemIntrinsic()
1249 Info.memVT = getValueType(MF.getDataLayout(), DataTy); in getTgtMemIntrinsic()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp11280 llvm::Type *DataTy = F->getFunctionType()->getParamType(1); in EmitAArch64BuiltinExpr() local
11281 Arg1 = Builder.CreateZExtOrBitCast(Arg1, DataTy); in EmitAArch64BuiltinExpr()