Home
last modified time | relevance | path

Searched refs:NumBytesSet (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/llvm/lib/Transforms/Utils/
DVNCoercion.cpp569 for (unsigned NumBytesSet = 1; NumBytesSet != LoadSize;) { in getMemInstValueForLoadHelper() local
571 if (NumBytesSet * 2 <= LoadSize) { in getMemInstValueForLoadHelper()
573 Val, ConstantInt::get(Val->getType(), NumBytesSet * 8)); in getMemInstValueForLoadHelper()
575 NumBytesSet <<= 1; in getMemInstValueForLoadHelper()
582 ++NumBytesSet; in getMemInstValueForLoadHelper()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DVNCoercion.cpp481 for (unsigned NumBytesSet = 1; NumBytesSet != LoadSize;) { in getMemInstValueForLoadHelper() local
483 if (NumBytesSet * 2 <= LoadSize) { in getMemInstValueForLoadHelper()
485 Val, ConstantInt::get(Val->getType(), NumBytesSet * 8)); in getMemInstValueForLoadHelper()
487 NumBytesSet <<= 1; in getMemInstValueForLoadHelper()
494 ++NumBytesSet; in getMemInstValueForLoadHelper()
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp1104 for (unsigned NumBytesSet = 1; NumBytesSet != LoadSize; ) { in GetMemInstValueForLoad() local
1106 if (NumBytesSet*2 <= LoadSize) { in GetMemInstValueForLoad()
1107 Value *ShVal = Builder.CreateShl(Val, NumBytesSet*8); in GetMemInstValueForLoad()
1109 NumBytesSet <<= 1; in GetMemInstValueForLoad()
1116 ++NumBytesSet; in GetMemInstValueForLoad()