OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:AlignPtr
(Results
1 - 2
of
2
) sorted by null
/external/llvm/lib/Support/
Allocator.cpp
33
///
AlignPtr
- Align Ptr to Alignment bytes, rounding up. Alignment should
34
/// be a power of two. This method rounds up, so
AlignPtr
(7, 4) == 8 and
35
///
AlignPtr
(8, 4) == 8.
36
char *BumpPtrAllocator::
AlignPtr
(char *Ptr, size_t Alignment) {
102
char *Ptr =
AlignPtr
(CurPtr, Alignment);
124
Ptr =
AlignPtr
((char*)(NewSlab + 1), Alignment);
132
Ptr =
AlignPtr
(CurPtr, Alignment);
/external/llvm/include/llvm/Support/
Allocator.h
123
///
AlignPtr
- Align Ptr to Alignment bytes, rounding up. Alignment should
124
/// be a power of two. This method rounds up, so
AlignPtr
(7, 4) == 8 and
125
///
AlignPtr
(8, 4) == 8.
126
static char *
AlignPtr
(char *Ptr, size_t Alignment);
209
Ptr = Allocator.
AlignPtr
(Ptr, alignOf<T>());
Completed in 4398 milliseconds