reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/Constants.h
  550   static ConstantPointerNull *get(PointerType *T);

References

lib/Analysis/LazyValueInfo.cpp
  644     Res = ValueLatticeElement::getNot(ConstantPointerNull::get(PT));
  731       Result = ValueLatticeElement::getNot(ConstantPointerNull::get(PTy));
  766         Result = ValueLatticeElement::getNot(ConstantPointerNull::get(PTy));
lib/AsmParser/LLParser.cpp
 5193     V = ConstantPointerNull::get(cast<PointerType>(Ty));
lib/CodeGen/GCRootLowering.cpp
  163           ConstantPointerNull::get(cast<PointerType>(Root->getAllocatedType())),
lib/CodeGen/IntrinsicLowering.cpp
  334         ConstantPointerNull::get(cast<PointerType>(CI->getType())));
  340         ConstantPointerNull::get(cast<PointerType>(CI->getType())));
lib/CodeGen/LowerEmuTLS.cpp
   94   Constant *NullPtr = ConstantPointerNull::get(VoidPtrType);
lib/IR/ConstantFold.cpp
  162     return ConstantPointerNull::get(cast<PointerType>(DestTy));
  626       return ConstantPointerNull::get(cast<PointerType>(DestTy));
lib/IR/Constants.cpp
  313     return ConstantPointerNull::get(cast<PointerType>(Ty));
lib/IR/Core.cpp
 1043   return wrap(ConstantPointerNull::get(unwrap<PointerType>(Ty)));
lib/IR/Function.cpp
 1504   auto *CPN = ConstantPointerNull::get(Type::getInt1PtrTy(getContext(), 0));
 1517         ConstantPointerNull::get(Type::getInt1PtrTy(getContext(), 0)));
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
  360           ConstantPointerNull::get(PointerType::get(Type::getInt8Ty(Ctx), 1));
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  838           CI->setOperand(0, ConstantPointerNull::get(NewTy));
  841           CI->setOperand(1, ConstantPointerNull::get(NewTy));
  861           SI->setOperand(1, ConstantPointerNull::get(NewTy));
  864           SI->setOperand(2, ConstantPointerNull::get(NewTy));
  868             Phi->setIncomingValue(I, ConstantPointerNull::get(NewTy));
lib/Target/AMDGPU/R600ISelLowering.cpp
  913                      MachinePointerInfo(ConstantPointerNull::get(PtrType)));
lib/Target/WebAssembly/WebAssemblyLowerGlobalDtors.cpp
  165       Value *Null = ConstantPointerNull::get(VoidStar);
lib/Transforms/Coroutines/CoroFrame.cpp
 1167   auto Fn = ConstantPointerNull::get(FnTy->getPointerTo());
 1183   auto Fn = ConstantPointerNull::get(FnTy->getPointerTo());
lib/Transforms/Coroutines/CoroInstr.h
  127                   ConstantPointerNull::get(Type::getInt8PtrTy(getContext())));
