/external/clang/lib/CodeGen/ |
D | CGCUDANV.cpp | 194 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()
|
D | CGOpenMPRuntime.cpp | 2137 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/ |
D | ObjCARC.h | 62 isa<ConstantPointerNull>(OldArg))) && in EraseInstruction()
|
/external/llvm/lib/Analysis/ |
D | CaptureTracking.cpp | 296 if (ConstantPointerNull *CPN = in PointerMayBeCaptured() 297 dyn_cast<ConstantPointerNull>(I->getOperand(1))) in PointerMayBeCaptured()
|
D | BasicAliasAnalysis.cpp | 1317 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()
|
D | MemoryBuiltins.cpp | 423 if (ConstantPointerNull *P = dyn_cast<ConstantPointerNull>(V)) in compute() 521 ObjectSizeOffsetVisitor::visitConstantPointerNull(ConstantPointerNull&) { in visitConstantPointerNull() argument
|
D | LazyValueInfo.cpp | 593 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()
|
D | GlobalsModRef.cpp | 390 if (!isa<ConstantPointerNull>(ICI->getOperand(1))) in AnalyzeUsesOfPointer() 433 if (isa<ConstantPointerNull>(SI->getOperand(0))) in AnalyzeIndirectGlobalMemory()
|
/external/llvm/unittests/Analysis/ |
D | MixedTBAATest.cpp | 43 auto *Addr = ConstantPointerNull::get(PtrType); in TEST_F()
|
D | AliasAnalysisTest.cpp | 178 auto *Addr = ConstantPointerNull::get(PtrType); in TEST_F()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 364 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/ |
D | Constants.h | 513 class ConstantPointerNull : public Constant { 515 ConstantPointerNull(const ConstantPointerNull &) = delete; 522 explicit ConstantPointerNull(PointerType *T) 533 static ConstantPointerNull *get(PointerType *T);
|
D | Value.def | 72 HANDLE_CONSTANT(ConstantPointerNull)
|
/external/llvm/lib/Transforms/Utils/ |
D | CtorUtils.cpp | 101 if (isa<ConstantPointerNull>(CS->getOperand(1))) in findGlobalCtors()
|
D | ValueMapper.cpp | 165 assert(isa<ConstantPointerNull>(C)); in MapValue() 166 return VM[V] = ConstantPointerNull::get(cast<PointerType>(NewTy)); in MapValue()
|
/external/llvm/lib/CodeGen/ |
D | LowerEmuTLS.cpp | 90 Constant *NullPtr = ConstantPointerNull::get(VoidPtrType); in addEmuTlsVar()
|
D | Analysis.cpp | 130 if (!GV) V = cast<ConstantPointerNull>(Init); in ExtractTypeInfo() 133 assert((GV || isa<ConstantPointerNull>(V)) && in ExtractTypeInfo()
|
D | GCRootLowering.cpp | 173 ConstantPointerNull::get(cast<PointerType>( in InsertRootInitializers()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | R600KernelParameters.cpp | 334 Value* ParamAddrSpacePtr = ConstantPointerNull::get( in ConstantRead() 348 Value *ParamAddrSpacePtr = ConstantPointerNull::get(PointerType::get( in ConstantRead()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 163 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()
|
D | Constants.cpp | 102 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/ |
D | ObjCARCAnalysisUtils.h | 129 return isa<ConstantPointerNull>(V) || isa<UndefValue>(V); in IsNullOrUndef()
|
D | MemoryBuiltins.h | 189 SizeOffsetType visitConstantPointerNull(ConstantPointerNull&);
|
/external/llvm/tools/bugpoint/ |
D | CrashDebugger.cpp | 282 Constant *Replacement = ConstantPointerNull::get(Ty); in TestFuncs() 290 Constant *Replacement = ConstantPointerNull::get(Ty); in TestFuncs()
|
/external/llvm/lib/Transforms/Scalar/ |
D | CorrelatedValuePropagation.cpp | 318 ConstantPointerNull::get(Type), in processCallSite()
|