Searched refs:LoadBytes (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 882 static void LoadIntFromMemory(APInt &IntVal, uint8_t *Src, unsigned LoadBytes) { in LoadIntFromMemory() argument 883 assert((IntVal.getBitWidth()+7)/8 >= LoadBytes && "Integer too small!"); in LoadIntFromMemory() 889 memcpy(Dst, Src, LoadBytes); in LoadIntFromMemory() 895 while (LoadBytes > sizeof(uint64_t)) { in LoadIntFromMemory() 896 LoadBytes -= sizeof(uint64_t); in LoadIntFromMemory() 898 memcpy(Dst, Src + LoadBytes, sizeof(uint64_t)); in LoadIntFromMemory() 902 memcpy(Dst + sizeof(uint64_t) - LoadBytes, Src, LoadBytes); in LoadIntFromMemory() 911 const unsigned LoadBytes = getTargetData()->getTypeStoreSize(Ty); in LoadValueFromMemory() local 917 LoadIntFromMemory(Result.IntVal, (uint8_t*)Ptr, LoadBytes); in LoadValueFromMemory()
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 1092 static void LoadIntFromMemory(APInt &IntVal, uint8_t *Src, unsigned LoadBytes) { in LoadIntFromMemory() argument 1093 assert((IntVal.getBitWidth()+7)/8 >= LoadBytes && "Integer too small!"); in LoadIntFromMemory() 1100 memcpy(Dst, Src, LoadBytes); in LoadIntFromMemory() 1106 while (LoadBytes > sizeof(uint64_t)) { in LoadIntFromMemory() 1107 LoadBytes -= sizeof(uint64_t); in LoadIntFromMemory() 1109 memcpy(Dst, Src + LoadBytes, sizeof(uint64_t)); in LoadIntFromMemory() 1113 memcpy(Dst + sizeof(uint64_t) - LoadBytes, Src, LoadBytes); in LoadIntFromMemory() 1122 const unsigned LoadBytes = getDataLayout().getTypeStoreSize(Ty); in LoadValueFromMemory() local 1128 LoadIntFromMemory(Result.IntVal, (uint8_t*)Ptr, LoadBytes); in LoadValueFromMemory()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorOps.cpp | 535 unsigned LoadBytes = WideBytes; in ExpandLoad() local 537 if (RemainingBytes >= LoadBytes) { in ExpandLoad() 546 while (RemainingBytes < LoadBytes) { in ExpandLoad() 547 LoadBytes >>= 1; // Reduce the load size by half. in ExpandLoad() 548 LoadVT = EVT::getIntegerVT(*DAG.getContext(), LoadBytes << 3); in ExpandLoad() 558 RemainingBytes -= LoadBytes; in ExpandLoad() 559 Offset += LoadBytes; in ExpandLoad() 561 DAG.getConstant(LoadBytes, dl, in ExpandLoad()
|