Home
last modified time | relevance | path

Searched refs:PtrDiffTy (Results 1 – 18 of 18) sorted by relevance

/external/clang/lib/CodeGen/
DItaniumCXXABI.cpp495 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 …]
DCodeGenTypeCache.h48 llvm::IntegerType *PtrDiffTy; member
DCGObjCGNU.cpp148 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 …]
DCGVTables.cpp531 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()
DCGClass.cpp185 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()
DMicrosoftCXXABI.cpp1050 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()
DCGExprAgg.cpp347 llvm::Value *Zero = llvm::ConstantInt::get(CGF.PtrDiffTy, 0); in VisitCXXStdInitializerListExpr()
DCGExprScalar.cpp2436 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()
DCGObjCMac.cpp404 CGM.PtrDiffTy }; in getGcAssignIvarFn()
/external/llvm-project/clang/lib/CodeGen/
DCodeGenTypeCache.h48 llvm::IntegerType *PtrDiffTy; member
DItaniumCXXABI.cpp595 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 …]
DCGObjCGNU.cpp152 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 …]
DCGClass.cpp206 llvm::Type *PtrDiffTy = in GetNonVirtualBaseClassOffset() local
209 return llvm::ConstantInt::get(PtrDiffTy, Offset.getQuantity()); in GetNonVirtualBaseClassOffset()
261 : CGF.PtrDiffTy; in ApplyNonVirtualAndVirtualOffset()
DMicrosoftCXXABI.cpp1045 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()
DCGVTables.cpp687 llvm::ConstantInt::get(CGM.PtrDiffTy, offset.getQuantity()), in AddPointerLayoutOffset()
DCGExprAgg.cpp418 llvm::Value *Zero = llvm::ConstantInt::get(CGF.PtrDiffTy, 0); in VisitCXXStdInitializerListExpr()
DCGExprScalar.cpp3673 = 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()
DCGObjCMac.cpp404 CGM.PtrDiffTy }; in getGcAssignIvarFn()