Home
last modified time | relevance | path

Searched refs:BytesLoaded (Results 1 – 3 of 3) 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DConstantFolding.cpp518 unsigned BytesLoaded = (IntType->getBitWidth() + 7) / 8; in FoldReinterpretLoadFromConstPtr() local
519 if (BytesLoaded > 32 || BytesLoaded == 0) in FoldReinterpretLoadFromConstPtr()
536 if (Offset + BytesLoaded <= 0) in FoldReinterpretLoadFromConstPtr()
545 unsigned BytesLeft = BytesLoaded; in FoldReinterpretLoadFromConstPtr()
559 ResultVal = RawBytes[BytesLoaded - 1]; in FoldReinterpretLoadFromConstPtr()
560 for (unsigned i = 1; i != BytesLoaded; ++i) { in FoldReinterpretLoadFromConstPtr()
562 ResultVal |= RawBytes[BytesLoaded - 1 - i]; in FoldReinterpretLoadFromConstPtr()
566 for (unsigned i = 1; i != BytesLoaded; ++i) { in FoldReinterpretLoadFromConstPtr()