Searched refs:VoidPtrTy (Results 1 - 25 of 38) sorted by relevance

12

/external/clang/lib/CodeGen/
H A DCGCUDANV.cpp34 llvm::PointerType *CharPtrTy, *VoidPtrTy; member in class:__anon17812::CGNVCUDARuntime
55 VoidPtrTy = cast<llvm::PointerType>(Types.ConvertType(Ctx.VoidPtrTy));
61 Params.push_back(VoidPtrTy);
100 Args[0] = CGF.Builder.CreatePointerCast(ArgValues[I], VoidPtrTy);
H A DCGBlocks.cpp81 llvm::Type *i8p = CGM.getTypes().ConvertType(C.VoidPtrTy);
303 std::tie(ptrSize, ptrAlign) = C.getTypeInfoInChars(C.VoidPtrTy);
318 llvm::Type *i8p = CGM.getTypes().ConvertType(C.VoidPtrTy);
381 QualType byRefPtrTy = C.VoidPtrTy;
694 blockFn = llvm::ConstantExpr::getBitCast(blockFn, VoidPtrTy);
703 isa = llvm::ConstantExpr::getBitCast(isa, VoidPtrTy);
796 src = Builder.CreateBitCast(src, VoidPtrTy);
924 VoidPtrTy, IntTy, IntTy, VoidPtrTy,
949 BlockLiteral = Builder.CreateBitCast(BlockLiteral, VoidPtrTy);
[all...]
H A DCGAtomic.cpp473 CGF.getContext().VoidPtrTy);
613 Args.add(RValue::get(EmitCastToVoidPtr(Ptr)), getContext().VoidPtrTy);
635 Args.add(RValue::get(EmitCastToVoidPtr(Val1)), getContext().VoidPtrTy);
719 getContext().VoidPtrTy);
906 getContext().VoidPtrTy);
908 getContext().VoidPtrTy);
1056 getContext().VoidPtrTy);
1058 getContext().VoidPtrTy);
H A DCGObjC.cpp529 llvm::Value *dest = CGF.Builder.CreateBitCast(CGF.ReturnValue, CGF.VoidPtrTy);
530 args.add(RValue::get(dest), Context.VoidPtrTy);
532 src = CGF.Builder.CreateBitCast(src, CGF.VoidPtrTy);
533 args.add(RValue::get(src), Context.VoidPtrTy);
793 args.add(RValue::get(returnAddr), CGF.getContext().VoidPtrTy);
800 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy);
803 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy);
887 llvm::Value *self = Builder.CreateBitCast(LoadObjCSelf(), VoidPtrTy);
993 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy);
1001 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy);
[all...]
H A DCodeGenPGO.cpp85 auto *VoidPtrTy = llvm::Type::getInt8PtrTy(CGM.getLLVMContext()); local
86 auto *RuntimeRegisterTy = llvm::FunctionType::get(VoidTy, VoidPtrTy, false);
169 auto *VoidPtrTy = llvm::Type::getInt8PtrTy(CGM.getLLVMContext()); local
171 Builder.CreateBitCast(Data, VoidPtrTy));
H A DCGObjCRuntime.cpp328 lock = CGF.Builder.CreateBitCast(lock, CGF.VoidPtrTy);
H A DMicrosoftCXXABI.cpp666 emitRTtypeidCall(CGF, llvm::Constant::getNullValue(CGM.VoidPtrTy));
1825 fields.push_back(CGM.VoidPtrTy); // FunctionPointerOrVirtualThunk
1850 fields.push_back(llvm::Constant::getNullValue(CGM.VoidPtrTy));
1969 FirstField = llvm::ConstantExpr::getBitCast(FirstField, CGM.VoidPtrTy);
1975 FirstField = llvm::Constant::getNullValue(CGM.VoidPtrTy);
1980 FirstField = llvm::Constant::getNullValue(CGM.VoidPtrTy);
1984 FirstField = llvm::Constant::getNullValue(CGM.VoidPtrTy);
1987 FirstField = llvm::ConstantExpr::getBitCast(Thunk, CGM.VoidPtrTy);
2069 fields.push_back(llvm::Constant::getNullValue(CGM.VoidPtrTy));
H A DCGDebugInfo.cpp420 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy);
659 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy);
1379 unsigned Size = Context.getTypeSize(Context.VoidPtrTy);
1408 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy);
2959 fields.push_back(createFieldType("__isa", C.VoidPtrTy, 0, loc, AS_public,
2968 fields.push_back(createFieldType("__FuncPtr", C.VoidPtrTy, 0, loc, AS_public,
3032 std::pair<uint64_t,unsigned> ptrInfo = C.getTypeInfo(C.VoidPtrTy);
H A DCGExprCXX.cpp1494 QualType VoidPtrTy = DeleteFTy->getParamType(0); variable
1496 = CGF.Builder.CreateBitCast(Ptr, CGF.ConvertType(VoidPtrTy));
1497 Args.add(RValue::get(DeletePtr), VoidPtrTy); variable
H A DCGDeclCXX.cpp529 getContext().VoidPtrTy);
H A DItaniumCXXABI.cpp1083 Context.getPointerType(Context.VoidPtrTy));
1115 ArgTys.push_back(Context.getPointerType(Context.VoidPtrTy));
1145 QualType T = Context.getPointerType(Context.VoidPtrTy);
1185 QualType VTTTy = getContext().getPointerType(getContext().VoidPtrTy);
1197 QualType VTTTy = getContext().getPointerType(getContext().VoidPtrTy);
H A DCodeGenModule.h127 llvm::PointerType *VoidPtrTy; member in union:clang::CodeGen::CodeGenTypeCache::__anon17857
/external/llvm/lib/CodeGen/
H A DJumpInstrTables.cpp201 Type *VoidPtrTy = Type::getInt8PtrTy(FunTy->getContext()); local
204 Type *RetTy = VoidPtrTy;
223 ParamTys[i] = VoidPtrTy;
236 ParamTys[i] = VoidPtrTy;
H A DSjLjEHPrepare.cpp93 Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext()); local
95 FunctionContextTy = StructType::get(VoidPtrTy, // __prev
98 VoidPtrTy, // __personality
99 VoidPtrTy, // __lsda
100 ArrayType::get(VoidPtrTy, 5), // __jbuf
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBasicValueFactory.h154 return getValue(0, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned);
158 return getValue(X, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned);
/external/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp331 Type *VoidPtrTy = Type::getInt8PtrTy(Context); local
333 Type *Tys[3] = { VoidPtrTy, VoidPtrTy, Type::getInt64Ty(Context) };
336 Value *DstCast = builder.CreateBitCast(Dst, VoidPtrTy, "tmp");
337 Value *SrcCast = builder.CreateBitCast(Src, VoidPtrTy, "tmp");
/external/llvm/lib/IR/
H A DAutoUpgrade.cpp187 PointerType *VoidPtrTy = Type::getInt8Ty(GV->getContext())->getPointerTo();
191 VoidPtrTy
207 Constant::getNullValue(VoidPtrTy), nullptr);
/external/clang/lib/StaticAnalyzer/Core/
H A DSimpleConstraintManager.cpp79 T = SVB.getContext().VoidPtrTy;
H A DSimpleSValBuilder.cpp348 BasicVals.getAPSIntType(Context.VoidPtrTy).apply(i);
/external/lldb/source/Symbol/
H A DClangASTContext.cpp551 if (QualTypeMatchesBitSize (bit_size, ast, ast->VoidPtrTy))
552 return ClangASTType (ast, ast->VoidPtrTy.getAsOpaquePtr());
823 if (QualTypeMatchesBitSize (bit_size, ast, ast->VoidPtrTy))
824 return ClangASTType (ast, ast->VoidPtrTy.getAsOpaquePtr());
/external/clang/lib/Rewrite/Frontend/
H A DRewriteModernObjC.cpp2779 Context->getPointerType(Context->VoidPtrTy),
2916 Context->getPointerType(Context->VoidPtrTy),
4754 Context->VoidPtrTy, nullptr,
4802 Context->VoidPtrTy, nullptr,
4813 Context->VoidPtrTy, nullptr,
5112 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy));
5331 QualType FType = Context->getFunctionNoProtoType(Context->VoidPtrTy);
5424 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy,
5434 Context->VoidPtrTy, nullptr,
5438 Context->VoidPtrTy,
[all...]
H A DRewriteObjC.cpp3838 Context->VoidPtrTy, nullptr,
3886 Context->VoidPtrTy, nullptr,
3897 Context->VoidPtrTy, nullptr,
4179 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy));
4398 QualType FType = Context->getFunctionNoProtoType(Context->VoidPtrTy);
4474 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy,
4484 Context->VoidPtrTy, nullptr,
4488 Context->VoidPtrTy,
4492 Context->getPointerType(Context->VoidPtrTy),
4518 Exp = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy,
[all...]
/external/clang/lib/Analysis/
H A DFormatString.cpp428 Res = C.VoidPtrTy;
/external/clang/lib/StaticAnalyzer/Checkers/
H A DCallAndMessageChecker.cpp552 const uint64_t voidPtrSize = Ctx.getTypeSize(Ctx.VoidPtrTy);
/external/clang/lib/AST/
H A DASTContext.cpp1048 VoidPtrTy = getPointerType(VoidTy);
4661 getPointerType(VoidPtrTy),
4662 getPointerType(VoidPtrTy)
4782 sz = getTypeSizeInChars(VoidPtrTy);
4810 CharUnits PtrSize = getTypeSizeInChars(VoidPtrTy);
4917 CharUnits PtrSize = getTypeSizeInChars(VoidPtrTy);
5654 CurOffs += getTypeSize(VoidPtrTy);

Completed in 1446 milliseconds

12