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

References

tools/clang/lib/CodeGen/Address.h
   89                            getAlignment());
  101                            addr.getAlignment());
tools/clang/lib/CodeGen/CGAtomic.cpp
  771   bool Misaligned = (Ptr.getAlignment() % sizeChars) != 0;
tools/clang/lib/CodeGen/CGBuilder.h
   71                              Addr.getAlignment().getQuantity(),
   78                              Addr.getAlignment().getQuantity(),
   84                              Addr.getAlignment().getQuantity(),
  110                               Addr.getAlignment().getQuantity(), IsVolatile);
  144                    Addr.getAlignment());
  151                    Addr.getAlignment());
  167     return Address(Ptr, Addr.getAlignment());
  187                    Addr.getAlignment().alignmentAtOffset(Offset));
  208         Addr.getAlignment().alignmentAtOffset(Index * EltSize));
  224                    Addr.getAlignment().alignmentAtOffset(Index * EltSize));
  240                    Addr.getAlignment().alignmentAtOffset(Index * EltSize));
  248                    Addr.getAlignment().alignmentAtOffset(Offset));
  254                    Addr.getAlignment().alignmentAtOffset(Offset));
  269     return Address(GEP, Addr.getAlignment().alignmentAtOffset(
  276     return CreateMemCpy(Dest.getPointer(), Dest.getAlignment().getQuantity(),
  277                         Src.getPointer(), Src.getAlignment().getQuantity(),
  282     return CreateMemCpy(Dest.getPointer(), Dest.getAlignment().getQuantity(),
  283                         Src.getPointer(), Src.getAlignment().getQuantity(),
  290     return CreateMemMove(Dest.getPointer(), Dest.getAlignment().getQuantity(),
  291                          Src.getPointer(), Src.getAlignment().getQuantity(),
  299                         Dest.getAlignment().getQuantity(), IsVolatile);
  314                    Addr.getAlignment().alignmentAtOffset(Offset));
tools/clang/lib/CodeGen/CGBuiltin.cpp
 1279       Layout, BufAddr.getAlignment());
 1853     CharUnits Arg0Align = EmitPointerWithAlignment(E->getArg(0)).getAlignment();
 4100                        DestAddr.getAlignment());
 4102                       SrcAddr.getAlignment());
 5258     return Builder.getInt32(addr.getAlignment().getQuantity());
 6348     return Builder.getInt32(addr.getAlignment().getQuantity());
14456                  BP.getAlignment());
14473     Builder.CreateAlignedStore(NewBase, LV, Dest.getAlignment());
14481                  BP.getAlignment());
14497     return Builder.CreateAlignedStore(NewBase, LV, Dest.getAlignment());
14515                        DestAddr.getAlignment());
14534     Builder.CreateAlignedStore(DestVal, DestForStore, DestAddr.getAlignment());
14559     Builder.CreateAlignedStore(Vprd, Base, Dest.getAlignment());
14581     Builder.CreateAlignedStore(Vprd, Base, Dest.getAlignment());
tools/clang/lib/CodeGen/CGCall.cpp
 1007     BaseAddr.getAlignment().alignmentOfArrayElement(EltSize);
 1256   Address Tmp = CreateTempAllocaForCoercion(CGF, Ty, Src.getAlignment());
 1333     Address Tmp = CreateTempAllocaForCoercion(CGF, SrcTy, Dst.getAlignment());
 2476             CreateTempAlloca(STy, Alloca.getAlignment(), "coerce");
 3968         if (Addr.getAlignment() < Align &&
 4107             = CreateTempAlloca(STy, Src.getAlignment(),
tools/clang/lib/CodeGen/CGCall.h
  378         Alignment(Addr.isValid() ? Addr.getAlignment() : CharUnits::Zero()) {}
tools/clang/lib/CodeGen/CGClass.cpp
  143     CGM.getDynamicOffsetAlignment(base.getAlignment(),
  258     alignment = CGF.CGM.getVBaseAlignment(addr.getAlignment(),
  261     alignment = addr.getAlignment();
  369     Value = Address(PHI, Value.getAlignment());
 1963     arrayBase.getAlignment()
tools/clang/lib/CodeGen/CGCleanup.cpp
   64                       V.getAlignment().getQuantity());
   70                     V.getAlignment().getQuantity());
  307   store->setAlignment(addr.getAlignment().getAsAlign());
  313   load->setAlignment(addr.getAlignment().getAsAlign());
tools/clang/lib/CodeGen/CGCleanup.h
  328     assert(Var.getAlignment().isOne());
tools/clang/lib/CodeGen/CGDecl.cpp
 1218                            CGM, D, Builder, constant, Loc.getAlignment()),
 1727     CharUnits CurAlign = Loc.getAlignment().alignmentOfArrayElement(EltSize);
 2111     addr.getAlignment()
 2393                         DeclPtr.getAlignment());
tools/clang/lib/CodeGen/CGException.cpp
 1748   return Address(ChildVar, ParentVar.getAlignment());
