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
32
///
AlignPtr
- Align Ptr to Alignment bytes, rounding up. Alignment should
33
/// be a power of two. This method rounds up, so
AlignPtr
(7, 4) == 8 and
34
///
AlignPtr
(8, 4) == 8.
35
char *BumpPtrAllocator::
AlignPtr
(char *Ptr, size_t Alignment) {
100
char *Ptr =
AlignPtr
(CurPtr, Alignment);
118
Ptr =
AlignPtr
((char*)(NewSlab + 1), Alignment);
125
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 118 milliseconds