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

Declarations

tools/clang/lib/CodeGen/CodeGenFunction.h
 2037   llvm::Type *ConvertType(QualType T);

References

tools/clang/lib/CodeGen/CGBlocks.cpp
 1174       blockAddr.getPointer(), ConvertType(blockInfo.getBlockExpr()->getType()));
tools/clang/lib/CodeGen/CGBuiltin.cpp
  248                                   CGF.ConvertType(E->getType()));
  299   auto *IntTy = CGF.ConvertType(E->getType());
  312   auto *IntTy = CGF.ConvertType(E->getType());
  398    llvm::Type *ResultType = CGF.ConvertType(E->getType());
  921     llvm::Type *ResultType = ConvertType(E->getType());
 1272     ArgVal = Builder.CreateZExtOrBitCast(ArgVal, ConvertType(ArgTy));
 1433           FieldPtr, CGF.ConvertType(Context.getPointerType(FD->getType())));
 1435       FieldPtr = CGF.Builder.CreateStructGEP(CGF.ConvertType(RType), FieldPtr,
 1904     llvm::Type *ResultType = ConvertType(E->getType());
 1924     llvm::Type *ResultType = ConvertType(E->getType());
 1941     llvm::Type *ResultType = ConvertType(E->getType());
 1958     llvm::Type *ResultType = ConvertType(E->getType());
 1979     llvm::Type *ResultType = ConvertType(E->getType());
 1995     llvm::Type *ResultType = ConvertType(E->getType());
 2013     llvm::Type *ResultType = ConvertType(E->getType());
 2102     llvm::Type *ResultType = ConvertType(E->getType());
 2124       ArgValue = Builder.CreateBitCast(ArgValue, ConvertType(ArgType));
 2127         CGM.getIntrinsic(Intrinsic::is_constant, ConvertType(ArgType));
 2137     auto *ResType = cast<llvm::IntegerType>(ConvertType(E->getType()));
 2222     return RValue::get(Builder.CreateZExt(LHS, ConvertType(E->getType())));
 2227     return RValue::get(Builder.CreateZExt(V, ConvertType(E->getType())));
 2248     return RValue::get(Builder.CreateZExt(FCmp, ConvertType(E->getType())));
 2259     llvm::Type *IntTy = ConvertType(E->getType());
 2283     return RValue::get(Builder.CreateZExt(V, ConvertType(E->getType())));
 2289     llvm::Type *ResultType = ConvertType(E->getType());
 2299     llvm::Type *Ty = ConvertType(E->getArg(5)->getType());
 2306       Builder.CreatePHI(ConvertType(E->getArg(0)->getType()), 4,
 2499     llvm::Type *WCharTy = ConvertType(getContext().WCharTy);
 2593       = cast<llvm::IntegerType>(ConvertType(E->getType()));
 2605     return RValue::get(llvm::UndefValue::get(ConvertType(E->getType())));
 3108                            ConvertType(E->getType())));
 3636     llvm::Type *ReservedIDTy = ConvertType(getContext().OCLReserveIDTy);
 3737       ConvertType(E->getType())));
 3746     llvm::Type *QueueTy = ConvertType(getContext().OCLQueueTy);
 3847       llvm::Type *EventTy = ConvertType(getContext().OCLClkEventTy);
 4201       RetTy = ConvertType(BuiltinRetType);
 5146     llvm::Type *Ty = ConvertType(E->getCallReturnType(getContext()));
 5205   llvm::Type *ArgTy = CGF.ConvertType(Arg->getType());
 5227   llvm::Type *ResultType = CGF.ConvertType(E->getType());
 5807   llvm::Type *ResultType = ConvertType(E->getType());
 6145     return Builder.CreateBitCast(RtAndRt2, ConvertType(E->getType()));
 6179     return Builder.CreateBitCast(Val, ConvertType(E->getType()));
 6187     llvm::Type *RealResTy = ConvertType(Ty);
 6817     auto MvecLType = ConvertType(MvecCType);
 6833     Tys.push_back(ConvertType(Addr->getType()));
 6855     Tys.push_back(ConvertType(Addr->getType()));
 6858     auto MvecLType = ConvertType(MvecCType);
 7172     return Builder.CreateBitCast(Val, ConvertType(E->getType()));
 7178     llvm::Type *RealResTy = ConvertType(Ty);
 7323     llvm::Type *T = ConvertType(E->getType());
 7740         Ops[0], ConvertType(E->getCallReturnType(getContext())),
 7748         Ops[0], ConvertType(E->getCallReturnType(getContext())),
 7756         Ops[0], ConvertType(E->getCallReturnType(getContext())),
 7764         Ops[0], ConvertType(E->getCallReturnType(getContext())),
 7772         Ops[0], ConvertType(E->getCallReturnType(getContext())),
 8415     llvm::Type *Ty = ConvertType(E->getCallReturnType(getContext()));
