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

References

tools/clang/lib/CodeGen/CGAtomic.cpp
  123                                   .getElementType()->getVectorNumElements());
 1339   llvm::Type *Ty = Addr.getElementType();
 1749       requiresMemSetZero(getAtomicAddress().getElementType())) {
 1783       requiresMemSetZero(getAtomicAddress().getElementType())) {
 1835       requiresMemSetZero(getAtomicAddress().getElementType())) {
 1865       requiresMemSetZero(getAtomicAddress().getElementType())) {
 1920          rvalue.getAggregateAddress().getElementType()
 1921            == dest.getAddress().getElementType());
 1960         intValue, addr.getElementType(), /*isSigned=*/false);
 1987          Expected.getAggregateAddress().getElementType() ==
 1988              Obj.getAddress().getElementType());
 1990          Desired.getAggregateAddress().getElementType() ==
 1991              Obj.getAddress().getElementType());
tools/clang/lib/CodeGen/CGBuilder.h
  180     llvm::StructType *ElTy = cast<llvm::StructType>(Addr.getElementType());
  185     return Address(CreateStructGEP(Addr.getElementType(),
  200     llvm::ArrayType *ElTy = cast<llvm::ArrayType>(Addr.getElementType());
  218     llvm::Type *ElTy = Addr.getElementType();
  222     return Address(CreateInBoundsGEP(Addr.getElementType(), Addr.getPointer(),
  236         CharUnits::fromQuantity(DL.getTypeAllocSize(Addr.getElementType()));
  238     return Address(CreateGEP(Addr.getElementType(), Addr.getPointer(),
  246     assert(Addr.getElementType() == TypeCache.Int8Ty);
  252     assert(Addr.getElementType() == TypeCache.Int8Ty);
  263         Addr.getElementType(), Addr.getPointer(), Idx0, Idx1, Name));
  307     llvm::StructType *ElTy = cast<llvm::StructType>(Addr.getElementType());
tools/clang/lib/CodeGen/CGBuiltin.cpp
 1335   llvm::Type *ResTy = ResultPtr.getElementType();
 3773       B.addByValAttr(NDRangeL.getAddress().getElementType());
 3796           CGM.getDataLayout().getTypeAllocSize(Tmp.getElementType()), TmpPtr);
13863                                      PredOutPtr.getElementType());
13931                                   Dst.getElementType()),
14052     llvm::Type *DType = Dst.getElementType();
tools/clang/lib/CodeGen/CGCUDANV.cpp
   98     return llvm::ConstantExpr::getGetElementPtr(ConstStr.getElementType(),
tools/clang/lib/CodeGen/CGCall.cpp
 1149   llvm::Type *SrcTy = SrcPtr.getElementType();
 1219   llvm::Type *SrcTy = Src.getElementType();
 2468         llvm::Type *DstTy = Ptr.getElementType();
 3139   value = CGF.Builder.CreateBitCast(value, srcAddr.getElementType(),
 4005               CGM.getDataLayout().getTypeAllocSize(AI.getElementType());
tools/clang/lib/CodeGen/CGClass.cpp
  204   assert(This.getElementType() == ConvertType(Derived));
tools/clang/lib/CodeGen/CGDecl.cpp
  690                                          destLV.getAddress().getElementType());
  781     auto ty = cast<llvm::PointerType>(tempLV.getAddress().getElementType());
 1192       if (STy == Loc.getElementType()) {
 1203       if (ATy == Loc.getElementType()) {
 1225   llvm::Type *ElTy = Loc.getElementType();
 1234   llvm::Type *ElTy = Loc.getElementType();
 1704     llvm::Type *ElTy = Loc.getElementType();
tools/clang/lib/CodeGen/CGExpr.cpp
  506               CGM.getDataLayout().getTypeAllocSize(Alloca.getElementType()),
  537               CGM.getDataLayout().getTypeAllocSize(Alloca.getElementType()),
 1643       const llvm::Type *EltTy = Addr.getElementType();
 1737       if (Addr.getElementType() != SrcTy) {
 2034   SrcVal = Builder.CreateIntCast(SrcVal, Ptr.getElementType(),
 2715         !LV.getAddress().getElementType()->isStructTy()) {
 3332     assert(isa<llvm::ArrayType>(Addr.getElementType()) &&
 3627         assert(isa<llvm::ArrayType>(Addr.getElementType()) &&
 4011     if (Addr.getElementType() != FieldIntTy)
tools/clang/lib/CodeGen/CGExprAgg.cpp
 1483     auto AType = cast<llvm::ArrayType>(Dest.getAddress().getElementType());
tools/clang/lib/CodeGen/CGExprCXX.cpp
 2060   assert(ConvertTypeForMem(DeleteTy) == Ptr.getElementType());
tools/clang/lib/CodeGen/CGNonTrivialStruct.cpp
  229   llvm::Type *Ty = Addr.getElementType();
tools/clang/lib/CodeGen/CGObjC.cpp
   40   llvm::Type *type = addr.getElementType();
  635     llvm::Type *selfTy = selfAddr.getElementType();
 2018   llvm::Type *origType = addr.getElementType();
 2038   assert(addr.getElementType() == value->getType());
 2279   assert(addr.getElementType() == value->getType());
tools/clang/lib/CodeGen/CGObjCGNU.cpp
  206     return llvm::ConstantExpr::getGetElementPtr(Array.getElementType(),
 2741       llvm::Type *RetTy = v.getElementType();
tools/clang/lib/CodeGen/CGObjCMac.cpp
 4789   llvm::Type* DestTy = AddrWeakObj.getElementType();
 7568   llvm::Type *DestTy = AddrWeakObj.getElementType();
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
  871       CGF.Builder.CreateElementBitCast(DestAddr, DestAddr.getElementType());
  874         CGF.Builder.CreateElementBitCast(SrcAddr, DestAddr.getElementType());
 1143     Ty = Tmp.getElementType();
 2726   llvm::Type *VarTy = VDAddr.getElementType();
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 3074                                                SrcElementAddr.getElementType());
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
  648   SrcAddr = Builder.CreateElementBitCast(SrcAddr, DestAddr.getElementType());
 3760                          X.getAddress().getElementType())) ||
 3761       !X.getAddress().getElementType()->isIntegerTy() ||
 3833         IC, X.getAddress().getElementType(),
tools/clang/lib/CodeGen/CGVTables.cpp
  412     llvm::Type *ThisType = ThisAddr.getElementType();
tools/clang/lib/CodeGen/CodeGenFunction.cpp
 1629   if (DestPtr.getElementType() != Int8Ty)
 1761     dyn_cast<llvm::ArrayType>(addr.getElementType());
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 1979   llvm::Type *T = CGF.ReturnValue.getElementType();
tools/clang/lib/CodeGen/TargetInfo.cpp
  296   if (VAListAddr.getElementType() != CGF.Int8PtrTy)
 4255     assert(RegAddr.getElementType() == CGF.Int8Ty);
 7285     llvm::Type *IntTy = (OrigTy->isIntegerType() ? Temp.getElementType()
 7289       V = CGF.Builder.CreateIntToPtr(V, Temp.getElementType());