Searched refs:StoreSize (Results 1 - 18 of 18) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
H A DPPCHazardRecognizers.h46 unsigned StoreSize[4]; member in class:llvm::PPCHazardRecognizer970
H A DPPCHazardRecognizers.cpp90 /// as indicated by StorePtr1/StorePtr2/StoreSize, return true.
110 if (int(StoreOffs+StoreSize[i]) > LoadOffs) return true;
284 StoreSize[NumStores] = ThisStoreSize;
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp85 bool processLoopStridedStore(Value *DestPtr, unsigned StoreSize,
90 bool processLoopStoreOfLoopLoad(StoreInst *SI, unsigned StoreSize,
290 unsigned StoreSize = (unsigned)SizeInBits >> 3; local
293 if (Stride == 0 || StoreSize != Stride->getValue()->getValue()) {
297 if (0 && Stride && StoreSize == -Stride->getValue()->getValue()) {
306 if (processLoopStridedStore(StorePtr, StoreSize, SI->getAlignment(),
318 if (processLoopStoreOfLoopLoad(SI, StoreSize, StoreEv, LoadEv, BECount))
370 unsigned StoreSize, AliasAnalysis &AA,
378 // to be exactly the size of the memset, which is (BECount+1)*StoreSize
380 AccessSize = (BECst->getValue()->getZExtValue()+1)*StoreSize;
368 mayLoopAccessLocation(Value *Ptr,AliasAnalysis::ModRefResult Access, Loop *L, const SCEV *BECount, unsigned StoreSize, AliasAnalysis &AA, Instruction *IgnoredStore) argument
440 processLoopStridedStore(Value *DestPtr, unsigned StoreSize, unsigned StoreAlignment, Value *StoredVal, Instruction *TheStore, const SCEVAddRecExpr *Ev, const SCEV *BECount) argument
549 processLoopStoreOfLoopLoad(StoreInst *SI, unsigned StoreSize, const SCEVAddRecExpr *StoreEv, const SCEVAddRecExpr *LoadEv, const SCEV *BECount) argument
[all...]
H A DGVN.cpp699 uint64_t StoreSize = TD.getTypeSizeInBits(StoredValTy); local
703 if (StoreSize == LoadSize) {
731 assert(StoreSize >= LoadSize && "CanCoerceMustAliasedValueToLoad fail");
741 StoredValTy = IntegerType::get(StoredValTy->getContext(), StoreSize);
748 Constant *Val = ConstantInt::get(StoredVal->getType(), StoreSize-LoadSize);
812 uint64_t StoreSize = WriteSizeInBits >> 3; // Convert to bytes.
818 isAAFailure = StoreOffset+int64_t(StoreSize) <= LoadOffset;
839 StoreOffset+StoreSize < LoadOffset+LoadSize)
858 uint64_t StoreSize =TD.getTypeSizeInBits(DepSI->getValueOperand()->getType()); local
860 StorePtr, StoreSize, T
948 uint64_t StoreSize = (TD.getTypeSizeInBits(SrcVal->getType()) + 7) / 8; local
[all...]
H A DMemCpyOptimizer.cpp212 int64_t StoreSize = TD.getTypeStoreSize(SI->getOperand(0)->getType()); local
214 addRange(OffsetFromFirst, StoreSize,
/external/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp115 bool processLoopStridedStore(Value *DestPtr, unsigned StoreSize,
397 unsigned StoreSize = getStoreSizeInBytes(SI, DL); local
398 if (StoreSize != Stride && StoreSize != -Stride)
610 unsigned StoreSize = 0; local
618 StoreSize += getStoreSizeInBytes(I, DL);
630 if (StoreSize != Stride && StoreSize != -Stride)
633 bool NegStride = StoreSize == -Stride;
635 if (processLoopStridedStore(StorePtr, StoreSize, HeadStor
699 mayLoopAccessLocation(Value *Ptr, ModRefInfo Access, Loop *L, const SCEV *BECount, unsigned StoreSize, AliasAnalysis &AA, SmallPtrSetImpl<Instruction *> &IgnoredStores) argument
732 getStartForNegStride(const SCEV *Start, const SCEV *BECount, Type *IntPtr, unsigned StoreSize, ScalarEvolution *SE) argument
744 processLoopStridedStore( Value *DestPtr, unsigned StoreSize, unsigned StoreAlignment, Value *StoredVal, Instruction *TheStore, SmallPtrSetImpl<Instruction *> &Stores, const SCEVAddRecExpr *Ev, const SCEV *BECount, bool NegStride) argument
852 unsigned StoreSize = getStoreSizeInBytes(SI, DL); local
[all...]
H A DGVN.cpp848 uint64_t StoreSize = WriteSizeInBits >> 3; // Convert to bytes.
854 isAAFailure = StoreOffset+int64_t(StoreSize) <= LoadOffset;
875 StoreOffset+StoreSize < LoadOffset+LoadSize)
894 uint64_t StoreSize =DL.getTypeSizeInBits(DepSI->getValueOperand()->getType()); local
896 StorePtr, StoreSize, DL);
991 uint64_t StoreSize = (DL.getTypeSizeInBits(SrcVal->getType()) + 7) / 8; local
1002 SrcVal = Builder.CreateBitCast(SrcVal, IntegerType::get(Ctx, StoreSize*8));
1009 ShiftAmt = (StoreSize-LoadSize-Offset)*8;
1014 if (LoadSize != StoreSize)
H A DMemCpyOptimizer.cpp218 int64_t StoreSize = DL.getTypeStoreSize(SI->getOperand(0)->getType()); local
220 addRange(OffsetFromFirst, StoreSize,
H A DSROA.cpp3662 uint64_t StoreSize = Ty->getBitWidth() / 8;
3663 assert(StoreSize > 0 && "Cannot have a zero-sized integer store!");
3666 assert(StoreSize == Offsets.S->endOffset() - Offsets.S->beginOffset() &&
3669 assert(BaseOffset + StoreSize > BaseOffset &&
3735 PartSize = (Idx < Size ? Offsets.Splits[Idx] : StoreSize) - PartOffset;
/external/llvm/lib/Target/PowerPC/
H A DPPCHazardRecognizers.h74 uint64_t StoreSize[4]; member in class:llvm::PPCHazardRecognizer970
H A DPPCHazardRecognizers.cpp299 /// as indicated by StorePtr1/StorePtr2/StoreSize, return true.
314 if (int64_t(StoreOffset[i]+StoreSize[i]) > LoadOffset) return true;
407 StoreSize[NumStores] = MO->getSize();
H A DPPCISelLowering.cpp7150 unsigned StoreSize = BVN->getOperand(i).getValueType().getStoreSize(); local
7151 if (StoreSize > 4) {
7158 if (StoreSize < 4)
/external/llvm/lib/Target/AArch64/
H A DAArch64LoadStoreOptimizer.cpp606 int StoreSize = getMemScale(StoreInst);
609 : getLdStOffsetOp(StoreInst).getImm() * StoreSize;
614 (UnscaledLdOffset + LoadSize <= (UnscaledStOffset + StoreSize));
934 int StoreSize = getMemScale(*StoreI); local
944 if (LoadSize == StoreSize && (LoadSize == 4 || LoadSize == 8)) {
969 assert(LoadSize <= StoreSize && "Invalid load size");
975 : getLdStOffsetOp(*StoreI).getImm() * StoreSize;
985 (UnscaledLdOffset + LoadSize) <= UnscaledStOffset + StoreSize) &&
/external/llvm/lib/CodeGen/
H A DMachineFunction.cpp924 uint64_t StoreSize = DL.getTypeStoreSize(A->getType());
925 if (StoreSize != DL.getTypeStoreSize(B->getType()) || StoreSize > 128)
928 Type *IntTy = IntegerType::get(A->getContext(), StoreSize*8);
/external/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp50 unsigned StoreSize = VT.getStoreSizeInBits(); local
51 if (StoreSize <= 32)
52 return EVT::getIntegerVT(Ctx, StoreSize);
54 assert(StoreSize % 32 == 0 && "Store size not a multiple of 32");
55 return EVT::getVectorVT(Ctx, MVT::i32, StoreSize / 32);
59 unsigned StoreSize = VT.getStoreSizeInBits(); local
60 if (StoreSize <= 32)
61 return EVT::getIntegerVT(Ctx, StoreSize);
63 return EVT::getVectorVT(Ctx, MVT::i32, StoreSize / 32);
/external/clang/lib/CodeGen/
H A DCGExprCXX.cpp416 CharUnits StoreSize = Store.second; local
417 llvm::Value *StoreSizeVal = CGF.CGM.getSize(StoreSize);
430 CharUnits StoreSize = Store.second; local
431 llvm::Value *StoreSizeVal = CGF.CGM.getSize(StoreSize);
H A DCGBuiltin.cpp1347 CharUnits StoreSize = getContext().getTypeSizeInChars(ElTy); local
1349 StoreSize.getQuantity() * 8);
1353 StoreSize);
/external/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp715 unsigned StoreSize = DL.getTypeStoreSize(Shadow->getType()); local
718 getOriginPtr(Addr, IRB, Alignment), StoreSize,
726 getOriginPtr(Addr, IRB, Alignment), StoreSize,
748 getOriginPtr(Addr, IRBNew, Alignment), StoreSize,

Completed in 369 milliseconds