Home
last modified time | relevance | path

Searched refs:StoreAlign (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp378 unsigned StoreAlign = SI.getAlignment(); in visitStoreInst() local
379 unsigned EffectiveStoreAlign = StoreAlign != 0 ? StoreAlign : in visitStoreInst()
384 else if (StoreAlign == 0) in visitStoreInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp502 unsigned StoreAlign = SI->getAlignment(); in findStoreAlignment() local
503 if (!StoreAlign) in findStoreAlignment()
504 StoreAlign = DL.getABITypeAlignment(SI->getOperand(0)->getType()); in findStoreAlignment()
505 return StoreAlign; in findStoreAlignment()
517 unsigned StoreAlign = findStoreAlignment(DL, SI); in findCommonAlignment() local
519 return MinAlign(StoreAlign, LoadAlign); in findCommonAlignment()
DSROA.cpp3068 unsigned StoreAlign = SI->getAlignment(); in fixLoadStoreAlign() local
3069 if (!StoreAlign) { in fixLoadStoreAlign()
3071 StoreAlign = DL.getABITypeAlignment(Op->getType()); in fixLoadStoreAlign()
3073 SI->setAlignment(std::min(StoreAlign, getSliceAlign())); in fixLoadStoreAlign()
/external/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp478 unsigned StoreAlign = SI->getAlignment(); in findCommonAlignment() local
479 if (!StoreAlign) in findCommonAlignment()
480 StoreAlign = DL.getABITypeAlignment(SI->getOperand(0)->getType()); in findCommonAlignment()
485 return std::min(StoreAlign, LoadAlign); in findCommonAlignment()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp1159 unsigned StoreAlign = SI.getAlignment(); in visitStoreInst() local
1161 StoreAlign != 0 ? StoreAlign : DL.getABITypeAlignment(Val->getType()); in visitStoreInst()
1165 else if (StoreAlign == 0) in visitStoreInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp1399 unsigned StoreAlign = SI.getAlignment(); in visitStoreInst() local
1401 StoreAlign != 0 ? StoreAlign : DL.getABITypeAlignment(Val->getType()); in visitStoreInst()
1405 else if (StoreAlign == 0) in visitStoreInst()