Home
last modified time | relevance | path

Searched refs:LoadBytes (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/
DExecutionEngine.cpp882 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/
DExecutionEngine.cpp1092 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/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp1098 static void LoadIntFromMemory(APInt &IntVal, uint8_t *Src, unsigned LoadBytes) { in LoadIntFromMemory() argument
1099 assert((IntVal.getBitWidth()+7)/8 >= LoadBytes && "Integer too small!"); in LoadIntFromMemory()
1106 memcpy(Dst, Src, LoadBytes); in LoadIntFromMemory()
1112 while (LoadBytes > sizeof(uint64_t)) { in LoadIntFromMemory()
1113 LoadBytes -= sizeof(uint64_t); in LoadIntFromMemory()
1115 memcpy(Dst, Src + LoadBytes, sizeof(uint64_t)); in LoadIntFromMemory()
1119 memcpy(Dst + sizeof(uint64_t) - LoadBytes, Src, LoadBytes); in LoadIntFromMemory()
1128 const unsigned LoadBytes = getDataLayout().getTypeStoreSize(Ty); in LoadValueFromMemory() local
1134 LoadIntFromMemory(Result.IntVal, (uint8_t*)Ptr, LoadBytes); in LoadValueFromMemory()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp535 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp596 unsigned LoadBytes = WideBytes; in ExpandLoad() local
598 if (RemainingBytes >= LoadBytes) { in ExpandLoad()
606 while (RemainingBytes < LoadBytes) { in ExpandLoad()
607 LoadBytes >>= 1; // Reduce the load size by half. in ExpandLoad()
608 LoadVT = EVT::getIntegerVT(*DAG.getContext(), LoadBytes << 3); in ExpandLoad()
617 RemainingBytes -= LoadBytes; in ExpandLoad()
618 Offset += LoadBytes; in ExpandLoad()
620 BasePTR = DAG.getObjectPtrOffset(dl, BasePTR, LoadBytes); in ExpandLoad()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp7910 uint64_t LoadBytes = Mem->getMemoryVT().getSizeInBits()/8; in shouldReduceLoadWidth() local
7911 if (ShiftAmount == Log2_32(LoadBytes)) in shouldReduceLoadWidth()