Lines Matching refs:Address
1 //===-- Address.h - An aligned address -------------------------*- C++ -*-===//
24 class Address {
28 Address(llvm::Value *pointer, CharUnits alignment)
34 static Address invalid() { return Address(nullptr, CharUnits()); }
50 /// store it in Address instead for the convenience of writing code.
72 /// A specialization of Address that requires the address to be an
74 class ConstantAddress : public Address {
77 : Address(pointer, alignment) {}
84 return llvm::cast<llvm::Constant>(Address::getPointer());
96 static bool isaImpl(Address addr) {
99 static ConstantAddress castImpl(Address addr) {
108 template <class U> inline U cast(CodeGen::Address addr) {
111 template <class U> inline bool isa(CodeGen::Address addr) {