/device/linaro/bootloader/edk2/MdeModulePkg/Library/BaseSortLib/ |
BaseSortLib.c | 39 @param[in] ElementSize Size of an element in bytes
42 @param[in] Buffer Buffer of size ElementSize for use in swapping
49 IN CONST UINTN ElementSize,
63 || ElementSize < 1
73 Pivot = ((UINT8*)BufferToSort+((Count-1)*ElementSize));
86 if (CompareFunction((VOID*)((UINT8*)BufferToSort+((LoopCount)*ElementSize)),Pivot) <= 0){
90 CopyMem (Buffer, (UINT8*)BufferToSort+(NextSwapLocation*ElementSize), ElementSize);
91 CopyMem ((UINT8*)BufferToSort+(NextSwapLocation*ElementSize), (UINT8*)BufferToSort+((LoopCount)*ElementSize), ElementSize); [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiSortLib/ |
UefiSortLib.c | 55 @param[in] ElementSize Size of an element in bytes
58 @param[in] Buffer Buffer of size ElementSize for use in swapping
65 IN CONST UINTN ElementSize,
79 || ElementSize < 1
89 Pivot = ((UINT8*)BufferToSort+((Count-1)*ElementSize));
102 if (CompareFunction((VOID*)((UINT8*)BufferToSort+((LoopCount)*ElementSize)),Pivot) <= 0){
106 CopyMem (Buffer, (UINT8*)BufferToSort+(NextSwapLocation*ElementSize), ElementSize);
107 CopyMem ((UINT8*)BufferToSort+(NextSwapLocation*ElementSize), (UINT8*)BufferToSort+((LoopCount)*ElementSize), ElementSize); [all...] |
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
MemoryBuiltins.cpp | 101 unsigned ElementSize = TD->getTypeAllocSize(T); 103 ElementSize = TD->getStructLayout(ST)->getSizeInBytes(); 105 // If malloc call's arg can be determined to be a multiple of ElementSize, 109 if (ComputeMultiple(MallocArg, ElementSize, Multiple,
|
/art/runtime/base/ |
array_slice.h | 128 size_t ElementSize() const {
|
/device/linaro/bootloader/edk2/StdLib/Include/Containers/ |
Fifo.h | 33 @param[in] ElementSize Size, in bytes, of an element
38 cFIFO * EFIAPI New_cFIFO(UINT32 NumElements, size_t ElementSize);
44 was instantiated (FIFO.ElementSize).
63 was instantiated (FIFO.ElementSize).
201 UINT32 ElementSize; ///< Number of bytes in an element.
|
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/SysCall/ |
CrtWrapper.c | 39 IN CONST UINTN ElementSize,
52 if (Count < 2 || ElementSize < 1) {
61 Pivot = ((UINT8 *)BufferToSort + ((Count - 1) * ElementSize));
72 if (CompareFunction ((VOID *)((UINT8 *)BufferToSort + ((LoopCount) * ElementSize)), Pivot) <= 0) {
76 CopyMem (Buffer, (UINT8 *)BufferToSort + (NextSwapLocation * ElementSize), ElementSize);
77 CopyMem ((UINT8 *)BufferToSort + (NextSwapLocation * ElementSize), (UINT8 *)BufferToSort + ((LoopCount) * ElementSize), ElementSize);
78 CopyMem ((UINT8 *)BufferToSort + ((LoopCount) * ElementSize), Buffer, ElementSize); [all...] |
/external/llvm/lib/Transforms/Scalar/ |
NaryReassociate.cpp | 407 uint64_t ElementSize = DL->getTypeAllocSize(ElementType); 410 // necessarily divisible by ElementSize. For example, 422 if (IndexedSize % ElementSize != 0) 429 if (IndexedSize != ElementSize) { 431 RHS, ConstantInt::get(IntPtrTy, IndexedSize / ElementSize));
|
StraightLineStrengthReduce.cpp | 174 // A helper function that scales Idx with ElementSize before invoking 177 Value *S, uint64_t ElementSize, 189 void factorArrayIndex(Value *ArrayIdx, const SCEV *Base, uint64_t ElementSize, 435 const SCEV *B, ConstantInt *Idx, Value *S, uint64_t ElementSize, 437 // I = B + sext(Idx *nsw S) * ElementSize 438 // = B + (sext(Idx) * sext(S)) * ElementSize 439 // = B + (sext(Idx) * ElementSize) * sext(S) 443 IntPtrTy, Idx->getSExtValue() * (int64_t)ElementSize, true); 449 uint64_t ElementSize, 454 ArrayIdx, ElementSize, GEP) [all...] |
SeparateConstOffsetFromGEP.cpp | [all...] |
/external/llvm/include/llvm/Analysis/ |
TargetTransformInfoImpl.h | 462 int64_t ElementSize = DL.getTypeAllocSize(GTI.getIndexedType()); 464 BaseOffset += ConstIdx->getSExtValue() * ElementSize; 470 Scale = ElementSize;
|
/external/llvm/lib/Analysis/ |
MemoryBuiltins.cpp | 231 unsigned ElementSize = DL.getTypeAllocSize(T); 233 ElementSize = DL.getStructLayout(ST)->getSizeInBytes(); 235 // If malloc call's arg can be determined to be a multiple of ElementSize, 239 if (ComputeMultiple(MallocArg, ElementSize, Multiple, LookThroughSExt))
|
BasicAliasAnalysis.cpp | [all...] |
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/ |
ExecutionEngine.cpp | [all...] |
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Analysis/ |
TargetTransformInfoImpl.h | 610 int64_t ElementSize = DL.getTypeAllocSize(GTI.getIndexedType()); 612 BaseOffset += ConstIdx->getSExtValue() * ElementSize; 618 Scale = ElementSize;
|
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Analysis/ |
TargetTransformInfoImpl.h | 610 int64_t ElementSize = DL.getTypeAllocSize(GTI.getIndexedType()); 612 BaseOffset += ConstIdx->getSExtValue() * ElementSize; 618 Scale = ElementSize;
|
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Analysis/ |
TargetTransformInfoImpl.h | 610 int64_t ElementSize = DL.getTypeAllocSize(GTI.getIndexedType()); 612 BaseOffset += ConstIdx->getSExtValue() * ElementSize; 618 Scale = ElementSize;
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Analysis/ |
TargetTransformInfoImpl.h | 610 int64_t ElementSize = DL.getTypeAllocSize(GTI.getIndexedType()); 612 BaseOffset += ConstIdx->getSExtValue() * ElementSize; 618 Scale = ElementSize;
|
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Analysis/ |
TargetTransformInfoImpl.h | 610 int64_t ElementSize = DL.getTypeAllocSize(GTI.getIndexedType()); 612 BaseOffset += ConstIdx->getSExtValue() * ElementSize; 618 Scale = ElementSize;
|
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Analysis/ |
TargetTransformInfoImpl.h | 610 int64_t ElementSize = DL.getTypeAllocSize(GTI.getIndexedType()); 612 BaseOffset += ConstIdx->getSExtValue() * ElementSize; 618 Scale = ElementSize;
|
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Analysis/ |
TargetTransformInfoImpl.h | 610 int64_t ElementSize = DL.getTypeAllocSize(GTI.getIndexedType()); 612 BaseOffset += ConstIdx->getSExtValue() * ElementSize; 618 Scale = ElementSize;
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Analysis/ |
TargetTransformInfoImpl.h | 610 int64_t ElementSize = DL.getTypeAllocSize(GTI.getIndexedType()); 612 BaseOffset += ConstIdx->getSExtValue() * ElementSize; 618 Scale = ElementSize;
|
/external/clang/lib/AST/ |
Type.cpp | 80 uint64_t ElementSize = Context.getTypeSizeInChars(ElementType).getQuantity(); 88 if (llvm::isPowerOf2_64(ElementSize)) { 89 return NumElements.getActiveBits() + llvm::Log2_64(ElementSize); 94 if ((ElementSize >> 32) == 0 && NumElements.getBitWidth() <= 64 && 96 uint64_t TotalSize = NumElements.getZExtValue() * ElementSize; 106 llvm::APSInt TotalSize(llvm::APInt(SizeExtended.getBitWidth(), ElementSize)); [all...] |
/external/llvm/lib/ExecutionEngine/ |
ExecutionEngine.cpp | [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
FastISel.cpp | 465 // N = N + Idx * ElementSize; 466 uint64_t ElementSize = TD.getTypeAllocSize(Ty); 474 if (ElementSize != 1) { 475 IdxN = FastEmit_ri_(VT, ISD::MUL, IdxN, IdxNIsKill, ElementSize, VT); [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
InstCombineCasts.cpp | [all...] |