/external/clang/lib/CodeGen/ |
D | ItaniumCXXABI.cpp | 495 return CGM.PtrDiffTy; in ConvertMemberPointerType() 496 return llvm::StructType::get(CGM.PtrDiffTy, CGM.PtrDiffTy, nullptr); in ConvertMemberPointerType() 533 llvm::Constant *ptrdiff_1 = llvm::ConstantInt::get(CGM.PtrDiffTy, 1); in EmitLoadOfMemberFunctionPointer() 613 assert(MemPtr->getType() == CGM.PtrDiffTy); in EmitMemberDataPointerAddress() 763 return llvm::ConstantInt::get(CGM.PtrDiffTy, -1ULL, /*isSigned=*/true); in EmitNullMemberPointer() 765 llvm::Constant *Zero = llvm::ConstantInt::get(CGM.PtrDiffTy, 0); in EmitNullMemberPointer() 776 return llvm::ConstantInt::get(CGM.PtrDiffTy, offset.getQuantity()); in EmitMemberDataPointer() 808 MemPtr[0] = llvm::ConstantInt::get(CGM.PtrDiffTy, VTableOffset); in BuildMemberPointer() 809 MemPtr[1] = llvm::ConstantInt::get(CGM.PtrDiffTy, in BuildMemberPointer() 816 MemPtr[0] = llvm::ConstantInt::get(CGM.PtrDiffTy, VTableOffset + 1); in BuildMemberPointer() [all …]
|
D | CodeGenTypeCache.h | 48 llvm::IntegerType *PtrDiffTy; member
|
D | CGObjCGNU.cpp | 148 llvm::IntegerType *PtrDiffTy; member in __anon13748a720111::CGObjCGNU 771 SelectorTy, IdTy, PtrDiffTy, nullptr); in CGObjCGNUstep() 773 IdTy, SelectorTy, IdTy, PtrDiffTy, nullptr); in CGObjCGNUstep() 775 IdTy, SelectorTy, IdTy, PtrDiffTy, nullptr); in CGObjCGNUstep() 777 VoidTy, IdTy, SelectorTy, IdTy, PtrDiffTy, nullptr); in CGObjCGNUstep() 947 PtrDiffTy = cast<llvm::IntegerType>( in CGObjCGNU() 1005 PtrDiffTy, BoolTy, nullptr); in CGObjCGNU() 1008 PtrDiffTy, IdTy, BoolTy, BoolTy, nullptr); in CGObjCGNU() 1011 PtrDiffTy, BoolTy, BoolTy, nullptr); in CGObjCGNU() 1014 PtrDiffTy, BoolTy, BoolTy, nullptr); in CGObjCGNU() [all …]
|
D | CGVTables.cpp | 531 llvm::Type *PtrDiffTy = in CreateVTableInitializer() local 545 Init = llvm::ConstantInt::get(PtrDiffTy, in CreateVTableInitializer() 550 Init = llvm::ConstantInt::get(PtrDiffTy, in CreateVTableInitializer() 555 Init = llvm::ConstantInt::get(PtrDiffTy, in CreateVTableInitializer()
|
D | CGClass.cpp | 185 llvm::Type *PtrDiffTy = in GetNonVirtualBaseClassOffset() local 188 return llvm::ConstantInt::get(PtrDiffTy, Offset.getQuantity()); in GetNonVirtualBaseClassOffset() 236 baseOffset = llvm::ConstantInt::get(CGF.PtrDiffTy, in ApplyNonVirtualAndVirtualOffset()
|
D | MicrosoftCXXABI.cpp | 1050 llvm::Value *VBPtrOffset = llvm::ConstantInt::get(CGM.PtrDiffTy, VBPtrChars); in GetVirtualBaseClassOffset() 1061 CGF.Builder.CreateSExtOrBitCast(VBPtrToNewBase, CGM.PtrDiffTy); in GetVirtualBaseClassOffset() 1159 VBaseOffset, llvm::ConstantInt::get(CGM.PtrDiffTy, ConstantVBaseOffset), in initializeHiddenVirtualInheritanceMembers() 2690 Ty = CGM.PtrDiffTy; in EmitMemberFunctionPointer()
|
D | CGExprAgg.cpp | 347 llvm::Value *Zero = llvm::ConstantInt::get(CGF.PtrDiffTy, 0); in VisitCXXStdInitializerListExpr()
|
D | CGExprScalar.cpp | 2436 index = CGF.Builder.CreateIntCast(index, CGF.PtrDiffTy, isSigned, in emitPointerArithmetic() 2643 = Builder.CreatePtrToInt(op.LHS, CGF.PtrDiffTy, "sub.ptr.lhs.cast"); in EmitSub() 2645 = Builder.CreatePtrToInt(op.RHS, CGF.PtrDiffTy, "sub.ptr.rhs.cast"); in EmitSub()
|
D | CGObjCMac.cpp | 404 CGM.PtrDiffTy }; in getGcAssignIvarFn()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CodeGenTypeCache.h | 48 llvm::IntegerType *PtrDiffTy; member
|
D | ItaniumCXXABI.cpp | 595 return CGM.PtrDiffTy; in ConvertMemberPointerType() 596 return llvm::StructType::get(CGM.PtrDiffTy, CGM.PtrDiffTy); in ConvertMemberPointerType() 633 llvm::Constant *ptrdiff_1 = llvm::ConstantInt::get(CGM.PtrDiffTy, 1); in EmitLoadOfMemberFunctionPointer() 689 VTableOffset = Builder.CreateZExt(VTableOffset, CGM.PtrDiffTy); in EmitLoadOfMemberFunctionPointer() 850 assert(MemPtr->getType() == CGM.PtrDiffTy); in EmitMemberDataPointerAddress() 1000 return llvm::ConstantInt::get(CGM.PtrDiffTy, -1ULL, /*isSigned=*/true); in EmitNullMemberPointer() 1002 llvm::Constant *Zero = llvm::ConstantInt::get(CGM.PtrDiffTy, 0); in EmitNullMemberPointer() 1013 return llvm::ConstantInt::get(CGM.PtrDiffTy, offset.getQuantity()); in EmitMemberDataPointer() 1049 MemPtr[0] = llvm::ConstantInt::get(CGM.PtrDiffTy, VTableOffset); in BuildMemberPointer() 1050 MemPtr[1] = llvm::ConstantInt::get(CGM.PtrDiffTy, in BuildMemberPointer() [all …]
|
D | CGObjCGNU.cpp | 152 llvm::IntegerType *PtrDiffTy; member in __anon75da02000111::CGObjCGNU 846 SelectorTy, IdTy, PtrDiffTy); in CGObjCGNUstep() 848 IdTy, SelectorTy, IdTy, PtrDiffTy); in CGObjCGNUstep() 850 IdTy, SelectorTy, IdTy, PtrDiffTy); in CGObjCGNUstep() 852 VoidTy, IdTy, SelectorTy, IdTy, PtrDiffTy); in CGObjCGNUstep() 1693 if (Offset->getType() != PtrDiffTy) in EmitIvarOffset() 1694 Offset = CGF.Builder.CreateZExtOrBitCast(Offset, PtrDiffTy); in EmitIvarOffset() 2147 PtrDiffTy = cast<llvm::IntegerType>( in CGObjCGNU() 2231 PtrDiffTy, BoolTy); in CGObjCGNU() 2234 PtrDiffTy, IdTy, BoolTy, BoolTy); in CGObjCGNU() [all …]
|
D | CGClass.cpp | 206 llvm::Type *PtrDiffTy = in GetNonVirtualBaseClassOffset() local 209 return llvm::ConstantInt::get(PtrDiffTy, Offset.getQuantity()); in GetNonVirtualBaseClassOffset() 261 : CGF.PtrDiffTy; in ApplyNonVirtualAndVirtualOffset()
|
D | MicrosoftCXXABI.cpp | 1045 llvm::Value *VBPtrOffset = llvm::ConstantInt::get(CGM.PtrDiffTy, VBPtrChars); in GetVirtualBaseClassOffset() 1056 CGF.Builder.CreateSExtOrBitCast(VBPtrToNewBase, CGM.PtrDiffTy); in GetVirtualBaseClassOffset() 1212 VBaseOffset, llvm::ConstantInt::get(CGM.PtrDiffTy, ConstantVBaseOffset), in initializeHiddenVirtualInheritanceMembers() 2850 Ty = CGM.PtrDiffTy; in EmitMemberFunctionPointer()
|
D | CGVTables.cpp | 687 llvm::ConstantInt::get(CGM.PtrDiffTy, offset.getQuantity()), in AddPointerLayoutOffset()
|
D | CGExprAgg.cpp | 418 llvm::Value *Zero = llvm::ConstantInt::get(CGF.PtrDiffTy, 0); in VisitCXXStdInitializerListExpr()
|
D | CGExprScalar.cpp | 3673 = Builder.CreatePtrToInt(op.LHS, CGF.PtrDiffTy, "sub.ptr.lhs.cast"); in EmitSub() 3675 = Builder.CreatePtrToInt(op.RHS, CGF.PtrDiffTy, "sub.ptr.rhs.cast"); in EmitSub()
|
D | CGObjCMac.cpp | 404 CGM.PtrDiffTy }; in getGcAssignIvarFn()
|