Home
last modified time | relevance | path

Searched refs:getNullValue (Results 1 - 25 of 94) sorted by relevance

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A 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(DestT in ConstantFoldCastInstruction()
[all...]
H A 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());
1147 return getNonEmpty(APInt::getNullValue(getBitWidth()), std::move(Upper));
1174 return ConstantRange(APInt::getNullValue(getBitWidth()), std::move(Upper));
1200 return getNonEmpty(APInt::getNullValue(getBitWidth()), std::move(umin) + 1);
1211 return getNonEmpty(std::move(umax), APInt::getNullValue(getBitWidth()));
1407 Lo = APInt::getNullValue(getBitWidt
[all...]
H A 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(T in UpgradeIntrinsicCall()
[all...]
H A 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(T in getBinOpIdentity()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
H A DInstrOrderFile.cpp84 Constant::getNullValue(BufferTy), SymbolName); in createOrderFileData()
91 Constant::getNullValue(IdxTy), IndexName); in createOrderFileData()
95 Constant::getNullValue(MapTy), BitMapName); in createOrderFileData()
H A DMemorySanitizer.cpp1528 return Constant::getNullValue(ShadowTy);
1568 return Constant::getNullValue(MS.OriginTy);
1631 CpShadowPtr, Constant::getNullValue(EntryIRB.getInt8Ty()),
2229 Value *Zero = Constant::getNullValue(Sc->getType());
2665 ResultShadow, ConstantInt::getNullValue(EltTy),
2790 IRB.CreateICmpNE(S1, Constant::getNullValue(T)), T);
2792 IRB.CreateICmpNE(S2, Constant::getNullValue(T)), T);
2820 S = IRB.CreateSExt(IRB.CreateICmpNE(S, Constant::getNullValue(ResTy)),
2836 S = IRB.CreateSExt(IRB.CreateICmpNE(S, Constant::getNullValue(ResTy)),
2851 IRB.CreateICmpNE(S0, Constant::getNullValue(ResT
[all...]
H A DAddressSanitizer.cpp1700 Value *CmpVal = Constant::getNullValue(ShadowTy); in instrumentAddress()
2286 NewTy, G->getInitializer(), Constant::getNullValue(RightRedZoneTy)); in InstrumentGlobals()
2336 Constant *ODRIndicator = ConstantExpr::getNullValue(IRB.getInt8PtrTy()); in InstrumentGlobals()
2358 Constant::getNullValue(IRB.getInt8Ty()), in InstrumentGlobals()
2954 IRB.CreateStore(Constant::getNullValue(IntptrTy), DynamicAllocaLayout); in createDynamicAllocasInitStorage()
3088 Constant::getNullValue(IRB.getInt32Ty())); in processStaticAllocas()
3102 IRB.CreateICmpEQ(FakeStack, Constant::getNullValue(IntptrTy)); in processStaticAllocas()
3201 IRBRet.CreateICmpNE(FakeStack, Constant::getNullValue(IntptrTy)); in processStaticAllocas()
3218 Constant::getNullValue(IRBPoison.getInt8Ty()), in processStaticAllocas()
3262 Value *Zero = Constant::getNullValue(IntptrT in handleDynamicAllocaCall()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
H A DSanitizerStats.cpp51 {Constant::getNullValue(Int8PtrTy), in create()
86 {Constant::getNullValue(Int8PtrTy), in finish()
H A DSimplifyLibCalls.cpp379 return Constant::getNullValue(CI->getType());
407 return Constant::getNullValue(CI->getType());
764 return Constant::getNullValue(CI->getType());
770 return Constant::getNullValue(CI->getType());
802 return Constant::getNullValue(CI->getType());
822 return Constant::getNullValue(CI->getType());
857 ConstantInt::getNullValue(StrNCmp->getType()), "cmp");
877 return Constant::getNullValue(CI->getType());
912 return Constant::getNullValue(CI->getType());
984 return Constant::getNullValue(C
[all...]
H A 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/
H A 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(OrOp in foldICmpOrConstant()
[all...]
H A DInstCombineCalls.cpp136 MI->setLength(Constant::getNullValue(MI->getLength()->getType())); in SimplifyAnyMemTransfer()
229 MI->setLength(Constant::getNullValue(MemOpLength->getType())); in SimplifyAnyMemTransfer()
246 MI->setLength(Constant::getNullValue(MI->getLength()->getType())); in SimplifyAnyMemSet()
285 MI->setLength(Constant::getNullValue(LenC->getType())); in SimplifyAnyMemSet()
521 ConstantVec.push_back(ConstantInt::getNullValue(SVT)); in simplifyX86varShift()
591 MinValue = APInt::getNullValue(SrcScalarSizeInBits); in simplifyX86pack()
624 return Constant::getNullValue(ResTy); in simplifyX86movmsk()
640 Res = Builder.CreateICmpSLT(Res, Constant::getNullValue(IntegerVecTy)); in simplifyX86movmsk()
963 auto V2 = Constant::getNullValue(VecTy); in simplifyX86pshufb()
1307 Constant *ZeroVec = Constant::getNullValue(I in simplifyX86MaskedLoad()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A 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(T in simplifyDivRem()
[all...]
H A 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(T in ConstantFoldScalarCall2()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
H A DConstant.h50 /// Return true if this is the value that would be returned by getNullValue.
172 static Constant *getNullValue(Type* Ty);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
H A DConstant.h53 /// Return true if this is the value that would be returned by getNullValue.
138 static Constant *getNullValue(Type* Ty);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
H A DEvaluator.h51 Tmp->replaceAllUsesWith(Constant::getNullValue(Tmp->getType())); in ~Evaluator()
/third_party/protobuf/php/src/Google/Protobuf/
H A DValue.php55 public function getNullValue() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
H A 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/Frontend/OpenMP/
H A 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/Transforms/Scalar/
H A DReg2Mem.cpp87 Constant::getNullValue(Type::getInt32Ty(F.getContext())), in runOnFunction()
H A 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/lib/Target/AMDGPU/
H A DAMDGPUOpenCLEnqueuedBlockLowering.cpp123 /*Initializer=*/Constant::getNullValue(T), RuntimeHandle, in runOnModule()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/Utils/
H A DLocal.h33 Value *Result = Constant::getNullValue(IntIdxTy); in EmitGEPOffset()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DShadowStackGCLowering.cpp213 Constant::getNullValue(StackEntryPtrTy), "llvm_gc_root_chain"); in doInitialization()
215 Head->setInitializer(Constant::getNullValue(StackEntryPtrTy)); in doInitialization()

Completed in 48 milliseconds

1234