tools/clang/lib/CodeGen/CGExpr.cpp
  129   Store->setAlignment(Var.getAlignment().getAsAlign());
  436                        Object.getAlignment());
  494                      Object.getAlignment());
 3427     getArrayElementAlign(addr.getAlignment(), indices.back(), eltSize);
 3555       getArrayElementAlign(Addr.getAlignment(), Idx, InterfaceSize);
 4069       addr = Address(stripped, addr.getAlignment());
 4081                      addr.getAlignment());
 4090           addr.getAlignment());
 4434     return MakeAddrLValue(Address(V, LV.getAddress().getAlignment()),
tools/clang/lib/CodeGen/CGExprAgg.cpp
  488     DestPtr.getAlignment().alignmentOfArrayElement(elementSize);
 1664       destPtr.getAlignment().alignmentOfArrayElement(elementSize);
tools/clang/lib/CodeGen/CGExprCXX.cpp
  534                                DestPtr.getAlignment());
  984     BeginPtr.getAlignment().alignmentOfArrayElement(ElementSize);
 1038                   CurPtr.getAlignment().alignmentAtOffset(InitListElements *
 1078     CharUnits StartAlign = CurPtr.getAlignment();
 1701                      result.getAlignment());
 1712                 result.getPointer(), allocType, result.getAlignment(),
 1995       deletedPtr.getAlignment().alignmentOfArrayElement(elementSize);
 2057                   Ptr.getAlignment());
tools/clang/lib/CodeGen/CGNonTrivialStruct.cpp
  390           PHIs[I], StartAddrs[I].getAlignment().alignmentAtOffset(EltSize));
  487       Alignments[I] = Addrs[I].getAlignment();
  854   GenDefaultInitializeFuncName GenName(DstPtr.getAlignment(), getContext());
  878   GenDestructorFuncName GenName("__destructor_", DstPtr.getAlignment(),
  889   GenBinaryFuncName<false> GenName("__copy_constructor_", DstPtr.getAlignment(),
  890                                    SrcPtr.getAlignment(), getContext());
  903   GenBinaryFuncName<false> GenName("__copy_assignment_", DstPtr.getAlignment(),
  904                                    SrcPtr.getAlignment(), getContext());
  914   GenBinaryFuncName<true> GenName("__move_constructor_", DstPtr.getAlignment(),
  915                                   SrcPtr.getAlignment(), getContext());
  928   GenBinaryFuncName<true> GenName("__move_assignment_", DstPtr.getAlignment(),
  929                                   SrcPtr.getAlignment(), getContext());
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 2742       Address NullVal = CGF.CreateTempAlloca(RetTy, v.getAlignment(), "null");
 2746       msgRet = RValue::getAggregate(Address(phi, v.getAlignment()));
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
  903                 SrcAddr.getAlignment().alignmentOfArrayElement(ElementSize));
  910               DestAddr.getAlignment().alignmentOfArrayElement(ElementSize));
 2734                  VDAddr.getAlignment());
 2788       Address Arg = Address(ArgVal, VDAddr.getAlignment());
 2824       DtorCGF.emitDestroy(Address(ArgVal, VDAddr.getAlignment()), ASTTy,
 5504               RHSAddr.getAlignment().alignmentOfArrayElement(ElementSize));
 5511               LHSAddr.getAlignment().alignmentOfArrayElement(ElementSize));
 8922                           .getAlignment()
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 2346             LocalAddr.getAlignment());
 2908       Ptr = Address(PhiSrc, Ptr.getAlignment());
 2909       ElemPtr = Address(PhiDest, ElemPtr.getAlignment());
 3297                           ElemPtr.getAlignment());
 3362                                 TargetElemPtr.getAlignment());
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
  672               SrcAddr.getAlignment().alignmentOfArrayElement(ElementSize));
  679             DestAddr.getAlignment().alignmentOfArrayElement(ElementSize));
 3062                     Replacement.getAlignment());
 3113             Replacement.getAlignment());
tools/clang/lib/CodeGen/CGValue.h
  111     auto align = static_cast<uintptr_t>(addr.getAlignment().getQuantity());
  330     Alignment = address.getAlignment().getQuantity();
  375     R.Initialize(type, qs, address.getAlignment(), BaseInfo, TBAAInfo);
  386     R.Initialize(type, type.getQualifiers(), vecAddress.getAlignment(),
  398     R.Initialize(type, type.getQualifiers(), vecAddress.getAlignment(),
  416     R.Initialize(type, type.getQualifiers(), Addr.getAlignment(), BaseInfo,
  425     R.Initialize(type, type.getQualifiers(), Reg.getAlignment(),
  524       AV.Alignment = addr.getAlignment().getQuantity();
tools/clang/lib/CodeGen/CodeGenFunction.cpp
 1600     dest.getAlignment().alignmentOfArrayElement(baseSize);
 1673     CharUnits NullAlign = DestPtr.getAlignment();
 1795                    addr.getAlignment());
 2114   return Address(V, Addr.getAlignment());
tools/clang/lib/CodeGen/CodeGenFunction.h
  184              value.getAlignment() };
 1037     store->setAlignment(addr.getAlignment().getAsAlign());
 1439       CGF.CXXThisAlignment = CGF.CXXDefaultInitExprThis.getAlignment();
 2786       assert(!addr.getAlignment().isZero());
 2787       return ParamValue(addr.getPointer(), addr.getAlignment().getQuantity());
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
  632     CGF.CGM.getDynamicOffsetAlignment(ThisAddr.getAlignment(), RD,
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
  921     CGF.CGM.getVBaseAlignment(Value.getAlignment(), SrcDecl, PolymorphicBase);
 1429       CGF.CGM.getVBaseAlignment(Result.getAlignment(), Derived, VBase);
 2955     VBPtrAlign = This.getAlignment().alignmentAtOffset(
tools/clang/lib/CodeGen/TargetInfo.cpp
  381   CharUnits Align = std::min(Addr1.getAlignment(), Addr2.getAlignment());
  381   CharUnits Align = std::min(Addr1.getAlignment(), Addr2.getAlignment());
 4270                       RegAddr.getAlignment().alignmentOfArrayElement(RegSize));
 5465     CharUnits SlotSize = BaseAddr.getAlignment();