lib/Transforms/Coroutines/CoroSplit.cpp
  204     Value *ReturnValue = ConstantPointerNull::get(ContinuationTy);
  305       auto *NullPtr = ConstantPointerNull::get(cast<PointerType>(
 1399   auto *Null = ConstantPointerNull::get(Type::getInt8PtrTy(Context));
lib/Transforms/Coroutines/Coroutines.cpp
   99       NullPtr(ConstantPointerNull::get(Int8Ptr)) {}
  176       Elide ? ConstantPointerNull::get(Type::getInt8PtrTy(CoroId->getContext()))
lib/Transforms/IPO/GlobalDCE.cpp
  408       F->replaceNonMetadataUsesWith(ConstantPointerNull::get(F->getType()));
lib/Transforms/IPO/LowerTypeTests.cpp
 1585   lowerTypeTestCalls(TypeIds, ConstantPointerNull::get(Int32PtrTy),
lib/Transforms/InstCombine/InstCombineCalls.cpp
 4014         return replaceInstUsesWith(*II, ConstantPointerNull::get(PT));
lib/Transforms/Instrumentation/InstrProfiling.cpp
  795   Constant *ValuesPtrExpr = ConstantPointerNull::get(Int8PtrTy);
  828                                : ConstantPointerNull::get(Int8PtrTy);
lib/Transforms/ObjCARC/ObjCARCContract.cpp
  509       Value *Null = ConstantPointerNull::get(cast<PointerType>(CI->getType()));
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  587                             ConstantPointerNull::get(Type),
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
  516         ConstantPointerNull::get(cast<PointerType>(I->getType())), true);
 1781           Constant *CPN = ConstantPointerNull::get(PT);
lib/Transforms/Utils/Local.cpp
 2560       ConstantPointerNull::get(cast<PointerType>(Ptr->getType())), ITy);
lib/Transforms/Utils/ValueMapper.cpp
  487   return getVM()[V] = ConstantPointerNull::get(cast<PointerType>(NewTy));
tools/bugpoint/CrashDebugger.cpp
  282       Constant *Replacement = ConstantPointerNull::get(Ty);
  290         Constant *Replacement = ConstantPointerNull::get(Ty);
tools/bugpoint/Miscompilation.cpp
  864           Constant *NullPtr = ConstantPointerNull::get(F->getType());
tools/clang/include/clang/CodeGen/ConstantInitBuilder.h
  204     add(llvm::ConstantPointerNull::get(ptrTy));
tools/clang/lib/CodeGen/CGBlocks.cpp
 2084         llvm::Value *null = llvm::ConstantPointerNull::get(ty);
 2334       llvm::ConstantPointerNull::get(cast<llvm::PointerType>(value->getType()));
tools/clang/lib/CodeGen/CGBuiltin.cpp
 3860         EventWaitList = llvm::ConstantPointerNull::get(EventPtrTy);
 3871         EventRet = llvm::ConstantPointerNull::get(EventPtrTy);
13049     Value *TDB = llvm::ConstantPointerNull::get(Int8PtrTy);
tools/clang/lib/CodeGen/CGCUDANV.cpp
  422     llvm::Constant *NullPtr = llvm::ConstantPointerNull::get(VoidPtrTy);
  433         llvm::ConstantPointerNull::get(IntTy->getPointerTo())};
  604   Values.add(llvm::ConstantPointerNull::get(VoidPtrTy));
  629         /*Initializer=*/llvm::ConstantPointerNull::get(VoidPtrPtrTy),
  671         llvm::ConstantPointerNull::get(VoidPtrPtrTy), "__cuda_gpubin_handle");
