Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/
H A 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()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorOps.cpp623 unsigned LoadBytes = WideBytes; in ExpandLoad() local
625 if (RemainingBytes >= LoadBytes) { in ExpandLoad()
633 while (RemainingBytes < LoadBytes) { in ExpandLoad()
634 LoadBytes >>= 1; // Reduce the load size by half. in ExpandLoad()
635 LoadVT = EVT::getIntegerVT(*DAG.getContext(), LoadBytes << 3); in ExpandLoad()
644 RemainingBytes -= LoadBytes; in ExpandLoad()
645 Offset += LoadBytes; in ExpandLoad()
647 BasePTR = DAG.getObjectPtrOffset(dl, BasePTR, LoadBytes); in ExpandLoad()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp8149 uint64_t LoadBytes = Mem->getMemoryVT().getSizeInBits()/8; in shouldReduceLoadWidth() local
8150 if (ShiftAmount == Log2_32(LoadBytes)) in shouldReduceLoadWidth()