Home
last modified time | relevance | path

Searched refs:getNullValue (Results 1 – 25 of 95) sorted by relevance

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DInstrOrderFile.cpp84 Constant::getNullValue(BufferTy), SymbolName); in createOrderFileData()
91 Constant::getNullValue(IdxTy), IndexName); in createOrderFileData()
95 Constant::getNullValue(MapTy), BitMapName); in createOrderFileData()
DMemorySanitizer.cpp1528 return Constant::getNullValue(ShadowTy); in getCleanShadow()
1568 return Constant::getNullValue(MS.OriginTy); in getCleanOrigin()
1631 CpShadowPtr, Constant::getNullValue(EntryIRB.getInt8Ty()), in getShadow()
2229 Value *Zero = Constant::getNullValue(Sc->getType()); in handleEqualityComparison()
2665 ResultShadow, ConstantInt::getNullValue(EltTy), in handleVectorConvertIntrinsic()
2790 IRB.CreateICmpNE(S1, Constant::getNullValue(T)), T); in handleVectorPackIntrinsic()
2792 IRB.CreateICmpNE(S2, Constant::getNullValue(T)), T); in handleVectorPackIntrinsic()
2820 S = IRB.CreateSExt(IRB.CreateICmpNE(S, Constant::getNullValue(ResTy)), in handleVectorSadIntrinsic()
2836 S = IRB.CreateSExt(IRB.CreateICmpNE(S, Constant::getNullValue(ResTy)), in handleVectorPmaddIntrinsic()
2851 IRB.CreateICmpNE(S0, Constant::getNullValue(ResTy)), ResTy); in handleVectorComparePackedIntrinsic()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantFold.cpp48 if (CV->isNullValue()) return Constant::getNullValue(DstTy); in BitCastConstantVector()
114 Constant::getNullValue(Type::getInt32Ty(DPTy->getContext())); in FoldBitCast()
146 return Constant::getNullValue(DestTy); in FoldBitCast()
279 return Constant::getNullValue( in ExtractConstantBytes()
302 return Constant::getNullValue( in ExtractConstantBytes()
319 return Constant::getNullValue(IntegerType::get(CE->getContext(), in ExtractConstantBytes()
365 return ConstantExpr::getNullValue(DestTy); in getFoldedSizeOf()
529 return Constant::getNullValue(DestTy); in ConstantFoldCastInstruction()
535 return Constant::getNullValue(DestTy); in ConstantFoldCastInstruction()
686 APInt::getNullValue(DestTy->getPrimitiveSizeInBits())); in ConstantFoldCastInstruction()
[all …]
DConstantRange.cpp112 return ConstantRange(std::move(UMin) + 1, APInt::getNullValue(W)); in makeAllowedICmpRegion()
121 return getNonEmpty(CR.getUnsignedMin(), APInt::getNullValue(W)); in makeAllowedICmpRegion()
245 return getNonEmpty(APInt::getNullValue(BitWidth), in makeGuaranteedNoWrapRegion()
288 return getNonEmpty(APInt::getNullValue(BitWidth), in makeGuaranteedNoWrapRegion()
1056 APInt Zero = APInt::getNullValue(getBitWidth()); in sdiv()
1147 return getNonEmpty(APInt::getNullValue(getBitWidth()), std::move(Upper)); in urem()
1174 return ConstantRange(APInt::getNullValue(getBitWidth()), std::move(Upper)); in srem()
1200 return getNonEmpty(APInt::getNullValue(getBitWidth()), std::move(umin) + 1); in binaryAnd()
1211 return getNonEmpty(std::move(umax), APInt::getNullValue(getBitWidth())); in binaryOr()
1407 Lo = APInt::getNullValue(getBitWidth()); in abs()
[all …]
DAutoUpgrade.cpp882 Constant::getNullValue(IRB.getInt8PtrTy())); in UpgradeGlobalVariable()
902 Value *Res = Constant::getNullValue(VecTy); in UpgradeX86PSLLDQIntrinsics()
936 Value *Res = Constant::getNullValue(VecTy); in UpgradeX86PSRLDQIntrinsics()
1025 return llvm::Constant::getNullValue(Op0->getType()); in UpgradeX86ALIGNIntrinsics()
1032 Op0 = llvm::Constant::getNullValue(Op0->getType()); in UpgradeX86ALIGNIntrinsics()
1188 return Constant::getNullValue(Ty); // FALSE in upgradeX86vpcom()
1277 Value *Zero = llvm::Constant::getNullValue(Ty); in upgradeAbs()
1347 Constant::getNullValue(Vec->getType()), in ApplyX86MaskOn1BitsVec()
1360 Cmp = Constant::getNullValue(llvm::VectorType::get(Builder.getInt1Ty(), NumElts)); in upgradeMaskedCompare()
1852 Value *Zero = llvm::Constant::getNullValue(Ty); in UpgradeIntrinsicCall()
[all …]
DConstants.cpp318 Constant *Constant::getNullValue(Type *Ty) { in getNullValue() function in Constant
340 APInt::getNullValue(128))); in getNullValue()
857 return Constant::getNullValue(Ty); in getZeroValueForNegation()
920 return Constant::getNullValue(getType()->getSequentialElementType()); in getSequentialElement()
924 return Constant::getNullValue(getType()->getStructElementType(Elt)); in getStructElement()
1453 return getNullValue(this->getType()->getVectorElementType()); in getSplatValue()
2000 Ty, Constant::getNullValue(PointerType::getUnqual(Ty)), GEPIdx); in getSizeOf()
2009 Constant *NullPtr = Constant::getNullValue(AligningTy->getPointerTo(0)); in getAlignOf()
2031 Ty, Constant::getNullValue(PointerType::getUnqual(Ty)), GEPIdx); in getOffsetOf()
2416 return Constant::getNullValue(Ty); in getBinOpIdentity()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSanitizerStats.cpp51 {Constant::getNullValue(Int8PtrTy), in create()
86 {Constant::getNullValue(Int8PtrTy), in finish()
DSimplifyLibCalls.cpp379 return Constant::getNullValue(CI->getType()); in optimizeStrChr()
407 return Constant::getNullValue(CI->getType()); in optimizeStrRChr()
764 return Constant::getNullValue(CI->getType()); in optimizeStrPBrk()
770 return Constant::getNullValue(CI->getType()); in optimizeStrPBrk()
802 return Constant::getNullValue(CI->getType()); in optimizeStrSpn()
822 return Constant::getNullValue(CI->getType()); in optimizeStrCSpn()
857 ConstantInt::getNullValue(StrNCmp->getType()), "cmp"); in optimizeStrStr()
877 return Constant::getNullValue(CI->getType()); in optimizeStrStr()
912 return Constant::getNullValue(CI->getType()); in optimizeMemChr()
984 return Constant::getNullValue(CI->getType()); in optimizeMemChr()
[all …]
DCodeExtractor.cpp934 Idx[0] = Constant::getNullValue(Type::getInt32Ty(header->getContext())); in constructFunction()
1118 Idx[0] = Constant::getNullValue(Type::getInt32Ty(Context)); in emitCallAndSwitchStatement()
1157 Idx[0] = Constant::getNullValue(Type::getInt32Ty(Context)); in emitCallAndSwitchStatement()
1180 SwitchInst::Create(Constant::getNullValue(Type::getInt16Ty(Context)), in emitCallAndSwitchStatement()
1260 Idx[0] = Constant::getNullValue(Type::getInt32Ty(Context)); in emitCallAndSwitchStatement()
1293 Constant::getNullValue(OldFnRetTy), TheSwitch); in emitCallAndSwitchStatement()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp657 NewInsts[Base] = ConstantInt::getNullValue(IndexType); in rewriteGEPAsOffset()
767 Constant *Index = ConstantInt::getNullValue(IndexType); in getAsConstantIndexedAddress()
874 Constant::getNullValue(Offset->getType())); in foldGEPICmp()
1183 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in foldICmpShrConstConst()
1234 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in foldICmpShlConstConst()
1388 X, ConstantInt::getNullValue(XTy)); in foldSignBitTest()
1590 ConstantInt::getNullValue(X->getType())); in foldICmpXorConstant()
1741 Constant *Zero = Constant::getNullValue(X->getType()); in foldICmpAndConstConst()
1871 return new ICmpInst(NewPred, Trunc, Constant::getNullValue(NTy)); in foldICmpAndConstant()
1904 return new ICmpInst(Pred, A, ConstantInt::getNullValue(OrOp0->getType())); in foldICmpOrConstant()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInstructionSimplify.cpp632 return Constant::getNullValue(Op0->getType()); in SimplifyAddInst()
701 APInt Offset = APInt::getNullValue(IntIdxTy->getIntegerBitWidth()); in stripAndComputeConstantOffsets()
753 return Constant::getNullValue(Op0->getType()); in SimplifySubInst()
759 return Constant::getNullValue(Op0->getType()); in SimplifySubInst()
766 return Constant::getNullValue(Op0->getType()); in SimplifySubInst()
880 return Constant::getNullValue(Op0->getType()); in SimplifyMulInst()
961 return Constant::getNullValue(Ty); in simplifyDivRem()
966 return Constant::getNullValue(Op0->getType()); in simplifyDivRem()
971 return IsDiv ? ConstantInt::get(Ty, 1) : Constant::getNullValue(Ty); in simplifyDivRem()
981 return IsDiv ? Op0 : Constant::getNullValue(Ty); in simplifyDivRem()
[all …]
DConstantFolding.cpp103 return Constant::getNullValue(DestTy); in FoldBitCast()
207 Constant *Zero = Constant::getNullValue(DstEltTy); in FoldBitCast()
218 Src = Constant::getNullValue(C->getType()->getVectorElementType()); in FoldBitCast()
532 return Constant::getNullValue(LoadTy); in FoldReinterpretLoadFromConstPtr()
538 return Constant::getNullValue(LoadTy); in FoldReinterpretLoadFromConstPtr()
692 return Constant::getNullValue(Ty); in ConstantFoldLoadFromConstPtr()
1226 Constant *Null = Constant::getNullValue(C->getType()); in ConstantFoldCompareInstOperands()
1236 Constant *Null = Constant::getNullValue(C->getType()); in ConstantFoldCompareInstOperands()
1707 return Constant::getNullValue(Ty); in ConstantFoldScalarCall1()
2146 Constant::getNullValue(Ty->getStructElementType(1))}); in ConstantFoldScalarCall2()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DConstant.h138 static Constant *getNullValue(Type* Ty);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstant.h172 static Constant *getNullValue(Type* Ty);
/third_party/protobuf/php/src/Google/Protobuf/
DValue.php55 public function getNullValue() function in Google\\Protobuf\\Value
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DEvaluator.h51 Tmp->replaceAllUsesWith(Constant::getNullValue(Tmp->getType())); in ~Evaluator()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DReg2Mem.cpp87 Constant::getNullValue(Type::getInt32Ty(F.getContext())), in INITIALIZE_PASS_DEPENDENCY()
DSCCP.cpp1527 markForcedConstant(&I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
1543 markForcedConstant(&I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
1552 markForcedConstant(&I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
1566 markForcedConstant(&I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
1586 markForcedConstant(&I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
1601 markForcedConstant(&I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
1619 markForcedConstant(&I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/Utils/
DLocal.h33 Value *Result = Constant::getNullValue(IntIdxTy);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64StackTagging.cpp204 Value *Store1 = I1 == Out.end() ? Constant::getNullValue(IRB.getInt64Ty()) in generate()
206 Value *Store2 = I2 == Out.end() ? Constant::getNullValue(IRB.getInt64Ty()) in generate()
457 IRB.CreateCall(IRG_SP, {Constant::getNullValue(IRB.getInt64Ty())}); in insertBaseTaggedPointer()
625 IRB.CreateCall(TagP, {Constant::getNullValue(Info.AI->getType()), Base, in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUOpenCLEnqueuedBlockLowering.cpp123 /*Initializer=*/Constant::getNullValue(T), RuntimeHandle, in runOnModule()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Frontend/OpenMP/
DOMPIRBuilder.cpp103 Constant *I32Null = ConstantInt::getNullValue(Int32); in getOrCreateIdent()
349 Builder.CreateStore(Constant::getNullValue(Int32), TIDAddr); in CreateParallel()
350 Builder.CreateStore(Constant::getNullValue(Int32), ZeroAddr); in CreateParallel()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DShadowStackGCLowering.cpp213 Constant::getNullValue(StackEntryPtrTy), "llvm_gc_root_chain"); in doInitialization()
215 Head->setInitializer(Constant::getNullValue(StackEntryPtrTy)); in doInitialization()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerGlobalDtors.cpp169 Constant::getNullValue(Res->getType())); in runOnModule()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp335 SubInit = Constant::getNullValue(GEP->getResultElementType()); in CleanupConstantGlobalUsers()
569 Constant *NullInt =Constant::getNullValue(Type::getInt32Ty(GV->getContext())); in SRAGlobal()
1222 Constant::getNullValue(NPtr->getType()), in RewriteHeapSROALoadUser()
1318 Constant::getNullValue(PFieldTy), GV->getName() + ".f" + Twine(FieldNo), in PerformHeapAllocSRoA()
1353 Constant::getNullValue(FieldMallocs[i]->getType()), in PerformHeapAllocSRoA()
1381 Constant::getNullValue(GVVal->getType())); in PerformHeapAllocSRoA()
1391 new StoreInst(Constant::getNullValue(GVVal->getType()), FieldGlobals[i], in PerformHeapAllocSRoA()
1429 Constant *Null = Constant::getNullValue(ValTy); in PerformHeapAllocSRoA()
2917 CI->replaceAllUsesWith(Constant::getNullValue(CI->getType())); in OptimizeEmptyGlobalCXXDtors()

1234