#include "clang/CodeGen/ConstantInitBuilder.h"
#include "CodeGenModule.h"
usingnamespaceclang;
usingnamespaceCodeGen;
llvm::Type *ConstantInitFuture::getType() const { … }
void ConstantInitFuture::abandon() { … }
void ConstantInitFuture::installInGlobal(llvm::GlobalVariable *GV) { … }
ConstantInitFuture
ConstantInitBuilderBase::createFuture(llvm::Constant *initializer) { … }
inline ConstantInitFuture::ConstantInitFuture(ConstantInitBuilderBase *builder)
: … { … }
llvm::GlobalVariable *
ConstantInitBuilderBase::createGlobal(llvm::Constant *initializer,
const llvm::Twine &name,
CharUnits alignment,
bool constant,
llvm::GlobalValue::LinkageTypes linkage,
unsigned addressSpace) { … }
void ConstantInitBuilderBase::setGlobalInitializer(llvm::GlobalVariable *GV,
llvm::Constant *initializer){ … }
void ConstantInitBuilderBase::resolveSelfReferences(llvm::GlobalVariable *GV) { … }
void ConstantInitBuilderBase::abandon(size_t newEnd) { … }
void ConstantAggregateBuilderBase::addSize(CharUnits size) { … }
llvm::Constant *
ConstantAggregateBuilderBase::getRelativeOffset(llvm::IntegerType *offsetType,
llvm::Constant *target) { … }
llvm::Constant *ConstantAggregateBuilderBase::getRelativeOffsetToPosition(
llvm::IntegerType *offsetType, llvm::Constant *target, size_t position) { … }
llvm::Constant *
ConstantAggregateBuilderBase::getAddrOfPosition(llvm::Type *type,
size_t position) { … }
llvm::Constant *
ConstantAggregateBuilderBase::getAddrOfCurrentPosition(llvm::Type *type) { … }
void ConstantAggregateBuilderBase::getGEPIndicesTo(
llvm::SmallVectorImpl<llvm::Constant*> &indices,
size_t position) const { … }
ConstantAggregateBuilderBase::PlaceholderPosition
ConstantAggregateBuilderBase::addPlaceholderWithSize(llvm::Type *type) { … }
CharUnits ConstantAggregateBuilderBase::getOffsetFromGlobalTo(size_t end) const{ … }
llvm::Constant *ConstantAggregateBuilderBase::finishArray(llvm::Type *eltTy) { … }
llvm::Constant *
ConstantAggregateBuilderBase::finishStruct(llvm::StructType *ty) { … }
void ConstantAggregateBuilderBase::addSignedPointer(
llvm::Constant *Pointer, const PointerAuthSchema &Schema,
GlobalDecl CalleeDecl, QualType CalleeType) { … }