Home
last modified time | relevance | path

Searched refs:BytesLoaded (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Analysis/
DConstantFolding.cpp389 unsigned BytesLoaded = (IntType->getBitWidth() + 7) / 8; in FoldReinterpretLoadFromConstPtr() local
390 if (BytesLoaded > 32 || BytesLoaded == 0) return 0; in FoldReinterpretLoadFromConstPtr()
412 BytesLoaded, TD)) in FoldReinterpretLoadFromConstPtr()
415 APInt ResultVal = APInt(IntType->getBitWidth(), RawBytes[BytesLoaded-1]); in FoldReinterpretLoadFromConstPtr()
416 for (unsigned i = 1; i != BytesLoaded; ++i) { in FoldReinterpretLoadFromConstPtr()
418 ResultVal |= RawBytes[BytesLoaded-1-i]; in FoldReinterpretLoadFromConstPtr()
/external/llvm/lib/Analysis/
DConstantFolding.cpp440 unsigned BytesLoaded = (IntType->getBitWidth() + 7) / 8; in FoldReinterpretLoadFromConstPtr() local
441 if (BytesLoaded > 32 || BytesLoaded == 0) in FoldReinterpretLoadFromConstPtr()
458 if (Offset + BytesLoaded <= 0) in FoldReinterpretLoadFromConstPtr()
467 unsigned BytesLeft = BytesLoaded; in FoldReinterpretLoadFromConstPtr()
481 ResultVal = RawBytes[BytesLoaded - 1]; in FoldReinterpretLoadFromConstPtr()
482 for (unsigned i = 1; i != BytesLoaded; ++i) { in FoldReinterpretLoadFromConstPtr()
484 ResultVal |= RawBytes[BytesLoaded - 1 - i]; in FoldReinterpretLoadFromConstPtr()
488 for (unsigned i = 1; i != BytesLoaded; ++i) { in FoldReinterpretLoadFromConstPtr()