tools/clang/lib/CodeGen/CGCall.cpp
 3083       llvm::ConstantPointerNull::get(cast<llvm::PointerType>(ptr->getType()));
 3233     args.add(RValue::get(llvm::ConstantPointerNull::get(destType)),
 3252       llvm::ConstantPointerNull::get(
 3272                                    llvm::ConstantPointerNull::get(destType),
tools/clang/lib/CodeGen/CGCoroutine.cpp
  198   auto *NullPtr = llvm::ConstantPointerNull::get(CGF.CGM.Int8PtrTy);
  399     auto *NullPtr = llvm::ConstantPointerNull::get(CGF.Int8PtrTy);
  456     auto *NullPtr = llvm::ConstantPointerNull::get(CGF.Int8PtrTy);
  544   auto *NullPtr = llvm::ConstantPointerNull::get(Builder.getInt8PtrTy());
  576     auto *NullPtr = llvm::ConstantPointerNull::get(Int8PtrTy);
  710     auto NullPtr = llvm::ConstantPointerNull::get(Builder.getInt8PtrTy());
tools/clang/lib/CodeGen/CGDeclCXX.cpp
  130         Argument = llvm::ConstantPointerNull::get(DestTy);
tools/clang/lib/CodeGen/CGException.cpp
  358   return llvm::ConstantPointerNull::get(CGF.Int8PtrTy);
tools/clang/lib/CodeGen/CGExpr.cpp
 3222       Builder.CreateICmpNE(Data, llvm::ConstantPointerNull::get(Int8PtrTy));
tools/clang/lib/CodeGen/CGGPUBuiltin.cpp
   96     BufferPtr = llvm::ConstantPointerNull::get(llvm::Type::getInt8PtrTy(Ctx));
tools/clang/lib/CodeGen/CGNonTrivialStruct.cpp
  230   return llvm::ConstantPointerNull::get(cast<llvm::PointerType>(Ty));
tools/clang/lib/CodeGen/CGObjC.cpp
   41   return llvm::ConstantPointerNull::get(cast<llvm::PointerType>(type));
tools/clang/lib/CodeGen/CGObjCGNU.cpp
  764         self = llvm::ConstantPointerNull::get(IdTy);
 2147   NULLPtr = llvm::ConstantPointerNull::get(PtrToInt8Ty);
 3518     SuperClass = llvm::ConstantPointerNull::get(PtrToInt8Ty);
tools/clang/lib/CodeGen/CGObjCMac.cpp
 3737     layout = llvm::ConstantPointerNull::get(CGM.Int8PtrTy);
 5381     return llvm::ConstantPointerNull::get(CGM.Int8PtrTy);
 6390         llvm::ConstantPointerNull::get(ObjCTypes.ImpnfABITy->getPointerTo());
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 4555     PrivatesParam = llvm::ConstantPointerNull::get(CGF.VoidPtrTy);
 5049     TaskPrivatesMap = llvm::ConstantPointerNull::get(
 5303     DepTaskArgs[6] = llvm::ConstantPointerNull::get(CGF.VoidPtrTy);
 5333     DepWaitTaskArgs[5] = llvm::ConstantPointerNull::get(CGF.VoidPtrTy);
 5453                        : llvm::ConstantPointerNull::get(CGF.VoidPtrTy)};
 6047         llvm::ConstantPointerNull::get(CGM.VoidPtrTy),
 6262                                 : llvm::ConstantPointerNull::get(CGM.VoidPtrTy);
 8695     BasePointersArrayArg = llvm::ConstantPointerNull::get(CGM.VoidPtrPtrTy);
 8696     PointersArrayArg = llvm::ConstantPointerNull::get(CGM.VoidPtrPtrTy);
 8697     SizesArrayArg = llvm::ConstantPointerNull::get(CGM.Int64Ty->getPointerTo());
 8699         llvm::ConstantPointerNull::get(CGM.Int64Ty->getPointerTo());
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 1181         llvm::ConstantPointerNull::get(CGM.VoidPtrTy),
 1311         llvm::ConstantPointerNull::get(CGM.VoidPtrTy),
 2158       Address RecPtr = Address(llvm::ConstantPointerNull::get(GlobalRecPtrTy),
 2719       llvm::ConstantPointerNull::get(
tools/clang/lib/CodeGen/CodeGenFunction.cpp
  846     InitTempAlloca(ReturnLocation, llvm::ConstantPointerNull::get(Int8PtrTy));
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
  856       llvm::ConstantPointerNull::get(CGM.Int8PtrTy),
  857       llvm::ConstantPointerNull::get(getThrowInfoType()->getPointerTo())};
 3832     llvm::ConstantPointerNull::get(CGM.Int8PtrTy), // Runtime data
tools/clang/lib/CodeGen/TargetInfo.cpp
  434   return llvm::ConstantPointerNull::get(T);
 8043     return llvm::ConstantPointerNull::get(PT);
 8049       llvm::ConstantPointerNull::get(NPT), PT);
tools/polly/lib/CodeGen/PerfMonitor.cpp
   52                           ConstantPointerNull::get(Builder.getInt8PtrTy())));
unittests/Analysis/AliasAnalysisTest.cpp
  175   auto *Addr = ConstantPointerNull::get(PtrType);
unittests/Analysis/TBAATest.cpp
   41                            ConstantPointerNull::get(PtrType), BB);
unittests/FuzzMutate/OperationsTest.cpp
   98       ConstantPointerNull::get(PointerType::get(i32->getType(), 0));
unittests/Linker/LinkModulesTest.cpp
   97   Builder.CreateRet(ConstantPointerNull::get(Type::getInt8PtrTy(Ctx)));