Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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,
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Bitcode/
H A DBitcodeConvenience.h187 template <typename BufferTy, typename ElementDataTy, typename... DataTy>
189 unsigned code, ElementDataTy element, DataTy &&...data) { in emit()
195 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>
208 static void read(ArrayRef<T> buffer, NoneType, DataTy &&...data) { in read()
211 std::forward<DataTy>(data)...); in read()
224 template <typename BufferTy, typename DataTy>
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DSjLjEHPrepare.cpp41 IntegerType *DataTy; member in __anon3664934e0111::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()
/netbsd-src/external/apache2/llvm/dist/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.cpp1021 bool ARMTTIImpl::isLegalMaskedLoad(Type *DataTy, Align Alignment) { in isLegalMaskedLoad() argument
1025 if (auto *VecTy = dyn_cast<FixedVectorType>(DataTy)) { in isLegalMaskedLoad()
1031 unsigned VecWidth = DataTy->getPrimitiveSizeInBits(); in isLegalMaskedLoad()
1036 unsigned EltWidth = DataTy->getScalarSizeInBits(); in isLegalMaskedLoad()
1492 unsigned Opcode, Type *DataTy, const Value *Ptr, bool VariableMask, in getGatherScatterOpCost() argument
1496 return BaseT::getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask, in getGatherScatterOpCost()
1499 assert(DataTy->isVectorTy() && "Can't do gather/scatters on scalar!"); in getGatherScatterOpCost()
1500 auto *VTy = cast<FixedVectorType>(DataTy); in getGatherScatterOpCost()
1506 std::pair<InstructionCost, MVT> LT = TLI->getTypeLegalizationCost(DL, DataTy); in getGatherScatterOpCost()
H A DARMISelDAGToDAG.cpp2770 EVT DataTy = EVT::getVectorVT(*CurDAG->getContext(), MVT::i64, NumVecs * 2); in SelectMVE_VLD() local
2771 SmallVector<EVT, 4> ResultTys = {DataTy, MVT::Other}; in SelectMVE_VLD()
2775 CurDAG->getMachineNode(TargetOpcode::IMPLICIT_DEF, Loc, DataTy), 0); in SelectMVE_VLD()
2788 ResultTys = {DataTy, MVT::i32, MVT::Other}; in SelectMVE_VLD()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DIRBuilder.cpp493 Type *DataTy = PtrTy->getElementType(); in CreateMaskedLoad() local
494 assert(DataTy->isVectorTy() && "Ptr should point to a vector"); in CreateMaskedLoad()
497 PassThru = UndefValue::get(DataTy); in CreateMaskedLoad()
498 Type *OverloadedTypes[] = { DataTy, PtrTy }; in CreateMaskedLoad()
513 Type *DataTy = PtrTy->getElementType(); in CreateMaskedStore() local
514 assert(DataTy->isVectorTy() && "Ptr should point to a vector"); in CreateMaskedStore()
516 Type *OverloadedTypes[] = { DataTy, PtrTy }; in CreateMaskedStore()
547 auto *DataTy = VectorType::get(PtrTy->getElementType(), NumElts); in CreateMaskedGather() local
554 PassThru = UndefValue::get(DataTy); in CreateMaskedGather()
556 Type *OverloadedTypes[] = {DataTy, PtrsTy}; in CreateMaskedGather()
[all …]
H A DVerifier.cpp5026 Type *DataTy = cast<PointerType>(Ptr->getType())->getElementType(); in visitIntrinsicCall() local
5027 Assert(DataTy == Call.getType(), in visitIntrinsicCall()
5029 Assert(PassThru->getType() == DataTy, in visitIntrinsicCall()
5032 cast<VectorType>(DataTy)->getElementCount(), in visitIntrinsicCall()
5047 Type *DataTy = cast<PointerType>(Ptr->getType())->getElementType(); in visitIntrinsicCall() local
5048 Assert(DataTy == Val->getType(), in visitIntrinsicCall()
5051 cast<VectorType>(DataTy)->getElementCount(), in visitIntrinsicCall()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h154 InstructionCost getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
246 InstructionCost getGSScalarCost(unsigned Opcode, Type *DataTy,
249 InstructionCost getGSVectorCost(unsigned Opcode, Type *DataTy,
H A DX86TargetTransformInfo.cpp4474 bool X86TTIImpl::isLegalMaskedLoad(Type *DataTy, Align Alignment) { in isLegalMaskedLoad() argument
4479 if (isa<VectorType>(DataTy) && in isLegalMaskedLoad()
4480 cast<FixedVectorType>(DataTy)->getNumElements() == 1) in isLegalMaskedLoad()
4482 Type *ScalarTy = DataTy->getScalarType(); in isLegalMaskedLoad()
4537 bool X86TTIImpl::isLegalMaskedExpandLoad(Type *DataTy) { in isLegalMaskedExpandLoad() argument
4538 if (!isa<VectorType>(DataTy)) in isLegalMaskedExpandLoad()
4545 if (cast<FixedVectorType>(DataTy)->getNumElements() == 1) in isLegalMaskedExpandLoad()
4548 Type *ScalarTy = cast<VectorType>(DataTy)->getElementType(); in isLegalMaskedExpandLoad()
4561 bool X86TTIImpl::isLegalMaskedCompressStore(Type *DataTy) { in isLegalMaskedCompressStore() argument
4562 return isLegalMaskedExpandLoad(DataTy); in isLegalMaskedCompressStore()
[all …]
/netbsd-src/external/apache2/llvm/dist/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,
/netbsd-src/external/apache2/llvm/dist/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()
1118 InstructionCost getMaskedMemoryOpCost(unsigned Opcode, Type *DataTy, in getMaskedMemoryOpCost() argument
1121 return getCommonMaskedMemoryOpCost(Opcode, DataTy, Alignment, true, false, in getMaskedMemoryOpCost()
1125 InstructionCost getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
1130 return getCommonMaskedMemoryOpCost(Opcode, DataTy, Alignment, VariableMask,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp916 auto *DataTy = StructType::get(Ctx, makeArrayRef(DataTypes)); in getOrCreateRegionCounters() local
931 new GlobalVariable(*M, DataTy, false, Linkage, in getOrCreateRegionCounters()
932 ConstantStruct::get(DataTy, DataVals), DataVarName); in getOrCreateRegionCounters()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp1187 unsigned Opcode, Type *DataTy, const Value *Ptr, bool VariableMask, in getGatherScatterOpCost() argument
1190 if (!isa<ScalableVectorType>(DataTy)) in getGatherScatterOpCost()
1191 return BaseT::getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask, in getGatherScatterOpCost()
1193 auto *VT = cast<VectorType>(DataTy); in getGatherScatterOpCost()
1194 auto LT = TLI->getTypeLegalizationCost(DL, DataTy); in getGatherScatterOpCost()
H A DAArch64TargetTransformInfo.h140 InstructionCost getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h1160 unsigned Opcode, Type *DataTy, const Value *Ptr, bool VariableMask,
1647 getGatherScatterOpCost(unsigned Opcode, Type *DataTy, const Value *Ptr,
2143 getGatherScatterOpCost(unsigned Opcode, Type *DataTy, const Value *Ptr,
2147 return Impl.getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask,
H A DTargetTransformInfoImpl.h555 InstructionCost getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp841 unsigned Opcode, Type *DataTy, const Value *Ptr, bool VariableMask, in getGatherScatterOpCost() argument
844 Opcode, DataTy, Ptr, VariableMask, Alignment, CostKind, I); in getGatherScatterOpCost()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp2888 auto *DataTy = VectorType::get(ScalarDataTy, VF); in vectorizeMemoryInstruction() local
2944 return Builder.CreateBitCast(PartPtr, DataTy->getPointerTo(AddressSpace)); in vectorizeMemoryInstruction()
2994 VecPtr, Alignment, BlockInMaskParts[Part], PoisonValue::get(DataTy), in vectorizeMemoryInstruction()
2998 Builder.CreateAlignedLoad(DataTy, VecPtr, Alignment, "wide.load"); in vectorizeMemoryInstruction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp1066 Type *DataTy = CI.getArgOperand(0)->getType(); in getTgtMemIntrinsic() local
1070 Info.memVT = memVTFromImageData(DataTy, DMaskLanes); in getTgtMemIntrinsic()
1072 Info.memVT = EVT::getEVT(DataTy); in getTgtMemIntrinsic()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGBuiltin.cpp9491 llvm::Type *DataTy = F->getFunctionType()->getParamType(1); in EmitAArch64BuiltinExpr() local
9492 Arg1 = Builder.CreateZExtOrBitCast(Arg1, DataTy); in EmitAArch64BuiltinExpr()