Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DIRBuilder.cpp216 Type *DataTy = PtrTy->getElementType(); in CreateMaskedLoad() local
217 assert(DataTy->isVectorTy() && "Ptr should point to a vector"); in CreateMaskedLoad()
219 PassThru = UndefValue::get(DataTy); in CreateMaskedLoad()
220 Type *OverloadedTypes[] = { DataTy, PtrTy }; in CreateMaskedLoad()
235 Type *DataTy = PtrTy->getElementType(); in CreateMaskedStore() local
236 assert(DataTy->isVectorTy() && "Ptr should point to a vector"); in CreateMaskedStore()
237 Type *OverloadedTypes[] = { DataTy, PtrTy }; in CreateMaskedStore()
268 Type *DataTy = VectorType::get(PtrTy->getElementType(), NumElts); in CreateMaskedGather() local
274 Value * Ops[] = {Ptrs, getInt32(Align), Mask, UndefValue::get(DataTy)}; in CreateMaskedGather()
278 return CreateMaskedIntrinsic(Intrinsic::masked_gather, Ops, { DataTy }, Name); in CreateMaskedGather()
[all …]
DVerifier.cpp4072 Type *DataTy = cast<PointerType>(Ptr->getType())->getElementType(); in visitIntrinsicCallSite() local
4073 Assert(DataTy == CS.getType(), in visitIntrinsicCallSite()
4075 Assert(PassThru->getType() == DataTy, in visitIntrinsicCallSite()
4078 DataTy->getVectorNumElements(), in visitIntrinsicCallSite()
4091 Type *DataTy = cast<PointerType>(Ptr->getType())->getElementType(); in visitIntrinsicCallSite() local
4092 Assert(DataTy == Val->getType(), in visitIntrinsicCallSite()
4095 DataTy->getVectorNumElements(), in visitIntrinsicCallSite()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DIRBuilder.cpp474 Type *DataTy = PtrTy->getElementType(); in CreateMaskedLoad() local
475 assert(DataTy->isVectorTy() && "Ptr should point to a vector"); in CreateMaskedLoad()
478 PassThru = UndefValue::get(DataTy); in CreateMaskedLoad()
479 Type *OverloadedTypes[] = { DataTy, PtrTy }; in CreateMaskedLoad()
494 Type *DataTy = PtrTy->getElementType(); in CreateMaskedStore() local
495 assert(DataTy->isVectorTy() && "Ptr should point to a vector"); in CreateMaskedStore()
497 Type *OverloadedTypes[] = { DataTy, PtrTy }; in CreateMaskedStore()
528 Type *DataTy = VectorType::get(PtrTy->getElementType(), NumElts); in CreateMaskedGather() local
535 PassThru = UndefValue::get(DataTy); in CreateMaskedGather()
537 Type *OverloadedTypes[] = {DataTy, PtrsTy}; in CreateMaskedGather()
[all …]
DVerifier.cpp4399 Type *DataTy = cast<PointerType>(Ptr->getType())->getElementType(); in visitIntrinsicCallSite() local
4400 Assert(DataTy == CS.getType(), in visitIntrinsicCallSite()
4402 Assert(PassThru->getType() == DataTy, in visitIntrinsicCallSite()
4405 DataTy->getVectorNumElements(), in visitIntrinsicCallSite()
4418 Type *DataTy = cast<PointerType>(Ptr->getType())->getElementType(); in visitIntrinsicCallSite() local
4419 Assert(DataTy == Val->getType(), in visitIntrinsicCallSite()
4422 DataTy->getVectorNumElements(), in visitIntrinsicCallSite()
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.h79 int getGatherScatterOpCost(unsigned Opcode, Type *DataTy, Value *Ptr,
104 int getGSScalarCost(unsigned Opcode, Type *DataTy, bool VariableMask,
106 int getGSVectorCost(unsigned Opcode, Type *DataTy, Value *Ptr,
DX86TargetTransformInfo.cpp1570 bool X86TTIImpl::isLegalMaskedLoad(Type *DataTy) { in isLegalMaskedLoad() argument
1571 Type *ScalarTy = DataTy->getScalarType(); in isLegalMaskedLoad()
1583 bool X86TTIImpl::isLegalMaskedGather(Type *DataTy) { in isLegalMaskedGather() argument
1594 if (isa<VectorType>(DataTy) && !isPowerOf2_32(DataTy->getVectorNumElements())) in isLegalMaskedGather()
1596 Type *ScalarTy = DataTy->getScalarType(); in isLegalMaskedGather()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86TargetTransformInfo.h82 int getGatherScatterOpCost(unsigned Opcode, Type *DataTy, Value *Ptr,
136 int getGSScalarCost(unsigned Opcode, Type *DataTy, bool VariableMask,
138 int getGSVectorCost(unsigned Opcode, Type *DataTy, Value *Ptr,
DX86TargetTransformInfo.cpp2590 bool X86TTIImpl::isLegalMaskedLoad(Type *DataTy) { in isLegalMaskedLoad() argument
2592 if (isa<VectorType>(DataTy) && DataTy->getVectorNumElements() == 1) in isLegalMaskedLoad()
2594 Type *ScalarTy = DataTy->getScalarType(); in isLegalMaskedLoad()
2606 bool X86TTIImpl::isLegalMaskedGather(Type *DataTy) { in isLegalMaskedGather() argument
2619 if (isa<VectorType>(DataTy)) { in isLegalMaskedGather()
2620 unsigned NumElts = DataTy->getVectorNumElements(); in isLegalMaskedGather()
2624 Type *ScalarTy = DataTy->getScalarType(); in isLegalMaskedGather()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonTargetTransformInfo.cpp201 unsigned HexagonTTIImpl::getGatherScatterOpCost(unsigned Opcode, Type *DataTy, in getGatherScatterOpCost() argument
203 return BaseT::getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask, in getGatherScatterOpCost()
DHexagonTargetTransformInfo.h119 unsigned getGatherScatterOpCost(unsigned Opcode, Type *DataTy, Value *Ptr,
/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h535 int getGatherScatterOpCost(unsigned Opcode, Type *DataTy, Value *Ptr,
713 virtual int getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
931 int getGatherScatterOpCost(unsigned Opcode, Type *DataTy, in getGatherScatterOpCost() argument
934 return Impl.getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask, in getGatherScatterOpCost()
DTargetTransformInfoImpl.h333 unsigned getGatherScatterOpCost(unsigned Opcode, Type *DataTy, Value *Ptr, in getGatherScatterOpCost() argument
/external/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp392 auto *DataTy = StructType::get(Ctx, makeArrayRef(DataTypes)); in getOrCreateRegionCounters() local
406 auto *Data = new GlobalVariable(*M, DataTy, false, NamePtr->getLinkage(), in getOrCreateRegionCounters()
407 ConstantStruct::get(DataTy, DataVals), in getOrCreateRegionCounters()
/external/llvm/lib/Analysis/
DTargetTransformInfo.cpp341 int TargetTransformInfo::getGatherScatterOpCost(unsigned Opcode, Type *DataTy, in getGatherScatterOpCost() argument
344 int Cost = TTIImpl->getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask, in getGatherScatterOpCost()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetTransformInfo.h809 int getGatherScatterOpCost(unsigned Opcode, Type *DataTy, Value *Ptr,
1124 virtual int getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
1462 int getGatherScatterOpCost(unsigned Opcode, Type *DataTy, in getGatherScatterOpCost() argument
1465 return Impl.getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask, in getGatherScatterOpCost()
DTargetTransformInfoImpl.h442 unsigned getGatherScatterOpCost(unsigned Opcode, Type *DataTy, Value *Ptr, in getGatherScatterOpCost() argument
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp767 auto *DataTy = StructType::get(Ctx, makeArrayRef(DataTypes)); in getOrCreateRegionCounters() local
781 auto *Data = new GlobalVariable(*M, DataTy, false, NamePtr->getLinkage(), in getOrCreateRegionCounters()
782 ConstantStruct::get(DataTy, DataVals), in getOrCreateRegionCounters()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DTargetTransformInfo.cpp464 int TargetTransformInfo::getGatherScatterOpCost(unsigned Opcode, Type *DataTy, in getGatherScatterOpCost() argument
467 int Cost = TTIImpl->getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask, in getGatherScatterOpCost()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2403 Type *DataTy = VectorType::get(ScalarDataTy, VF); in vectorizeMemoryInstruction() local
2413 uint64_t VectorElementSize = DL.getTypeStoreSize(DataTy) / VF; in vectorizeMemoryInstruction()
2568 Builder.CreateBitCast(PartPtr, DataTy->getPointerTo(AddressSpace)); in vectorizeMemoryInstruction()
2606 Builder.CreateBitCast(PartPtr, DataTy->getPointerTo(AddressSpace)); in vectorizeMemoryInstruction()
2609 UndefValue::get(DataTy), in vectorizeMemoryInstruction()
5735 auto *DataTy = cast<PointerType>(Ptr->getType())->getElementType(); in isGatherOrScatterLegal() local
5736 return (isa<LoadInst>(I) && Legal->isLegalMaskedGather(DataTy)) || in isGatherOrScatterLegal()
5737 (isa<StoreInst>(I) && Legal->isLegalMaskedScatter(DataTy)); in isGatherOrScatterLegal()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2401 Type *DataTy = VectorType::get(ScalarDataTy, VF); in vectorizeMemoryInstruction() local
2459 return Builder.CreateBitCast(PartPtr, DataTy->getPointerTo(AddressSpace)); in vectorizeMemoryInstruction()
2509 UndefValue::get(DataTy), in vectorizeMemoryInstruction()
/external/clang/lib/CodeGen/
DCGBuiltin.cpp4984 llvm::Type *DataTy = F->getFunctionType()->getParamType(1); in EmitAArch64BuiltinExpr() local
4985 Arg1 = Builder.CreateZExtOrBitCast(Arg1, DataTy); in EmitAArch64BuiltinExpr()