10017   llvm::Type *ResultType = CGF.ConvertType(E->getType());
10269     return llvm::Constant::getNullValue(ConvertType(E->getType()));
10406     llvm::Type *ResultType = ConvertType(E->getType());
10422     return EmitX86SExtMask(*this, Ops[0], ConvertType(E->getType()));
10862     llvm::Type *DstTy = ConvertType(E->getType());
11116       return llvm::Constant::getNullValue(ConvertType(E->getType()));
11468     return Builder.CreateZExt(Cmp, ConvertType(E->getType()));
11477     return Builder.CreateZExt(Cmp, ConvertType(E->getType()));
12182     llvm::Type *ResType = ConvertType(E->getType());
12296     return Builder.CreateZExt(Success, ConvertType(E->getType()));
12328     llvm::Type *IntTy = ConvertType(E->getType());
12340     llvm::Type *IntTy = ConvertType(E->getType());
12530     llvm::Type *ResultType = ConvertType(E->getType());
12541     llvm::Type *ResultType = ConvertType(E->getType());
12551     llvm::Type *ResultType = ConvertType(E->getType());
12561     llvm::Type *ResultType = ConvertType(E->getType());
12569     llvm::Type *ResultType = ConvertType(E->getType());
12587     llvm::Type *ResultType = ConvertType(E->getType());
12611     llvm::Type *ResultType = ConvertType(E->getType());
12626     llvm::Type *ResultType = ConvertType(E->getType());
12754     auto RetTy = ConvertType(BIRetType);
12795     auto RetTy = ConvertType(BIRetType);
12807     return Builder.CreateBitCast(Res, ConvertType(E->getType()));
12813         Ops[0], llvm::VectorType::get(ConvertType(E->getType()), 2));
13075     llvm::Type *ResultType = ConvertType(E->getType());
13085     llvm::Type *ResultType = ConvertType(E->getType());
13096     llvm::Type *ResultType = ConvertType(E->getType());
13105     llvm::Type *ResultType = ConvertType(E->getType());
13112     llvm::Type *ResultType = ConvertType(E->getType());
13121     llvm::Type *ResultType = ConvertType(E->getType());
13131     llvm::Type *ResultType = ConvertType(E->getType());
13141     llvm::Type *ResultType = ConvertType(E->getType());
13152     llvm::Type *ResultType = ConvertType(E->getType());
13159     llvm::Type *ResultType = ConvertType(E->getType());
13167     llvm::Type *ResultType = ConvertType(E->getType());
13213     llvm::Type *ResultType = ConvertType(E->getType());
13243     llvm::Type *ResultType = ConvertType(E->getType());
13275     llvm::Type *ResultType = ConvertType(E->getType());
14069     llvm::Type *ResultType = ConvertType(E->getType());
14075     llvm::Type *ResultType = ConvertType(E->getType());
14108     llvm::Type *ResultType = ConvertType(E->getType());
14113     llvm::Type *ResultType = ConvertType(E->getType());
14156     llvm::Type *ResT = ConvertType(E->getType());
14166     llvm::Type *ResT = ConvertType(E->getType());
14178     llvm::Type *ResT = ConvertType(E->getType());
14190     llvm::Type *ResT = ConvertType(E->getType());
14202                                      ConvertType(E->getType()));
14212                                      ConvertType(E->getType()));
14238       return Builder.CreateSExt(Extract, ConvertType(E->getType()));
14241       return Builder.CreateZExt(Extract, ConvertType(E->getType()));
14266       llvm::Type *ElemType = ConvertType(E->getType())->getVectorElementType();
14310     Function *Callee = CGM.getIntrinsic(IntNo, ConvertType(E->getType()));
14318                                      ConvertType(E->getType()));
14405         CGM.getIntrinsic(IntNo, {ConvertType(E->getType()), Low->getType()});
14439         CGM.getIntrinsic(IntNo, {ConvertType(E->getType()), Vec->getType()});
tools/clang/lib/CodeGen/CGCXXABI.cpp
   62   llvm::Type *Ty = CGF.ConvertType(MPT->getPointeeType())
