/external/llvm/lib/Transforms/Vectorize/ |
D | LoadStoreVectorizer.cpp | 668 Type *StoreTy; in vectorizeStoreChain() local 670 StoreTy = cast<StoreInst>(V)->getValueOperand()->getType(); in vectorizeStoreChain() 671 if (StoreTy->isIntOrIntVectorTy()) in vectorizeStoreChain() 674 if (StoreTy->isPtrOrPtrVectorTy()) { in vectorizeStoreChain() 675 StoreTy = Type::getIntNTy(F.getParent()->getContext(), in vectorizeStoreChain() 676 DL.getTypeSizeInBits(StoreTy)); in vectorizeStoreChain() 681 unsigned Sz = DL.getTypeSizeInBits(StoreTy); in vectorizeStoreChain() 726 VectorType *VecStoreTy = dyn_cast<VectorType>(StoreTy); in vectorizeStoreChain() 728 VecTy = VectorType::get(StoreTy->getScalarType(), in vectorizeStoreChain() 731 VecTy = VectorType::get(StoreTy, Chain.size()); in vectorizeStoreChain() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
D | LoadStoreVectorizer.cpp | 945 Type *StoreTy = nullptr; in vectorizeStoreChain() local 947 StoreTy = cast<StoreInst>(I)->getValueOperand()->getType(); in vectorizeStoreChain() 948 if (StoreTy->isIntOrIntVectorTy()) in vectorizeStoreChain() 951 if (StoreTy->isPtrOrPtrVectorTy()) { in vectorizeStoreChain() 952 StoreTy = Type::getIntNTy(F.getParent()->getContext(), in vectorizeStoreChain() 953 DL.getTypeSizeInBits(StoreTy)); in vectorizeStoreChain() 957 assert(StoreTy && "Failed to find store type"); in vectorizeStoreChain() 959 unsigned Sz = DL.getTypeSizeInBits(StoreTy); in vectorizeStoreChain() 993 VectorType *VecStoreTy = dyn_cast<VectorType>(StoreTy); in vectorizeStoreChain() 995 VecTy = VectorType::get(StoreTy->getScalarType(), in vectorizeStoreChain() [all …]
|
/external/llvm-project/llvm/lib/Transforms/Vectorize/ |
D | LoadStoreVectorizer.cpp | 987 Type *StoreTy = nullptr; in vectorizeStoreChain() local 989 StoreTy = cast<StoreInst>(I)->getValueOperand()->getType(); in vectorizeStoreChain() 990 if (StoreTy->isIntOrIntVectorTy()) in vectorizeStoreChain() 993 if (StoreTy->isPtrOrPtrVectorTy()) { in vectorizeStoreChain() 994 StoreTy = Type::getIntNTy(F.getParent()->getContext(), in vectorizeStoreChain() 995 DL.getTypeSizeInBits(StoreTy)); in vectorizeStoreChain() 999 assert(StoreTy && "Failed to find store type"); in vectorizeStoreChain() 1001 unsigned Sz = DL.getTypeSizeInBits(StoreTy); in vectorizeStoreChain() 1035 auto *VecStoreTy = dyn_cast<FixedVectorType>(StoreTy); in vectorizeStoreChain() 1037 VecTy = FixedVectorType::get(StoreTy->getScalarType(), in vectorizeStoreChain() [all …]
|
/external/llvm-project/llvm/lib/Analysis/ |
D | Loads.cpp | 410 Value *LoadPtr, Type *LoadTy, Value *StorePtr, Type *StoreTy, in AreNonOverlapSameBaseLoadAndStore() argument 421 auto StoreAccessSize = LocationSize::precise(DL.getTypeStoreSize(StoreTy)); in AreNonOverlapSameBaseLoadAndStore()
|
D | ScalarEvolution.cpp | 3684 const SCEV *ScalarEvolution::getStoreSizeOfExpr(Type *IntTy, Type *StoreTy) { in getStoreSizeOfExpr() argument 3685 if (auto *ScalableStoreTy = dyn_cast<ScalableVectorType>(StoreTy)) in getStoreSizeOfExpr() 3690 return getConstant(IntTy, getDataLayout().getTypeStoreSize(StoreTy)); in getStoreSizeOfExpr()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | ScalarizeMaskedMemIntrin.cpp | 921 Type *StoreTy = CI->getArgOperand(0)->getType(); in optimizeCallInst() local 923 DL.getValueOrABITypeAlignment(MaybeAlign(AlignmentInt), StoreTy); in optimizeCallInst() 924 if (TTI.isLegalMaskedScatter(StoreTy, Alignment)) in optimizeCallInst()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 15373 EVT StoreTy; in MergeStoresOfConstantsOrVecElts() local 15377 StoreTy = EVT::getVectorVT(*DAG.getContext(), MemVT.getScalarType(), Elts); in MergeStoresOfConstantsOrVecElts() 15379 StoreTy = EVT::getIntegerVT(*DAG.getContext(), SizeInBits); in MergeStoresOfConstantsOrVecElts() 15411 DL, StoreTy, BuildVector); in MergeStoresOfConstantsOrVecElts() 15444 DL, StoreTy, Ops); in MergeStoresOfConstantsOrVecElts() 15481 StoredVal = DAG.getConstant(StoreInt, DL, StoreTy); in MergeStoresOfConstantsOrVecElts() 15863 EVT StoreTy = EVT::getIntegerVT(Context, SizeInBits); in MergeConsecutiveStores() local 15867 if (StoreTy.getSizeInBits() > MaximumLegalStoreInBits) in MergeConsecutiveStores() 15870 if (TLI.isTypeLegal(StoreTy) && in MergeConsecutiveStores() 15871 TLI.canMergeStoresTo(FirstStoreAS, StoreTy, DAG) && in MergeConsecutiveStores() [all …]
|
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 16416 EVT StoreTy; in mergeStoresOfConstantsOrVecElts() local 16420 StoreTy = EVT::getVectorVT(*DAG.getContext(), MemVT.getScalarType(), Elts); in mergeStoresOfConstantsOrVecElts() 16422 StoreTy = EVT::getIntegerVT(*DAG.getContext(), SizeInBits); in mergeStoresOfConstantsOrVecElts() 16454 DL, StoreTy, BuildVector); in mergeStoresOfConstantsOrVecElts() 16487 DL, StoreTy, Ops); in mergeStoresOfConstantsOrVecElts() 16524 StoredVal = DAG.getConstant(StoreInt, DL, StoreTy); in mergeStoresOfConstantsOrVecElts() 16855 EVT StoreTy = EVT::getIntegerVT(Context, SizeInBits); in tryStoreMergeOfConstants() local 16859 if (StoreTy.getSizeInBits() > MaximumLegalStoreInBits) in tryStoreMergeOfConstants() 16862 if (TLI.isTypeLegal(StoreTy) && in tryStoreMergeOfConstants() 16863 TLI.canMergeStoresTo(FirstStoreAS, StoreTy, DAG) && in tryStoreMergeOfConstants() [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 11311 EVT StoreTy = EVT::getIntegerVT(*DAG.getContext(), SizeInBits); in MergeStoresOfConstantsOrVecElts() local 11312 StoredVal = DAG.getConstant(StoreInt, DL, StoreTy); in MergeStoresOfConstantsOrVecElts() 11622 EVT StoreTy = EVT::getIntegerVT(Context, SizeInBits); in MergeConsecutiveStores() local 11624 if (TLI.isTypeLegal(StoreTy) && in MergeConsecutiveStores() 11625 TLI.allowsMemoryAccess(Context, DL, StoreTy, FirstStoreAS, in MergeConsecutiveStores() 11629 } else if (TLI.getTypeAction(Context, StoreTy) == in MergeConsecutiveStores() 11633 if (TLI.isTruncStoreLegal(LegalizedStoredValueTy, StoreTy) && in MergeConsecutiveStores() 11781 EVT StoreTy = EVT::getVectorVT(Context, MemVT, i+1); in MergeConsecutiveStores() local 11783 if (TLI.isTypeLegal(StoreTy) && in MergeConsecutiveStores() 11784 TLI.allowsMemoryAccess(Context, DL, StoreTy, FirstStoreAS, in MergeConsecutiveStores() [all …]
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 1943 Type *StoreTy = Type::getIntNTy(*C, LargeStoreSizeInBytes * 8); in poisonRedZones() local 1944 Value *Poison = ConstantInt::get(StoreTy, DoPoison ? Val : 0); in poisonRedZones() 1945 IRB.CreateStore(Poison, IRB.CreateIntToPtr(Ptr, StoreTy->getPointerTo())); in poisonRedZones()
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | ScalarEvolution.h | 612 const SCEV *getStoreSizeOfExpr(Type *IntTy, Type *StoreTy);
|
/external/clang/lib/CodeGen/ |
D | CGBuiltin.cpp | 4168 llvm::Type *StoreTy = llvm::IntegerType::get(getLLVMContext(), in EmitARMBuiltinExpr() local 4170 StoreAddr = Builder.CreateBitCast(StoreAddr, StoreTy->getPointerTo()); in EmitARMBuiltinExpr() 4175 StoreVal = Builder.CreateBitCast(StoreVal, StoreTy); in EmitARMBuiltinExpr() 4935 llvm::Type *StoreTy = llvm::IntegerType::get(getLLVMContext(), in EmitAArch64BuiltinExpr() local 4937 StoreAddr = Builder.CreateBitCast(StoreAddr, StoreTy->getPointerTo()); in EmitAArch64BuiltinExpr() 4942 StoreVal = Builder.CreateBitCast(StoreVal, StoreTy); in EmitAArch64BuiltinExpr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonISelLowering.cpp | 2706 MVT StoreTy = SN->getMemoryVT().getSimpleVT(); in LowerStore() local 2707 unsigned NeedAlign = Subtarget.getTypeAlignment(StoreTy); in LowerStore()
|
/external/llvm-project/llvm/lib/Target/Hexagon/ |
D | HexagonISelLowering.cpp | 2874 MVT StoreTy = SN->getMemoryVT().getSimpleVT(); in LowerStore() local 2875 unsigned NeedAlign = Subtarget.getTypeAlignment(StoreTy); in LowerStore()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGBuiltin.cpp | 7178 llvm::Type *StoreTy = llvm::IntegerType::get(getLLVMContext(), in EmitARMBuiltinExpr() local 7180 StoreAddr = Builder.CreateBitCast(StoreAddr, StoreTy->getPointerTo()); in EmitARMBuiltinExpr() 9015 llvm::Type *StoreTy = llvm::IntegerType::get(getLLVMContext(), in EmitAArch64BuiltinExpr() local 9017 StoreAddr = Builder.CreateBitCast(StoreAddr, StoreTy->getPointerTo()); in EmitAArch64BuiltinExpr()
|