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

References

tools/clang/lib/CodeGen/CGExprScalar.cpp
 1976     Addr = Builder.CreateElementBitCast(Addr, CGF.ConvertTypeForMem(DestTy));
 1977     LValue LV = CGF.MakeAddrLValue(Addr, DestTy);
 1984                                                 CGF.ConvertTypeForMem(DestTy));
 1985     LValue DestLV = CGF.MakeAddrLValue(Addr, DestTy);
 1996     llvm::Type *DstTy = ConvertType(DestTy);
 2004       if (auto PT = DestTy->getAs<PointerType>())
 2014       if (SrcType.mayBeNotDynamicClass() && DestTy.mayBeDynamicClass()) {
 2018       } else if (SrcType.mayBeDynamicClass() && DestTy.mayBeNotDynamicClass()) {
 2047           ConvertType(DestTy)), DestTy);
 2047           ConvertType(DestTy)), DestTy);
 2053         DestTy->getPointeeType().getAddressSpace(), ConvertType(DestTy));
 2053         DestTy->getPointeeType().getAddressSpace(), ConvertType(DestTy));
 2062     const CXXRecordDecl *DerivedClassDecl = DestTy->getPointeeCXXRecordDecl();
 2075                         Derived.getPointer(), DestTy->getPointeeType());
 2079           DestTy->getPointeeType(), Derived.getPointer(),
 2107     return CGF.CGM.getNullPointer(cast<llvm::PointerType>(ConvertType(DestTy)),
 2108                               DestTy);
 2155     assert(CGF.getContext().hasSameUnqualifiedType(E->getType(), DestTy));
 2164     auto DestLLVMTy = ConvertType(DestTy);
 2175       if (DestTy.mayBeDynamicClass())
 2181     assert(!DestTy->isBooleanType() && "bool should use PointerToBool");
 2193     return Builder.CreatePtrToInt(PtrExpr, ConvertType(DestTy));
 2200     llvm::Type *DstTy = ConvertType(DestTy);
 2208     return EmitScalarConversion(Visit(E), E->getType(), DestTy,
 2214     assert(DestTy->isBooleanType() && "Expected dest type to be boolean type");
 2215     return EmitScalarConversion(Visit(E), E->getType(), DestTy,
 2221     assert(DestTy->isIntegerType() && "Expected dest type to be an integer");
 2222     return EmitScalarConversion(Visit(E), E->getType(), DestTy,
 2228     assert(DestTy->isFixedPointType() &&
 2230     return EmitScalarConversion(Visit(E), E->getType(), DestTy,
 2239     return EmitScalarConversion(Visit(E), E->getType(), DestTy,
 2245     return EmitScalarConversion(Visit(E), E->getType(), DestTy,
 2250     return EmitScalarConversion(Visit(E), E->getType(), DestTy,
 2274     return EmitComplexToScalarConversion(V, E->getType(), DestTy,
 2279     assert((DestTy->isEventT() || DestTy->isQueueT() ||
 2279     assert((DestTy->isEventT() || DestTy->isQueueT() ||
 2280             DestTy->isOCLIntelSubgroupAVCType()) &&
 2282     return llvm::Constant::getNullValue(ConvertType(DestTy));