tools/clang/lib/CodeGen/CGCall.cpp
 2167   llvm::Type *varType = CGF.ConvertType(var->getType());
 2353           ArgI.getCoerceToType() == ConvertType(Ty) &&
 2448         llvm::Type *LTy = ConvertType(Arg->getType());
 2558         llvm::Value *U = llvm::UndefValue::get(ConvertType(Arg->getType()));
 2860     if (RetAI.getCoerceToType() == ConvertType(RetTy) &&
 3229     cast<llvm::PointerType>(CGF.ConvertType(CRE->getType()));
 4034           ArgInfo.getCoerceToType() == ConvertType(info_it->type) &&
 4509       llvm::Type *RetIRTy = ConvertType(RetTy);
tools/clang/lib/CodeGen/CGClass.cpp
  306       ConvertType((PathEnd[-1])->getType())
  387   llvm::Type *DerivedPtrTy = ConvertType(DerivedTy)->getPointerTo(AddrSpace);
tools/clang/lib/CodeGen/CGDecl.cpp
  582         CGF.Builder.CreateBitCast(Addr, CGF.ConvertType(ArgTy));
tools/clang/lib/CodeGen/CGException.cpp
 1638         llvm::ConstantInt::get(CGF.ConvertType(ArgTys[0]), F.isForEHCleanup());
 1902   R = Builder.CreateIntCast(R, ConvertType(getContext().LongTy),
tools/clang/lib/CodeGen/CGExpr.cpp
  136   return CreateTempAlloca(ConvertType(Ty), Align, Name);
 1093                    ? Builder.CreateBitCast(Addr, ConvertType(E->getType()))
 1095                                                  ConvertType(E->getType()));
 1151       ConvertType(Ty->castAs<ComplexType>()->getElementType());
 1165     return RValue::get(llvm::UndefValue::get(ConvertType(Ty)));
 1179   llvm::Type *Ty = llvm::PointerType::getUnqual(ConvertType(E->getType()));
 1825   llvm::Type *ResLTy = ConvertType(LV.getType());
 3326   llvm::Type *NewTy = ConvertType(E->getType());
 3621       llvm::Type *NewTy = CGF.ConvertType(BaseTy);
 4418                                       ConvertType(CE->getTypeAsWritten()));
 4433         E->getType().getAddressSpace(), ConvertType(DestTy));
 4440                                              ConvertType(E->getType()));
 4691                                       ConvertType(E->getType()));
tools/clang/lib/CodeGen/CGExprAgg.cpp
  711       Builder.CreateElementBitCast(Dest.getAddress(), CGF.ConvertType(Ty));
