reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/AST/ASTContext.h
 2189   CharUnits getDeclAlign(const Decl *D, bool ForAlignof = false) const;

References

tools/clang/lib/AST/ExprConstant.cpp
 8102     return Info.Ctx.getDeclAlign(DRE->getDecl(),
 8106     return Info.Ctx.getDeclAlign(ME->getMemberDecl(),
 8168         BaseAlignment = Info.Ctx.getDeclAlign(VD);
tools/clang/lib/CodeGen/CGBlocks.cpp
  652     CharUnits align = C.getDeclAlign(variable);
 1622     CharUnits align = getContext().getDeclAlign(variable);
 2785   CharUnits varAlign = getContext().getDeclAlign(D);
tools/clang/lib/CodeGen/CGCall.cpp
 2456       Address Alloca = CreateMemTemp(Ty, getContext().getDeclAlign(Arg),
 2514       Address alloca = CreateMemTemp(Ty, getContext().getDeclAlign(Arg));
 2538       Address Alloca = CreateMemTemp(Ty, getContext().getDeclAlign(Arg));
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 3870   CharUnits Align = CGM.getContext().getDeclAlign(VD);
tools/clang/lib/CodeGen/CGDecl.cpp
  253   GV->setAlignment(getContext().getDeclAlign(&D).getAsAlign());
  383   CharUnits alignment = getContext().getDeclAlign(&D);
 1386   CharUnits alignment = getContext().getDeclAlign(&D);
 2421       DeclPtr = CreateMemTemp(Ty, getContext().getDeclAlign(&D),
tools/clang/lib/CodeGen/CGDeclCXX.cpp
  202   ConstantAddress DeclAddr(DeclPtr, getContext().getDeclAlign(&D));
tools/clang/lib/CodeGen/CGExpr.cpp
 2379   CharUnits Alignment = CGF.getContext().getDeclAlign(VD);
 2423   CharUnits Alignment = CGF.getContext().getDeclAlign(FD);
 2456   CharUnits Alignment = CGM.getContext().getDeclAlign(VD);
 2543                                            getContext().getDeclAlign(VD));
 2580             Address(CapLVal.getPointer(), getContext().getDeclAlign(VD)),
 2621                      getContext().getDeclAlign(VD));
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 2703     return Address(Ptr, CGM.getContext().getDeclAlign(VD));
 2925                                Address(Addr, CGM.getContext().getDeclAlign(VD)),
 2964       DtorCGF.emitDestroy(Address(Addr, CGM.getContext().getDeclAlign(VD)),
 3281   Address Addr = Address(Ptr, CGF.getContext().getDeclAlign(Var));
 4804               Address(SharedRefLValue.getPointer(), C.getDeclAlign(OriginalVD)),
 4973         C.getDeclAlign(VD),
 4983         C.getDeclAlign(VD),
 4994         C.getDeclAlign(VD),
 8174     Address VDAddr = Address(Arg, CGF.getContext().getDeclAlign(VD));
 8530               CV, ElementType, CGF.getContext().getDeclAlign(VD),
10980   CharUnits Align = CGM.getContext().getDeclAlign(CVD);
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
  241             C.getDeclAlign(D).getQuantity(),
  245     GlobalizedVars.emplace_back(C.getDeclAlign(D), D);
  291       llvm::APInt Align(32, std::max(C.getDeclAlign(VD).getQuantity(),
 2322             Address(Ptr, CGM.getContext().getDeclAlign(Rec.first)), VarTy,
 2364     CharUnits Align = CGM.getContext().getDeclAlign(VD);
 2382                                      CGM.getContext().getDeclAlign(VD),
 4758       CharUnits Align = CGM.getContext().getDeclAlign(VD);
 4770       CharUnits Align = CGM.getContext().getDeclAlign(VD);
 4781       CharUnits Align = CGM.getContext().getDeclAlign(VD);
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
  140                       CGF.getContext().getDeclAlign(OrigVD)));
  531              {Var, Address(ArgAddr.getPointer(), Ctx.getDeclAlign(Var))}});
  933                     getContext().getDeclAlign(VD));
 3036                             CGF.getContext().getDeclAlign(Pair.first));
 3248                             CGF.getContext().getDeclAlign(Pair.first));
tools/clang/lib/CodeGen/CodeGenModule.cpp
 2387   CharUnits Alignment = getContext().getDeclAlign(VD);
 3501     GV->setAlignment(getContext().getDeclAlign(D).getAsAlign());
 4043   GV->setAlignment(getContext().getDeclAlign(D).getAsAlign());
 5756     Address Addr(GetAddrOfGlobalVar(VD), getContext().getDeclAlign(VD));
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 2706       CharUnits Align = CGM.getContext().getDeclAlign(VD);
 2730                             CGF.getContext().getDeclAlign(VD));
tools/clang/lib/Sema/SemaChecking.cpp
13124     return Context.getDeclAlign(DRE->getDecl());
13127     return Context.getDeclAlign(ME->getMemberDecl());
14742           std::max(CompleteObjectAlignment, Context.getDeclAlign(VD));
tools/clang/lib/Sema/SemaDecl.cpp
12662       if (Context.getDeclAlign(VD) > MaxAlignChars) {
12664           << (unsigned)Context.getDeclAlign(VD).getQuantity() << VD
tools/clang/lib/Sema/SemaOpenMP.cpp
 1869        Ctx.getDeclAlign(D) > Ctx.getTypeAlignInChars(Ctx.getUIntPtrType()))) {
tools/clang/lib/Sema/SemaStmt.cpp
 3020       Context.getDeclAlign(VD) > Context.getTypeAlignInChars(VD->getType()))