/external/llvm/include/llvm/Transforms/Utils/ |
SimplifyLibCalls.h | 24 class Value; 48 /// optimal value to replace the instruction with or 0 if a more 51 Value *optimizeCall(CallInst *CI); 54 Value *optimizeMemCpyChk(CallInst *CI, IRBuilder<> &B); 55 Value *optimizeMemMoveChk(CallInst *CI, IRBuilder<> &B); 56 Value *optimizeMemSetChk(CallInst *CI, IRBuilder<> &B); 59 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc::Func Func); 60 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc::Func Func); 77 function_ref<void(Instruction *, Value *)> Replacer; 83 static void replaceAllUsesWithDefault(Instruction *I, Value *With) [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseMemoryLib/ |
ScanMem16Wrapper.c | 26 Scans a target buffer for a 16-bit value, and returns a pointer to the matching 16-bit value
30 address to the highest address for a 16-bit value that matches Value. If a match is found,
40 @param Value Value to search for in the target buffer.
50 IN UINT16 Value
58 ASSERT (((UINTN)Buffer & (sizeof (Value) - 1)) == 0);
60 ASSERT ((Length & (sizeof (Value) - 1)) == 0);
62 return (VOID*)InternalMemScanMem16 (Buffer, Length / sizeof (Value), Value); [all...] |
ScanMem32Wrapper.c | 26 Scans a target buffer for a 32-bit value, and returns a pointer to the matching 32-bit value
30 address to the highest address for a 32-bit value that matches Value. If a match is found,
40 @param Value Value to search for in the target buffer.
50 IN UINT32 Value
58 ASSERT (((UINTN)Buffer & (sizeof (Value) - 1)) == 0);
60 ASSERT ((Length & (sizeof (Value) - 1)) == 0);
62 return (VOID*)InternalMemScanMem32 (Buffer, Length / sizeof (Value), Value); [all...] |
ScanMem64Wrapper.c | 25 Scans a target buffer for a 64-bit value, and returns a pointer to the matching 64-bit value
29 address to the highest address for a 64-bit value that matches Value. If a match is found,
39 @param Value Value to search for in the target buffer.
49 IN UINT64 Value
57 ASSERT (((UINTN)Buffer & (sizeof (Value) - 1)) == 0);
59 ASSERT ((Length & (sizeof (Value) - 1)) == 0);
61 return (VOID*)InternalMemScanMem64 (Buffer, Length / sizeof (Value), Value); [all...] |
SetMem16Wrapper.c | 25 Fills a target buffer with a 16-bit value, and returns the target buffer.
27 This function fills Length bytes of Buffer with the 16-bit value specified by
28 Value, and returns Buffer. Value is repeated every 16-bits in for Length
38 @param Value Value with which to fill Length bytes of Buffer.
48 IN UINT16 Value
57 ASSERT ((((UINTN)Buffer) & (sizeof (Value) - 1)) == 0);
58 ASSERT ((Length & (sizeof (Value) - 1)) == 0);
60 return InternalMemSetMem16 (Buffer, Length / sizeof (Value), Value); [all...] |
SetMem32Wrapper.c | 25 Fills a target buffer with a 32-bit value, and returns the target buffer.
27 This function fills Length bytes of Buffer with the 32-bit value specified by
28 Value, and returns Buffer. Value is repeated every 32-bits in for Length
38 @param Value Value with which to fill Length bytes of Buffer.
48 IN UINT32 Value
57 ASSERT ((((UINTN)Buffer) & (sizeof (Value) - 1)) == 0);
58 ASSERT ((Length & (sizeof (Value) - 1)) == 0);
60 return InternalMemSetMem32 (Buffer, Length / sizeof (Value), Value); [all...] |
SetMem64Wrapper.c | 26 Fills a target buffer with a 64-bit value, and returns the target buffer.
28 This function fills Length bytes of Buffer with the 64-bit value specified by
29 Value, and returns Buffer. Value is repeated every 64-bits in for Length
39 @param Value Value with which to fill Length bytes of Buffer.
49 IN UINT64 Value
58 ASSERT ((((UINTN)Buffer) & (sizeof (Value) - 1)) == 0);
59 ASSERT ((Length & (sizeof (Value) - 1)) == 0);
61 return InternalMemSetMem64 (Buffer, Length / sizeof (Value), Value); [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/BaseMemoryLib/ |
ScanMem16Wrapper.c | 29 Scans a target buffer for a 16-bit value, and returns a pointer to the matching 16-bit value
33 address to the highest address for a 16-bit value that matches Value. If a match is found,
44 @param Value The value to search for in the target buffer.
54 IN UINT16 Value
62 ASSERT (((UINTN)Buffer & (sizeof (Value) - 1)) == 0);
64 ASSERT ((Length & (sizeof (Value) - 1)) == 0);
66 return (VOID*)InternalMemScanMem16 (Buffer, Length / sizeof (Value), Value); [all...] |
ScanMem32Wrapper.c | 28 Scans a target buffer for a 32-bit value, and returns a pointer to the matching 32-bit value
32 address to the highest address for a 32-bit value that matches Value. If a match is found,
43 @param Value The value to search for in the target buffer.
53 IN UINT32 Value
61 ASSERT (((UINTN)Buffer & (sizeof (Value) - 1)) == 0);
63 ASSERT ((Length & (sizeof (Value) - 1)) == 0);
65 return (VOID*)InternalMemScanMem32 (Buffer, Length / sizeof (Value), Value); [all...] |
ScanMem64Wrapper.c | 29 Scans a target buffer for a 64-bit value, and returns a pointer to the matching 64-bit value
33 address to the highest address for a 64-bit value that matches Value. If a match is found,
44 @param Value The value to search for in the target buffer.
54 IN UINT64 Value
62 ASSERT (((UINTN)Buffer & (sizeof (Value) - 1)) == 0);
64 ASSERT ((Length & (sizeof (Value) - 1)) == 0);
66 return (VOID*)InternalMemScanMem64 (Buffer, Length / sizeof (Value), Value); [all...] |
SetMem16Wrapper.c | 28 Fills a target buffer with a 16-bit value, and returns the target buffer.
30 This function fills Length bytes of Buffer with the 16-bit value specified by
31 Value, and returns Buffer. Value is repeated every 16-bits in for Length
41 @param Value The value with which to fill Length bytes of Buffer.
51 IN UINT16 Value
60 ASSERT ((((UINTN)Buffer) & (sizeof (Value) - 1)) == 0);
61 ASSERT ((Length & (sizeof (Value) - 1)) == 0);
63 return InternalMemSetMem16 (Buffer, Length / sizeof (Value), Value); [all...] |
SetMem32Wrapper.c | 28 Fills a target buffer with a 32-bit value, and returns the target buffer.
30 This function fills Length bytes of Buffer with the 32-bit value specified by
31 Value, and returns Buffer. Value is repeated every 32-bits in for Length
41 @param Value The value with which to fill Length bytes of Buffer.
51 IN UINT32 Value
60 ASSERT ((((UINTN)Buffer) & (sizeof (Value) - 1)) == 0);
61 ASSERT ((Length & (sizeof (Value) - 1)) == 0);
63 return InternalMemSetMem32 (Buffer, Length / sizeof (Value), Value); [all...] |
SetMem64Wrapper.c | 28 Fills a target buffer with a 64-bit value, and returns the target buffer.
30 This function fills Length bytes of Buffer with the 64-bit value specified by
31 Value, and returns Buffer. Value is repeated every 64-bits in for Length
41 @param Value The value with which to fill Length bytes of Buffer.
51 IN UINT64 Value
60 ASSERT ((((UINTN)Buffer) & (sizeof (Value) - 1)) == 0);
61 ASSERT ((Length & (sizeof (Value) - 1)) == 0);
63 return InternalMemSetMem64 (Buffer, Length / sizeof (Value), Value); [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/BaseMemoryLibMmx/ |
ScanMem16Wrapper.c | 29 Scans a target buffer for a 16-bit value, and returns a pointer to the matching 16-bit value
33 address to the highest address for a 16-bit value that matches Value. If a match is found,
44 @param Value The value to search for in the target buffer.
54 IN UINT16 Value
62 ASSERT (((UINTN)Buffer & (sizeof (Value) - 1)) == 0);
64 ASSERT ((Length & (sizeof (Value) - 1)) == 0);
66 return (VOID*)InternalMemScanMem16 (Buffer, Length / sizeof (Value), Value); [all...] |
ScanMem32Wrapper.c | 28 Scans a target buffer for a 32-bit value, and returns a pointer to the matching 32-bit value
32 address to the highest address for a 32-bit value that matches Value. If a match is found,
43 @param Value Thevalue to search for in the target buffer.
53 IN UINT32 Value
61 ASSERT (((UINTN)Buffer & (sizeof (Value) - 1)) == 0);
63 ASSERT ((Length & (sizeof (Value) - 1)) == 0);
65 return (VOID*)InternalMemScanMem32 (Buffer, Length / sizeof (Value), Value);
[all...] |
ScanMem64Wrapper.c | 29 Scans a target buffer for a 64-bit value, and returns a pointer to the matching 64-bit value
33 address to the highest address for a 64-bit value that matches Value. If a match is found,
44 @param Value The value to search for in the target buffer.
54 IN UINT64 Value
62 ASSERT (((UINTN)Buffer & (sizeof (Value) - 1)) == 0);
64 ASSERT ((Length & (sizeof (Value) - 1)) == 0);
66 return (VOID*)InternalMemScanMem64 (Buffer, Length / sizeof (Value), Value); [all...] |
SetMem16Wrapper.c | 28 Fills a target buffer with a 16-bit value, and returns the target buffer.
30 This function fills Length bytes of Buffer with the 16-bit value specified by
31 Value, and returns Buffer. Value is repeated every 16-bits in for Length
41 @param Value The value with which to fill Length bytes of Buffer.
51 IN UINT16 Value
60 ASSERT ((((UINTN)Buffer) & (sizeof (Value) - 1)) == 0);
61 ASSERT ((Length & (sizeof (Value) - 1)) == 0);
63 return InternalMemSetMem16 (Buffer, Length / sizeof (Value), Value); [all...] |
SetMem32Wrapper.c | 28 Fills a target buffer with a 32-bit value, and returns the target buffer.
30 This function fills Length bytes of Buffer with the 32-bit value specified by
31 Value, and returns Buffer. Value is repeated every 32-bits in for Length
41 @param Value The value with which to fill Length bytes of Buffer.
51 IN UINT32 Value
60 ASSERT ((((UINTN)Buffer) & (sizeof (Value) - 1)) == 0);
61 ASSERT ((Length & (sizeof (Value) - 1)) == 0);
63 return InternalMemSetMem32 (Buffer, Length / sizeof (Value), Value); [all...] |
SetMem64Wrapper.c | 28 Fills a target buffer with a 64-bit value, and returns the target buffer.
30 This function fills Length bytes of Buffer with the 64-bit value specified by
31 Value, and returns Buffer. Value is repeated every 64-bits in for Length
41 @param Value The value with which to fill Length bytes of Buffer.
51 IN UINT64 Value
60 ASSERT ((((UINTN)Buffer) & (sizeof (Value) - 1)) == 0);
61 ASSERT ((Length & (sizeof (Value) - 1)) == 0);
63 return InternalMemSetMem64 (Buffer, Length / sizeof (Value), Value); [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/BaseMemoryLibOptDxe/ |
ScanMem16Wrapper.c | 29 Scans a target buffer for a 16-bit value, and returns a pointer to the matching 16-bit value
33 address to the highest address for a 16-bit value that matches Value. If a match is found,
44 @param Value The value to search for in the target buffer.
54 IN UINT16 Value
62 ASSERT (((UINTN)Buffer & (sizeof (Value) - 1)) == 0);
64 ASSERT ((Length & (sizeof (Value) - 1)) == 0);
66 return (VOID*)InternalMemScanMem16 (Buffer, Length / sizeof (Value), Value); [all...] |
ScanMem32Wrapper.c | 28 Scans a target buffer for a 32-bit value, and returns a pointer to the matching 32-bit value
32 address to the highest address for a 32-bit value that matches Value. If a match is found,
43 @param Value The value to search for in the target buffer.
53 IN UINT32 Value
61 ASSERT (((UINTN)Buffer & (sizeof (Value) - 1)) == 0);
63 ASSERT ((Length & (sizeof (Value) - 1)) == 0);
65 return (VOID*)InternalMemScanMem32 (Buffer, Length / sizeof (Value), Value); [all...] |
ScanMem64Wrapper.c | 29 Scans a target buffer for a 64-bit value, and returns a pointer to the matching 64-bit value
33 address to the highest address for a 64-bit value that matches Value. If a match is found,
44 @param Value The value to search for in the target buffer.
54 IN UINT64 Value
62 ASSERT (((UINTN)Buffer & (sizeof (Value) - 1)) == 0);
64 ASSERT ((Length & (sizeof (Value) - 1)) == 0);
66 return (VOID*)InternalMemScanMem64 (Buffer, Length / sizeof (Value), Value); [all...] |
SetMem16Wrapper.c | 28 Fills a target buffer with a 16-bit value, and returns the target buffer.
30 This function fills Length bytes of Buffer with the 16-bit value specified by
31 Value, and returns Buffer. Value is repeated every 16-bits in for Length
41 @param Value The value with which to fill Length bytes of Buffer.
51 IN UINT16 Value
60 ASSERT ((((UINTN)Buffer) & (sizeof (Value) - 1)) == 0);
61 ASSERT ((Length & (sizeof (Value) - 1)) == 0);
63 return InternalMemSetMem16 (Buffer, Length / sizeof (Value), Value); [all...] |
SetMem32Wrapper.c | 28 Fills a target buffer with a 32-bit value, and returns the target buffer.
30 This function fills Length bytes of Buffer with the 32-bit value specified by
31 Value, and returns Buffer. Value is repeated every 32-bits in for Length
41 @param Value The value with which to fill Length bytes of Buffer.
51 IN UINT32 Value
60 ASSERT ((((UINTN)Buffer) & (sizeof (Value) - 1)) == 0);
61 ASSERT ((Length & (sizeof (Value) - 1)) == 0);
63 return InternalMemSetMem32 (Buffer, Length / sizeof (Value), Value); [all...] |
SetMem64Wrapper.c | 28 Fills a target buffer with a 64-bit value, and returns the target buffer.
30 This function fills Length bytes of Buffer with the 64-bit value specified by
31 Value, and returns Buffer. Value is repeated every 64-bits in for Length
41 @param Value The value with which to fill Length bytes of Buffer.
51 IN UINT64 Value
60 ASSERT ((((UINTN)Buffer) & (sizeof (Value) - 1)) == 0);
61 ASSERT ((Length & (sizeof (Value) - 1)) == 0);
63 return InternalMemSetMem64 (Buffer, Length / sizeof (Value), Value); [all...] |