Searched refs:LoadBytes (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 1097 static void LoadIntFromMemory(APInt &IntVal, uint8_t *Src, unsigned LoadBytes) { in LoadIntFromMemory() argument 1098 assert((IntVal.getBitWidth()+7)/8 >= LoadBytes && "Integer too small!"); in LoadIntFromMemory() 1105 memcpy(Dst, Src, LoadBytes); in LoadIntFromMemory() 1111 while (LoadBytes > sizeof(uint64_t)) { in LoadIntFromMemory() 1112 LoadBytes -= sizeof(uint64_t); in LoadIntFromMemory() 1114 memcpy(Dst, Src + LoadBytes, sizeof(uint64_t)); in LoadIntFromMemory() 1118 memcpy(Dst + sizeof(uint64_t) - LoadBytes, Src, LoadBytes); in LoadIntFromMemory() 1127 const unsigned LoadBytes = getDataLayout().getTypeStoreSize(Ty); in LoadValueFromMemory() local 1133 LoadIntFromMemory(Result.IntVal, (uint8_t*)Ptr, LoadBytes); in LoadValueFromMemory()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorOps.cpp | 530 unsigned LoadBytes = WideBytes; in ExpandLoad() local 532 if (RemainingBytes >= LoadBytes) { in ExpandLoad() 541 while (RemainingBytes < LoadBytes) { in ExpandLoad() 542 LoadBytes >>= 1; // Reduce the load size by half. in ExpandLoad() 543 LoadVT = EVT::getIntegerVT(*DAG.getContext(), LoadBytes << 3); in ExpandLoad() 553 RemainingBytes -= LoadBytes; in ExpandLoad() 554 Offset += LoadBytes; in ExpandLoad() 556 DAG.getConstant(LoadBytes, dl, in ExpandLoad()
|