tools/clang/lib/CodeGen/CGExprCXX.cpp
 1768   llvm::Value *DeletePtr = Builder.CreateBitCast(Ptr, ConvertType(ArgTy));
 1783     llvm::Value *Size = llvm::ConstantInt::get(ConvertType(SizeType),
 1803     llvm::Value *Align = llvm::ConstantInt::get(ConvertType(AlignValType),
 2145     ConvertType(E->getType())->getPointerTo();
 2169   llvm::Type *DestLTy = CGF.ConvertType(DestTy);
tools/clang/lib/CodeGen/CGExprComplex.cpp
  235     llvm::Constant *Null = llvm::Constant::getNullValue(CGF.ConvertType(Elem));
  242                        llvm::Constant::getNullValue(CGF.ConvertType(Elem));
  394     CGF.ConvertType(getComplexType(E->getType())->getElementType());
  467     V = Builder.CreateElementBitCast(V, CGF.ConvertType(DestTy));
 1079   llvm::Type* LTy = CGF.ConvertType(Ty);
 1091       CGF.ConvertType(E->getType()->castAs<ComplexType>()->getElementType());
tools/clang/lib/CodeGen/CGExprScalar.cpp
  252   llvm::Type *ConvertType(QualType T) { return CGF.ConvertType(T); }
 1587   return llvm::UndefValue::get(CGF.ConvertType(E->getType()));
 4180         Result = llvm::UndefValue::get(CGF.ConvertType(E->getType()));
 4490   Addr = Builder.CreateElementBitCast(Addr, ConvertType(E->getType()));
tools/clang/lib/CodeGen/CGNonTrivialStruct.cpp
  547       llvm::PointerType *PtrTy = this->CGF->ConvertType(RT)->getPointerTo();
  557       llvm::PointerType *Ty = this->CGF->ConvertType(FT)->getPointerTo();
tools/clang/lib/CodeGen/CGObjC.cpp
   50   return llvm::ConstantExpr::getBitCast(C, ConvertType(E->getType()));
   92     Address BitCast = Builder.CreateBitCast(Temporary, ConvertType(ArgQT));
  103     llvm::Value *Cast = Builder.CreateBitCast(GV, ConvertType(EncodingQT));
  114                                ConvertType(E->getType()));
  132         CGM.CreateRuntimeVariable(ConvertType(IdTy), ConstantName);
  138     return Builder.CreateBitCast(Ptr, ConvertType(E->getType()));
  237                                ConvertType(E->getType()));
  272   llvm::Type *ExpLLVMTy = CGF.ConvertType(ExpT);
  389           return CGF.EmitObjCAlloc(Receiver, CGF.ConvertType(ResultType));
  398                                              CGF.ConvertType(ResultType));
  408       return CGF.EmitObjCAutorelease(Receiver, CGF.ConvertType(ResultType));
  415       return CGF.EmitObjCRetainNonBlock(Receiver, CGF.ConvertType(ResultType));
  481   return CGF.EmitObjCAllocInit(Receiver, CGF.ConvertType(OME->getType()));
 1073     llvm::Type *retTy = ConvertType(getterMethod->getReturnType());
 1184             value, ConvertType(GetterMethodDecl->getReturnType()));
 1699   llvm::Type *NSUIntegerTy = ConvertType(getContext().getNSUIntegerType());
 1774                           ConvertType(getContext().getObjCIdType()));
 1809   llvm::Type *convertedElementType = ConvertType(elementType);
 2993     llvm::Type *resultType = CGF.ConvertType(e->getType());
tools/clang/lib/CodeGen/CGObjCMac.cpp
 3026                                 CGF.ConvertType(
 4679                                   CGF.ConvertType(CatchParam->getType()));
tools/clang/lib/CodeGen/CGObjCRuntime.cpp
  257       llvm::Type *CatchType = CGF.ConvertType(CatchParam->getType());
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 5030   llvm::Type *KmpTaskTWithPrivatesTy = CGF.ConvertType(KmpTaskTWithPrivatesQTy);
tools/clang/lib/CodeGen/CGStmt.cpp
 1827       llvm::Type *Ty = ConvertType(InputType);
 2072           ResultRegTypes.back() = ConvertType(InputTy);
 2176         llvm::Type *OutputTy = ConvertType(OutputType);
tools/clang/lib/CodeGen/CodeGenFunction.cpp
 1789     llvm::Type *baseType = ConvertType(eltType);
tools/clang/lib/CodeGen/CodeGenFunction.h
 2039     return ConvertType(getContext().getTypeDeclType(T));
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 1248   llvm::Type *SizeTy = CGF.ConvertType(getContext().getSizeType());
 1287     CGF.ConvertType(CGF.getContext().getPointerDiffType());
 1402       CGF.ConvertType(CGF.getContext().getPointerDiffType());
 1403   llvm::Type *DestLTy = CGF.ConvertType(DestTy);
 1446       CGF.ConvertType(CGF.getContext().getPointerDiffType());
 1447   llvm::Type *DestLTy = CGF.ConvertType(DestTy);
 1926         CGF.ConvertType(CGF.getContext().getPointerDiffType());
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
  969   llvm::Type *DestLTy = CGF.ConvertType(DestTy);
tools/clang/lib/CodeGen/TargetInfo.cpp
  649     Val = CGF.Builder.CreateVAArg(VAListAddr.getPointer(), CGF.ConvertType(Ty));
 4244   llvm::Type *DirectTy = CGF.ConvertType(Ty);
 5305   llvm::Type *BaseTy = CGF.ConvertType(Ty);
 5437     llvm::Type *BaseTy = CGF.ConvertType(QualType(Base, 0));