Home
last modified time | relevance | path

Searched refs:getPointerTo (Results 1 – 25 of 49) sorted by relevance

12

/external/llvm/lib/IR/
DType.cpp247 return getHalfTy(C)->getPointerTo(AS); in getHalfPtrTy()
251 return getFloatTy(C)->getPointerTo(AS); in getFloatPtrTy()
255 return getDoubleTy(C)->getPointerTo(AS); in getDoublePtrTy()
259 return getX86_FP80Ty(C)->getPointerTo(AS); in getX86_FP80PtrTy()
263 return getFP128Ty(C)->getPointerTo(AS); in getFP128PtrTy()
267 return getPPC_FP128Ty(C)->getPointerTo(AS); in getPPC_FP128PtrTy()
271 return getX86_MMXTy(C)->getPointerTo(AS); in getX86_MMXPtrTy()
275 return getIntNTy(C, N)->getPointerTo(AS); in getIntNPtrTy()
279 return getInt1Ty(C)->getPointerTo(AS); in getInt1PtrTy()
283 return getInt8Ty(C)->getPointerTo(AS); in getInt8PtrTy()
[all …]
/external/clang/lib/CodeGen/
DCGCXX.cpp145 = getTypes().GetFunctionType(AliasDecl)->getPointerTo(); in TryEmitDefinitionAsAlias()
262 Ty = Ty->getPointerTo()->getPointerTo(); in BuildAppleKextVirtualCall()
DCGCXXABI.cpp86 return llvm::Constant::getNullValue(FTy->getPointerTo()); in EmitLoadOfMemberFunctionPointer()
94 llvm::Type *Ty = CGF.ConvertType(MPT->getPointeeType())->getPointerTo(); in EmitMemberDataPointerAddress()
225 llvm::Type *charPtrTy = CGF.Int8Ty->getPointerTo(AS); in ReadArrayCookie()
DItaniumCXXABI.cpp468 VTable = Builder.CreateBitCast(VTable, FTy->getPointerTo()->getPointerTo()); in EmitLoadOfMemberFunctionPointer()
476 Builder.CreateIntToPtr(FnAsInt, FTy->getPointerTo(), "memptr.nonvirtualfn"); in EmitLoadOfMemberFunctionPointer()
480 llvm::PHINode *Callee = Builder.CreatePHI(FTy->getPointerTo(), 2); in EmitLoadOfMemberFunctionPointer()
498 Base = Builder.CreateBitCast(Base, Builder.getInt8Ty()->getPointerTo(AS)); in EmitMemberDataPointerAddress()
506 = CGF.ConvertTypeForMem(MPT->getPointeeType())->getPointerTo(AS); in EmitMemberDataPointerAddress()
884 llvm::Value *VTable = CGF.GetVTablePtr(Ptr, CGF.IntPtrTy->getPointerTo()); in emitVirtualObjectDelete()
1082 CGF.GetVTablePtr(ThisPtr, StdTypeInfoPtrTy->getPointerTo()); in EmitTypeid()
1145 llvm::Value *VTable = CGF.GetVTablePtr(Value, PtrDiffLTy->getPointerTo()); in EmitDynamicCastToVoid()
1180 CGM.PtrDiffTy->getPointerTo()); in GetVirtualBaseClassOffset()
1444 Ty = Ty->getPointerTo()->getPointerTo(); in getVirtualFunctionPointer()
[all …]
DMicrosoftCXXABI.cpp364 getImageRelativeType(getClassHierarchyDescriptorType()->getPointerTo()), in getBaseClassDescriptorType()
382 getBaseClassDescriptorType()->getPointerTo()->getPointerTo()), in getClassHierarchyDescriptorType()
398 getImageRelativeType(getClassHierarchyDescriptorType()->getPointerTo()), in getCompleteObjectLocatorType()
614 getImageRelativeType(getCatchableTypeType()->getPointerTo()); in getCatchableTypeArrayType()
641 llvm::Type *Args[] = {CGM.Int8PtrTy, getThrowInfoType()->getPointerTo()}; in getThrowFn()
785 llvm::ConstantPointerNull::get(getThrowInfoType()->getPointerTo())}; in emitRethrow()
1071 CGF.Int8Ty->getPointerTo(AS)); in initializeHiddenVirtualInheritanceMembers()
1076 VtorDispPtr, CGF.Int32Ty->getPointerTo(AS), "vtordisp.ptr"); in initializeHiddenVirtualInheritanceMembers()
1128 VBPtr = CGF.Builder.CreateBitCast(VBPtr, GVPtr->getType()->getPointerTo(0), in EmitVBPtrStores()
1212 llvm::Type *charPtrTy = CGF.Int8Ty->getPointerTo(AS); in adjustThisArgumentForVirtualFunctionCall()
[all …]
DCGOpenMPRuntime.cpp473 CGM.VoidPtrTy->getPointerTo()->getPointerTo()}; in createRuntimeFunction()
496 /*isVarArg*/ false)->getPointerTo(); in createRuntimeFunction()
501 /*isVarArg*/ false)->getPointerTo(); in createRuntimeFunction()
505 ->getPointerTo(); in createRuntimeFunction()
650 CGM.VoidPtrTy, CpyFnTy->getPointerTo(), in createRuntimeFunction()
666 CGM.VoidPtrTy, ReduceFnTy->getPointerTo(), in createRuntimeFunction()
683 CGM.VoidPtrTy, ReduceFnTy->getPointerTo(), in createRuntimeFunction()
903 /*isVarArg=*/false)->getPointerTo(); in emitThreadPrivateVarDefinition()
910 /*isVarArg=*/false)->getPointerTo(); in emitThreadPrivateVarDefinition()
915 /*isVarArg=*/false)->getPointerTo(); in emitThreadPrivateVarDefinition()
[all …]
DCGAtomic.cpp91 CGF.Builder.getIntNTy(AtomicSizeInBits)->getPointerTo(), in AtomicInfo()
633 SizeInBits)->getPointerTo(); in AddDirectArgument()
915 Builder.CreateBitCast(GetDest(), ResVal->getType()->getPointerTo())); in EmitAtomicExpr()
932 Ptr, ITy->getPointerTo(Ptr->getType()->getPointerAddressSpace())); in EmitAtomicExpr()
933 if (Val1) Val1 = Builder.CreateBitCast(Val1, ITy->getPointerTo()); in EmitAtomicExpr()
934 if (Val2) Val2 = Builder.CreateBitCast(Val2, ITy->getPointerTo()); in EmitAtomicExpr()
936 Dest = Builder.CreateBitCast(Dest, ITy->getPointerTo()); in EmitAtomicExpr()
1051 return CGF.Builder.CreateBitCast(addr, ty->getPointerTo(addrspace)); in emitCastToAtomicIntPointer()
DCGObjCRuntime.cpp357 CGM.getTypes().GetFunctionType(signature)->getPointerTo(); in getMessageSendInfo()
381 CGM.getTypes().GetFunctionType(argsInfo)->getPointerTo(); in getMessageSendInfo()
DCGBlocks.cpp1171 blockInfo.StructureType->getPointerTo(), in GenerateBlockFunction()
1338 llvm::Type *structPtrTy = blockInfo.StructureType->getPointerTo(); in GenerateCopyHelperFunction()
1511 llvm::Type *structPtrTy = blockInfo.StructureType->getPointerTo(); in GenerateDestroyHelperFunction()
1628 field = CGF.Builder.CreateBitCast(field, CGF.Int8PtrTy->getPointerTo(0)); in emitDispose()
1803 llvm::Type *byrefPtrType = byrefType.getPointerTo(0); in generateByrefCopyHelper()
1877 V = CGF.Builder.CreateBitCast(V, byrefType.getPointerTo(0)); in generateByrefDisposeHelper()
2228 DesTy = DesTy->getPointerTo(); in emitByrefStructureInit()
2306 Int8PtrTy->getPointerTo(), in getNSConcreteGlobalBlock()
2317 Int8PtrTy->getPointerTo(), in getNSConcreteStackBlock()
DCGClass.cpp108 V = Builder.CreateBitCast(V, ConvertType(Base)->getPointerTo()); in GetAddressOfDirectBaseInCompleteClass()
177 ConvertType((PathEnd[-1])->getType())->getPointerTo(); in GetAddressOfBaseClass()
252 llvm::Type *DerivedPtrTy = ConvertType(DerivedTy)->getPointerTo(); in GetAddressOfDerivedClass()
2001 ->getPointerTo() in InitializeVTablePointer()
2002 ->getPointerTo(); in InitializeVTablePointer()
2003 VTableField = Builder.CreateBitCast(VTableField, VTablePtrTy->getPointerTo()); in InitializeVTablePointer()
2085 llvm::Value *VTablePtrSrc = Builder.CreateBitCast(This, Ty->getPointerTo()); in GetVTablePtr()
DCGRecordLayoutBuilder.cpp452 getPointerTo()->getPointerTo())); in accumulateVPtrs()
DCGException.cpp375 llvm::Type *ty = ConvertTypeForMem(e->getType())->getPointerTo(); in EmitAnyExprToExn()
1571 llvm::Type *RecordTy = CGM.Int32Ty->getPointerTo(); in EmitSEHExceptionCodeSave()
1573 Ptrs = Builder.CreateBitCast(Ptrs, PtrsTy->getPointerTo()); in EmitSEHExceptionCodeSave()
DCGCall.cpp1304 ArgTypes[IRFunctionArgs.getInallocaArgNo()] = ArgStruct->getPointerTo(); in GetFunctionType()
1332 ArgTypes[FirstIRArg] = LTy->getPointerTo(); in GetFunctionType()
1736 assert(ArgStruct->getType() == FI.getArgStruct()->getPointerTo()); in EmitFunctionProlog()
2402 llvm::UndefValue::get(IRTy->getPointerTo()->getPointerTo()); in createPlaceholderSlot()
3112 llvm::Type *MemType = ConvertTypeForMem(I->Ty)->getPointerTo(AS); in EmitCall()
3278 Callee, getTypes().GetFunctionType(CallInfo)->getPointerTo(CalleeAS)); in EmitCall()
DCGObjCMac.cpp362 llvm::Type *args[] = { ObjectPtrTy->getPointerTo() }; in getGcReadWeakFn()
371 llvm::Type *args[] = { ObjectPtrTy, ObjectPtrTy->getPointerTo() }; in getGcAssignWeakFn()
380 llvm::Type *args[] = { ObjectPtrTy, ObjectPtrTy->getPointerTo() }; in getGcAssignGlobalFn()
389 llvm::Type *args[] = { ObjectPtrTy, ObjectPtrTy->getPointerTo() }; in getGcAssignThreadLocalFn()
398 llvm::Type *args[] = { ObjectPtrTy, ObjectPtrTy->getPointerTo(), in getGcAssignIvarFn()
416 llvm::Type *args[] = { ObjectPtrTy, ObjectPtrTy->getPointerTo() }; in getGcAssignStrongCastFn()
551 llvm::Type *params[] = { ExceptionDataTy->getPointerTo() }; in getExceptionTryEnterFn()
559 llvm::Type *params[] = { ExceptionDataTy->getPointerTo() }; in getExceptionTryExitFn()
567 llvm::Type *params[] = { ExceptionDataTy->getPointerTo() }; in getExceptionExtractFn()
585 llvm::Type *params[] = { CGM.Int32Ty->getPointerTo() }; in getSetJmpFn()
[all …]
DCGExprCXX.cpp817 llvm::Type *AllocPtrTy = ElementTy->getPointerTo(AS); in EmitNewArrayInitializer()
1335 llvm::Type *elementPtrTy = elementTy->getPointerTo(AS); in EmitCXXNewExpr()
1703 ConvertType(E->getType())->getPointerTo(); in EmitCXXTypeidExpr()
DCGExpr.cpp346 Var, ConvertTypeForMem(E->getType())->getPointerTo()); in EmitMaterializeTemporaryExpr()
392 Var, ConvertTypeForMem(E->getType())->getPointerTo()); in EmitMaterializeTemporaryExpr()
1425 llvm::Type *VectorElementPtrToTy = VectorElementTy->getPointerTo(); in EmitExtVectorElementLValue()
1831 return CGF.Builder.CreateBitCast(V, IRType->getPointerTo(AS), Name); in EmitBitCastOfLValueToProperType()
3255 ConvertType(E->getType())->getPointerTo()); in EmitCXXUuidofExpr()
3429 CalleeTy = CalleeTy->getPointerTo(); in EmitCall()
DCodeGenTypes.cpp567 ResultType = T->getPointerTo(); in ConvertType()
DCGDeclCXX.cpp102 addr, CGF.getTypes().ConvertType(type)->getPointerTo()); in EmitDeclDestroy()
/external/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp164 Type *PtrTy = Ty->getPointerTo(); in initializeCallbacks()
510 Type *PtrTy = Ty->getPointerTo(); in instrumentAtomic()
524 Type *PtrTy = Ty->getPointerTo(); in instrumentAtomic()
541 Type *PtrTy = Ty->getPointerTo(); in instrumentAtomic()
555 Type *PtrTy = Ty->getPointerTo(); in instrumentAtomic()
DGCOVProfiling.cpp764 Int32Ty->getPointerTo(), // uint32_t *predecessor in getIncrementIndirectCounterFunc()
765 Int64Ty->getPointerTo()->getPointerTo() // uint64_t **counters in getIncrementIndirectCounterFunc()
920 Builder.getInt64Ty()->getPointerTo())); in insertIndirectCounterIncrement()
/external/llvm/lib/Target/R600/
DAMDGPUPromoteAlloca.cpp207 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0)); in tryPromoteAllocaToVector()
217 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0)); in tryPromoteAllocaToVector()
/external/llvm/include/llvm/IR/
DType.h419 PointerType *getPointerTo(unsigned AddrSpace = 0);
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp2598 Type *LTy = TargetTy->getPointerTo(); in visitLoadInst()
2622 new LoadInst(UndefValue::get(LI.getType()->getPointerTo())); in visitLoadInst()
2720 Value *NewPtr = getNewAllocaSlicePtr(IRB, V->getType()->getPointerTo()); in visitStoreInst()
2992 OtherPtrTy = OtherPtrTy->getPointerTo(OtherAS); in visitMemTransferInst()
2994 OtherPtrTy = SubIntTy->getPointerTo(OtherAS); in visitMemTransferInst()
2996 OtherPtrTy = NewAllocaTy->getPointerTo(OtherAS); in visitMemTransferInst()
3733 auto *PartPtrTy = PartTy->getPointerTo(LI->getPointerAddressSpace()); in presplitLoadsAndStores()
3785 PLoad->getType()->getPointerTo(SI->getPointerAddressSpace()); in presplitLoadsAndStores()
3859 auto *PartPtrTy = PartTy->getPointerTo(SI->getPointerAddressSpace()); in presplitLoadsAndStores()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp324 IC.Builder->CreateBitCast(Ptr, NewTy->getPointerTo(AS)), in combineLoadToNewType()
390 V, IC.Builder->CreateBitCast(Ptr, V->getType()->getPointerTo(AS)), in combineStoreToNewValue()
/external/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp1298 ourUnwindExceptionType->getPointerTo()), in createCatchWrappedInvokeFunction()
1333 ourExceptionType->getPointerTo()); in createCatchWrappedInvokeFunction()

12