Home
last modified time | relevance | path

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

123456

/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
DConstantFold.cpp48 if (CV->isNullValue()) return Constant::getNullValue(DstTy); in BitCastConstantVector()
125 Constant::getNullValue(Type::getInt32Ty(DPTy->getContext())); in FoldBitCast()
149 return Constant::getNullValue(DestTy); in FoldBitCast()
282 return Constant::getNullValue( in ExtractConstantBytes()
305 return Constant::getNullValue( in ExtractConstantBytes()
322 return Constant::getNullValue(IntegerType::get(CE->getContext(), in ExtractConstantBytes()
363 return Constant::getNullValue(DestTy); in ConstantFoldCastInstruction()
369 return Constant::getNullValue(DestTy); in ConstantFoldCastInstruction()
482 APInt::getNullValue(DestTy->getPrimitiveSizeInBits())); in ConstantFoldCastInstruction()
901 return Constant::getNullValue(C1->getType()); in ConstantFoldBinaryInstruction()
[all …]
DConstantRange.cpp113 return ConstantRange(std::move(UMin) + 1, APInt::getNullValue(W)); in makeAllowedICmpRegion()
122 return getNonEmpty(CR.getUnsignedMin(), APInt::getNullValue(W)); in makeAllowedICmpRegion()
251 return getNonEmpty(APInt::getNullValue(BitWidth), in makeGuaranteedNoWrapRegion()
294 return getNonEmpty(APInt::getNullValue(BitWidth), in makeGuaranteedNoWrapRegion()
1139 APInt Zero = APInt::getNullValue(getBitWidth()); in sdiv()
1239 return getNonEmpty(APInt::getNullValue(getBitWidth()), std::move(Upper)); in urem()
1275 return ConstantRange(APInt::getNullValue(getBitWidth()), std::move(Upper)); in srem()
1309 return getNonEmpty(APInt::getNullValue(getBitWidth()), std::move(umin) + 1); in binaryAnd()
1324 return getNonEmpty(std::move(umax), APInt::getNullValue(getBitWidth())); in binaryOr()
1538 Lo = APInt::getNullValue(getBitWidth()); in abs()
[all …]
DAutoUpgrade.cpp1036 Constant::getNullValue(IRB.getInt8PtrTy())); in UpgradeGlobalVariable()
1056 Value *Res = Constant::getNullValue(VecTy); in UpgradeX86PSLLDQIntrinsics()
1090 Value *Res = Constant::getNullValue(VecTy); in UpgradeX86PSRLDQIntrinsics()
1179 return llvm::Constant::getNullValue(Op0->getType()); in UpgradeX86ALIGNIntrinsics()
1186 Op0 = llvm::Constant::getNullValue(Op0->getType()); in UpgradeX86ALIGNIntrinsics()
1338 return Constant::getNullValue(Ty); // FALSE in upgradeX86vpcom()
1485 Constant::getNullValue(Vec->getType()), in ApplyX86MaskOn1BitsVec()
1498 Cmp = Constant::getNullValue( in upgradeMaskedCompare()
1991 Value *Zero = llvm::Constant::getNullValue(Ty); in UpgradeIntrinsicCall()
2062 C = ConstantInt::getNullValue(Builder.getInt16Ty()); in UpgradeIntrinsicCall()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
DInstrOrderFile.cpp83 Constant::getNullValue(BufferTy), SymbolName); in createOrderFileData()
90 Constant::getNullValue(IdxTy), IndexName); in createOrderFileData()
94 Constant::getNullValue(MapTy), BitMapName); in createOrderFileData()
DMemorySanitizer.cpp1603 return Constant::getNullValue(ShadowTy); in getCleanShadow()
1643 return Constant::getNullValue(MS.OriginTy); in getCleanOrigin()
1714 CpShadowPtr, Constant::getNullValue(EntryIRB.getInt8Ty()), in getShadow()
2361 Value *Zero = Constant::getNullValue(Sc->getType()); in handleEqualityComparison()
2813 ResultShadow, ConstantInt::getNullValue(EltTy), in handleVectorConvertIntrinsic()
2938 IRB.CreateICmpNE(S1, Constant::getNullValue(T)), T); in handleVectorPackIntrinsic()
2940 IRB.CreateICmpNE(S2, Constant::getNullValue(T)), T); in handleVectorPackIntrinsic()
2968 S = IRB.CreateSExt(IRB.CreateICmpNE(S, Constant::getNullValue(ResTy)), in handleVectorSadIntrinsic()
2984 S = IRB.CreateSExt(IRB.CreateICmpNE(S, Constant::getNullValue(ResTy)), in handleVectorPmaddIntrinsic()
2999 IRB.CreateICmpNE(S0, Constant::getNullValue(ResTy)), ResTy); in handleVectorComparePackedIntrinsic()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp643 NewInsts[Base] = ConstantInt::getNullValue(IndexType); in rewriteGEPAsOffset()
753 Constant *Index = ConstantInt::getNullValue(IndexType); in getAsConstantIndexedAddress()
860 Constant::getNullValue(Offset->getType())); in foldGEPICmp()
1169 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in foldICmpShrConstConst()
1220 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in foldICmpShlConstConst()
1375 X, ConstantInt::getNullValue(XTy)); in foldSignBitTest()
1582 ConstantInt::getNullValue(X->getType())) in foldICmpTruncConstant()
1617 ConstantInt::getNullValue(X->getType())); in foldICmpXorConstant()
1769 Constant *Zero = Constant::getNullValue(X->getType()); in foldICmpAndConstConst()
1867 return new ICmpInst(NewPred, X, ConstantInt::getNullValue(X->getType())); in foldICmpAndConstant()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-stress/
Dllvm-stress.cpp216 return ConstantInt::getNullValue(Tp); in getRandomConstant()
220 return ConstantFP::getNullValue(Tp); in getRandomConstant()
238 return ConstantInt::getNullValue(Tp); in getRandomValue()
242 return ConstantFP::getNullValue(Tp); in getRandomValue()
432 return PT->push_back(ConstantVector::getNullValue(Ty)); in Act()
447 return PT->push_back(ConstantFP::getNullValue(Ty)); in Act()
458 Ty, APInt::getNullValue(Ty->getPrimitiveSizeInBits()))); in Act()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
DSanitizerStats.cpp51 {Constant::getNullValue(Int8PtrTy), in create()
86 {Constant::getNullValue(Int8PtrTy), in finish()
DSimplifyLibCalls.cpp326 return Constant::getNullValue(CI->getType()); in optimizeStrChr()
354 return Constant::getNullValue(CI->getType()); in optimizeStrRChr()
726 return Constant::getNullValue(CI->getType()); in optimizeStrPBrk()
732 return Constant::getNullValue(CI->getType()); in optimizeStrPBrk()
764 return Constant::getNullValue(CI->getType()); in optimizeStrSpn()
784 return Constant::getNullValue(CI->getType()); in optimizeStrCSpn()
819 ConstantInt::getNullValue(StrNCmp->getType()), "cmp"); in optimizeStrStr()
839 return Constant::getNullValue(CI->getType()); in optimizeStrStr()
874 return Constant::getNullValue(CI->getType()); in optimizeMemChr()
947 return Constant::getNullValue(CI->getType()); in optimizeMemChr()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DInstructionSimplify.cpp633 return Constant::getNullValue(Op0->getType()); in SimplifyAddInst()
702 APInt Offset = APInt::getNullValue(IntIdxTy->getIntegerBitWidth()); in stripAndComputeConstantOffsets()
758 return Constant::getNullValue(Op0->getType()); in SimplifySubInst()
764 return Constant::getNullValue(Op0->getType()); in SimplifySubInst()
771 return Constant::getNullValue(Op0->getType()); in SimplifySubInst()
889 return Constant::getNullValue(Op0->getType()); in SimplifyMulInst()
980 return Constant::getNullValue(Ty); in simplifyDivRem()
985 return Constant::getNullValue(Op0->getType()); in simplifyDivRem()
990 return IsDiv ? ConstantInt::get(Ty, 1) : Constant::getNullValue(Ty); in simplifyDivRem()
1000 return IsDiv ? Op0 : Constant::getNullValue(Ty); in simplifyDivRem()
[all …]
DConstantFolding.cpp115 return Constant::getNullValue(DestTy); in FoldBitCast()
219 Constant *Zero = Constant::getNullValue(DstEltTy); in FoldBitCast()
230 Src = Constant::getNullValue( in FoldBitCast()
368 return Constant::getNullValue(DestTy); in ConstantFoldLoadThroughBitcast()
588 return Constant::getNullValue(LoadTy); in FoldReinterpretLoadFromConstPtr()
595 return Constant::getNullValue(LoadTy); in FoldReinterpretLoadFromConstPtr()
771 return Constant::getNullValue(Ty); in ConstantFoldLoadFromConstPtr()
1288 Constant *Null = Constant::getNullValue(C->getType()); in ConstantFoldCompareInstOperands()
1298 Constant *Null = Constant::getNullValue(C->getType()); in ConstantFoldCompareInstOperands()
1938 return Constant::getNullValue(Ty); in ConstantFoldScalarCall1()
[all …]
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
DCGCXXABI.cpp33 return llvm::Constant::getNullValue(CGM.getTypes().ConvertType(T)); in GetBogusMemberPointer()
54 llvm::Constant *FnPtr = llvm::Constant::getNullValue(FTy->getPointerTo()); in EmitLoadOfMemberFunctionPointer()
65 return llvm::Constant::getNullValue(Ty); in EmitMemberDataPointerAddress()
DCGExprComplex.cpp239 llvm::Constant *Null = llvm::Constant::getNullValue(CGF.ConvertType(Elem)); in VisitCXXScalarValueInitExpr()
246 llvm::Constant::getNullValue(CGF.ConvertType(Elem)); in VisitImplicitValueInitExpr()
406 return ComplexPairTy(llvm::Constant::getNullValue(Imag->getType()), Imag); in VisitImaginaryLiteral()
453 return ComplexPairTy(Val, llvm::Constant::getNullValue(Val->getType())); in EmitScalarToComplexCast()
808 LibCallOp.LHS.second = llvm::Constant::getNullValue(LHSr->getType()); in EmitBinDiv()
828 LHSi = llvm::Constant::getNullValue(RHSi->getType()); in EmitBinDiv()
1094 llvm::Value* zeroConstant = llvm::Constant::getNullValue(LTy); in VisitInitListExpr()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
DX86PartialReduction.cpp161 Value *Zero = Constant::getNullValue(MAdd->getType()); in tryMAddReplacement()
240 Value *Zero = Constant::getNullValue(Op0->getType()); in trySADReplacement()
291 Value *Zero = Constant::getNullValue(Ops[0]->getType()); in trySADReplacement()
DX86LowerAMXIntrinsics.cpp196 Value *VecZero = Constant::getNullValue(V256I32Ty); in createTileLoadStoreLoops()
325 Value *VecZero = Constant::getNullValue(V256I32Ty); in createTileDPLoops()
441 Value *ZeroV2I16 = Constant::getNullValue(V2I16Ty); in createTileDPLoops()
563 Value *VecZero = Constant::getNullValue(V256I32Ty); in lowerTileZero()
DX86InstCombineIntrinsic.cpp31 V = ConstantExpr::getICmp(CmpInst::ICMP_SGT, Constant::getNullValue(IntTy), in getNegativeIsTrueBoolVec()
59 Constant *ZeroVec = Constant::getNullValue(II.getType()); in simplifyX86MaskedLoad()
409 ConstantVec.push_back(ConstantInt::getNullValue(SVT)); in simplifyX86varShift()
479 MinValue = APInt::getNullValue(SrcScalarSizeInBits); in simplifyX86pack()
511 return Constant::getNullValue(ResTy); in simplifyX86movmsk()
528 Res = Builder.CreateICmpSLT(Res, Constant::getNullValue(IntegerVecTy)); in simplifyX86movmsk()
844 auto V2 = Constant::getNullValue(VecTy); in simplifyX86pshufb()
1768 return ConstantInt::getNullValue(VTy); in simplifyDemandedUseBitsIntrinsic()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
DConstant.h184 static Constant *getNullValue(Type* Ty);
DFixedPointBuilder.h53 Value *Zero = Constant::getNullValue(Result->getType()); in Convert()
213 Constant *Zero = Constant::getNullValue(Result->getType()); in CreateFloatingToFixed()
271 Constant *Zero = Constant::getNullValue(Result->getType()); in CreateSub()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
DEvaluator.h51 Tmp->replaceAllUsesWith(Constant::getNullValue(Tmp->getType())); in ~Evaluator()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
DAArch64StackTagging.cpp220 Value *Store1 = I1 == Out.end() ? Constant::getNullValue(IRB.getInt64Ty()) in generate()
222 Value *Store2 = I2 == Out.end() ? Constant::getNullValue(IRB.getInt64Ty()) in generate()
485 IRB.CreateCall(IRG_SP, {Constant::getNullValue(IRB.getInt64Ty())}); in insertBaseTaggedPointer()
637 IRB.CreateCall(TagP, {Constant::getNullValue(Info.AI->getType()), Base, in runOnFunction()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/Utils/
DLocal.h98 return Result ? Result : Constant::getNullValue(IntIdxTy);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUOpenCLEnqueuedBlockLowering.cpp119 /*Initializer=*/Constant::getNullValue(T), RuntimeHandle, in runOnModule()
DAMDGPUInstCombineIntrinsic.cpp417 return IC.replaceInstUsesWith(II, ConstantInt::getNullValue(Ty)); in instCombineIntrinsic()
620 IC.replaceOperand(II, 1, ConstantInt::getNullValue(Src1->getType())); in instCombineIntrinsic()
698 return IC.replaceInstUsesWith(II, Constant::getNullValue(II.getType())); in instCombineIntrinsic()
860 return IC.replaceInstUsesWith(II, ConstantFP::getNullValue(II.getType())); in instCombineIntrinsic()
883 auto *Zero = ConstantFP::getNullValue(II.getType()); in instCombineIntrinsic()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DReg2Mem.cpp67 Constant::getNullValue(Type::getInt32Ty(F.getContext())), in runPass()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
DShadowStackGCLowering.cpp218 Constant::getNullValue(StackEntryPtrTy), "llvm_gc_root_chain"); in doInitialization()
220 Head->setInitializer(Constant::getNullValue(StackEntryPtrTy)); in doInitialization()

123456