Home
last modified time | relevance | path

Searched refs:ConstantPointerNull (Results 1 – 25 of 82) sorted by relevance

1234

/external/clang/lib/CodeGen/
DCGCUDANV.cpp194 llvm::Constant *NullPtr = llvm::ConstantPointerNull::get(VoidPtrTy); in makeRegisterKernelsFn()
199 llvm::ConstantPointerNull::get(IntTy->getPointerTo())}; in makeRegisterKernelsFn()
257 llvm::ConstantPointerNull::get(VoidPtrTy)}; // Unused in fatbin v1. in makeModuleCtorFunction()
269 llvm::ConstantPointerNull::get(VoidPtrPtrTy), "__cuda_gpubin_handle"); in makeModuleCtorFunction()
DCGOpenMPRuntime.cpp2137 PrivatesParam = llvm::ConstantPointerNull::get(CGF.VoidPtrTy); in emitProxyTaskFunction()
2349 TaskPrivatesMap = llvm::ConstantPointerNull::get( in emitTaskCall()
2481 : llvm::ConstantPointerNull::get( in emitTaskCall()
2591 DepTaskArgs[6] = llvm::ConstantPointerNull::get(CGF.VoidPtrTy); in emitTaskCall()
2614 DepWaitTaskArgs[5] = llvm::ConstantPointerNull::get(CGF.VoidPtrTy); in emitTaskCall()
3490 BasePointersArray = llvm::ConstantPointerNull::get(CGM.VoidPtrPtrTy); in emitTargetCall()
3491 PointersArray = llvm::ConstantPointerNull::get(CGM.VoidPtrPtrTy); in emitTargetCall()
3492 SizesArray = llvm::ConstantPointerNull::get(CGM.SizeTy->getPointerTo()); in emitTargetCall()
3494 llvm::ConstantPointerNull::get(CGM.Int32Ty->getPointerTo()); in emitTargetCall()
/external/llvm/lib/Transforms/ObjCARC/
DObjCARC.h62 isa<ConstantPointerNull>(OldArg))) && in EraseInstruction()
/external/llvm/lib/Analysis/
DCaptureTracking.cpp296 if (ConstantPointerNull *CPN = in PointerMayBeCaptured()
297 dyn_cast<ConstantPointerNull>(I->getOperand(1))) in PointerMayBeCaptured()
DBasicAliasAnalysis.cpp1317 if (const ConstantPointerNull *CPN = dyn_cast<ConstantPointerNull>(O1)) in aliasCheck()
1320 if (const ConstantPointerNull *CPN = dyn_cast<ConstantPointerNull>(O2)) in aliasCheck()
1341 if ((isa<ConstantPointerNull>(O2) && isKnownNonNull(O1)) || in aliasCheck()
1342 (isa<ConstantPointerNull>(O1) && isKnownNonNull(O2))) in aliasCheck()
DMemoryBuiltins.cpp423 if (ConstantPointerNull *P = dyn_cast<ConstantPointerNull>(V)) in compute()
521 ObjectSizeOffsetVisitor::visitConstantPointerNull(ConstantPointerNull&) { in visitConstantPointerNull() argument
DLazyValueInfo.cpp593 Res = LVILatticeVal::getNot(ConstantPointerNull::get(PT)); in solveBlockValue()
695 Result = LVILatticeVal::getNot(ConstantPointerNull::get(PTy)); in solveBlockValueNonLocal()
723 Result = LVILatticeVal::getNot(ConstantPointerNull::get(PTy)); in solveBlockValueNonLocal()
DGlobalsModRef.cpp390 if (!isa<ConstantPointerNull>(ICI->getOperand(1))) in AnalyzeUsesOfPointer()
433 if (isa<ConstantPointerNull>(SI->getOperand(0))) in AnalyzeIndirectGlobalMemory()
/external/llvm/unittests/Analysis/
DMixedTBAATest.cpp43 auto *Addr = ConstantPointerNull::get(PtrType); in TEST_F()
DAliasAnalysisTest.cpp178 auto *Addr = ConstantPointerNull::get(PtrType); in TEST_F()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp364 ConstantPointerNull::get(cast<PointerType>(Ptr->getType())), ITy); in combineLoadToNewType()
816 if (isa<ConstantPointerNull>(GEPI0) && GEPI->getPointerAddressSpace() == 0){ in visitLoadInst()
830 (isa<ConstantPointerNull>(Op) && LI.getPointerAddressSpace() == 0)) { in visitLoadInst()
865 if (isa<ConstantPointerNull>(SI->getOperand(1)) && in visitLoadInst()
872 if (isa<ConstantPointerNull>(SI->getOperand(2)) && in visitLoadInst()
1105 if (isa<ConstantPointerNull>(Ptr) && SI.getPointerAddressSpace() == 0) { in visitStoreInst()
/external/llvm/include/llvm/IR/
DConstants.h513 class ConstantPointerNull : public Constant {
515 ConstantPointerNull(const ConstantPointerNull &) = delete;
522 explicit ConstantPointerNull(PointerType *T)
533 static ConstantPointerNull *get(PointerType *T);
DValue.def72 HANDLE_CONSTANT(ConstantPointerNull)
/external/llvm/lib/Transforms/Utils/
DCtorUtils.cpp101 if (isa<ConstantPointerNull>(CS->getOperand(1))) in findGlobalCtors()
DValueMapper.cpp165 assert(isa<ConstantPointerNull>(C)); in MapValue()
166 return VM[V] = ConstantPointerNull::get(cast<PointerType>(NewTy)); in MapValue()
/external/llvm/lib/CodeGen/
DLowerEmuTLS.cpp90 Constant *NullPtr = ConstantPointerNull::get(VoidPtrType); in addEmuTlsVar()
DAnalysis.cpp130 if (!GV) V = cast<ConstantPointerNull>(Init); in ExtractTypeInfo()
133 assert((GV || isa<ConstantPointerNull>(V)) && in ExtractTypeInfo()
DGCRootLowering.cpp173 ConstantPointerNull::get(cast<PointerType>( in InsertRootInitializers()
/external/mesa3d/src/gallium/drivers/radeon/
DR600KernelParameters.cpp334 Value* ParamAddrSpacePtr = ConstantPointerNull::get( in ConstantRead()
348 Value *ParamAddrSpacePtr = ConstantPointerNull::get(PointerType::get( in ConstantRead()
/external/llvm/lib/IR/
DConstantFold.cpp163 if (isa<ConstantPointerNull>(V)) // ptr->ptr cast. in FoldBitCast()
164 return ConstantPointerNull::get(cast<PointerType>(DestTy)); in FoldBitCast()
623 return ConstantPointerNull::get(cast<PointerType>(DestTy)); in ConstantFoldCastInstruction()
1471 assert(isa<ConstantPointerNull>(V2) && "Canonicalization guarantee!"); in evaluateICmpRelation()
1497 assert((isa<ConstantPointerNull>(V2) || isa<GlobalValue>(V2)) && in evaluateICmpRelation()
1536 if (isa<ConstantPointerNull>(V2)) { in evaluateICmpRelation()
1548 } else if (isa<ConstantPointerNull>(CE1Op0)) { in evaluateICmpRelation()
1560 if (isa<ConstantPointerNull>(CE1Op0)) { in evaluateICmpRelation()
2062 return ConstantPointerNull::get(PointerType::get(Ty, in ConstantFoldGetElementPtrImpl()
DConstants.cpp102 return isa<ConstantAggregateZero>(this) || isa<ConstantPointerNull>(this) || in isNullValue()
220 return ConstantPointerNull::get(cast<PointerType>(Ty)); in getNullValue()
1390 ConstantPointerNull *ConstantPointerNull::get(PointerType *Ty) { in get()
1391 ConstantPointerNull *&Entry = Ty->getContext().pImpl->CPNConstants[Ty]; in get()
1393 Entry = new ConstantPointerNull(Ty); in get()
1400 void ConstantPointerNull::destroyConstantImpl() { in destroyConstantImpl()
2829 Value *ConstantPointerNull::handleOperandChangeImpl(Value *From, Value *To, in handleOperandChangeImpl()
/external/llvm/include/llvm/Analysis/
DObjCARCAnalysisUtils.h129 return isa<ConstantPointerNull>(V) || isa<UndefValue>(V); in IsNullOrUndef()
DMemoryBuiltins.h189 SizeOffsetType visitConstantPointerNull(ConstantPointerNull&);
/external/llvm/tools/bugpoint/
DCrashDebugger.cpp282 Constant *Replacement = ConstantPointerNull::get(Ty); in TestFuncs()
290 Constant *Replacement = ConstantPointerNull::get(Ty); in TestFuncs()
/external/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp318 ConstantPointerNull::get(Type), in processCallSite()

1234