Home
last modified time | relevance | path

Searched refs:isNullValue (Results 1 – 25 of 229) sorted by relevance

12345678910

/external/llvm/lib/IR/
DConstantFold.cpp47 if (CV->isNullValue()) return Constant::getNullValue(DstTy); in BitCastConstantVector()
259 if (RHS->isNullValue()) in ExtractConstantBytes()
534 if (V->isNullValue() && !DestTy->isX86_MMXTy() && in ConstantFoldCastInstruction()
553 if (!CE->getOperand(i)->isNullValue()) { in ConstantFoldCastInstruction()
621 if (V->isNullValue()) // Is it an integral null value? in ConstantFoldCastInstruction()
626 if (V->isNullValue()) in ConstantFoldCastInstruction()
633 CE->getOperand(0)->isNullValue()) { in ConstantFoldCastInstruction()
647 CE->getOperand(1)->isNullValue()) { in ConstantFoldCastInstruction()
728 if (Cond->isNullValue()) return V2; in ConstantFoldSelectInstruction()
748 V = Cond->isNullValue() ? V2Element : V1Element; in ConstantFoldSelectInstruction()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantFold.cpp48 if (CV->isNullValue()) return Constant::getNullValue(DstTy); in BitCastConstantVector()
259 if (RHS->isNullValue()) in ExtractConstantBytes()
531 if (V->isNullValue() && !DestTy->isX86_MMXTy() && in ConstantFoldCastInstruction()
557 if (!CE->getOperand(i)->isNullValue()) { in ConstantFoldCastInstruction()
623 if (V->isNullValue()) // Is it an integral null value? in ConstantFoldCastInstruction()
628 if (V->isNullValue()) in ConstantFoldCastInstruction()
635 CE->getOperand(0)->isNullValue()) { in ConstantFoldCastInstruction()
658 CE->getOperand(1)->isNullValue()) { in ConstantFoldCastInstruction()
734 if (Cond->isNullValue()) return V2; in ConstantFoldSelectInstruction()
754 V = Cond->isNullValue() ? V2Element : V1Element; in ConstantFoldSelectInstruction()
[all …]
DConstantRange.cpp211 if (C->isNullValue()) in makeGuaranteedNoWrapRegion()
236 if (C->isNullValue()) in makeGuaranteedNoWrapRegion()
372 if (isFullSet() || (isWrappedSet() && !getUpper().isNullValue())) in getUnsignedMin()
523 if (L.isNullValue() && U.isNullValue()) in unionWith()
921 if (isEmptySet() || RHS.isEmptySet() || RHS.getUnsignedMax().isNullValue()) in udiv()
929 if (RHS_umin.isNullValue()) { in udiv()
969 if (umax.isNullValue()) in binaryOr()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstantFold.cpp48 if (CV->isNullValue()) return Constant::getNullValue(DstTy); in BitCastConstantVector()
241 if (RHS->isNullValue()) in ExtractConstantBytes()
523 if (V->isNullValue() && !DestTy->isX86_MMXTy()) in ConstantFoldCastInstruction()
538 if (!CE->getOperand(i)->isNullValue()) { in ConstantFoldCastInstruction()
597 if (V->isNullValue()) // Is it an integral null value? in ConstantFoldCastInstruction()
602 if (V->isNullValue()) in ConstantFoldCastInstruction()
609 CE->getOperand(0)->isNullValue()) { in ConstantFoldCastInstruction()
623 CE->getOperand(1)->isNullValue()) { in ConstantFoldCastInstruction()
697 if (Cond->isNullValue()) return V2; in ConstantFoldSelectInstruction()
758 if (Val->isNullValue()) // ee(zero, x) -> zero in ConstantFoldExtractElementInstruction()
[all …]
DConstants.cpp49 return isNullValue(); in isNegativeZeroValue()
52 bool Constant::isNullValue() const { in isNullValue() function in Constant
201 if (!isa<ConstantInt>(CE->getOperand(1)) ||CE->getOperand(1)->isNullValue()) in canTrap()
612 if (!C->isNullValue()) in get()
682 if (!V[i]->isNullValue()) in get()
719 bool isZero = C->isNullValue(); in get()
1016 if (!getOperand(getNumOperands()-1)->isNullValue()) in isCString()
1022 if (getOperand(i)->isNullValue()) in isCString()
1925 if (!ToC->isNullValue()) { in replaceUsesOfWithOnConstant()
1943 if (isAllZeros) isAllZeros = Val->isNullValue(); in replaceUsesOfWithOnConstant()
[all …]
DInstruction.cpp407 return Op && !Op->isNullValue(); in isSafeToSpeculativelyExecute()
414 return Op && !Op->isNullValue() && !Op->isAllOnesValue(); in isSafeToSpeculativelyExecute()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerGlobalDtors.cpp90 if (DtorFunc->isNullValue()) in runOnModule()
146 (!Associated->isNullValue() ? in runOnModule()
162 (!Associated->isNullValue() ? in runOnModule()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DKnownBits.h63 bool isUnknown() const { return Zero.isNullValue() && One.isNullValue(); } in isUnknown()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCmpInstAnalysis.cpp81 if (!C->isNullValue()) in decomposeBitTestICmp()
102 if (!C->isNullValue()) in decomposeBitTestICmp()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DScalarizeMaskedMemIntrin.cpp162 if (cast<ConstantVector>(Mask)->getOperand(Idx)->isNullValue()) in scalarizeMaskedLoad()
299 if (cast<ConstantVector>(Mask)->getOperand(Idx)->isNullValue()) in scalarizeMaskedStore()
411 if (cast<ConstantVector>(Mask)->getOperand(Idx)->isNullValue()) in scalarizeMaskedGather()
538 if (cast<ConstantVector>(Mask)->getOperand(Idx)->isNullValue()) in scalarizeMaskedScatter()
DWasmEHPrepare.cpp236 cast<Constant>(CPI->getArgOperand(0))->isNullValue()) in runOnFunction()
290 cast<Constant>(FPI->getArgOperand(0))->isNullValue())) { in prepareEHPad()
DShadowStackGCLowering.cpp111 if (!C->isNullValue()) in GetFrameMap()
224 return C->isNullValue(); in IsNullValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DFunctionComparator.cpp248 if (L->isNullValue() && R->isNullValue()) in cmpConstants()
250 if (L->isNullValue() && !R->isNullValue()) in cmpConstants()
252 if (!L->isNullValue() && R->isNullValue()) in cmpConstants()
DCtorUtils.cpp68 if (GV->getInitializer()->isNullValue()) in parseGlobalCtors()
/external/swiftshader/third_party/LLVM/include/llvm/
DConstant.h53 bool isNullValue() const;
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp512 cast<ConstantSDNode>(N.getOperand(3))->isNullValue()) { in isSetCCEquivalent()
1340 if (N1C && N1C->isNullValue()) in visitADD()
1362 cast<ConstantSDNode>(N0.getOperand(0))->isNullValue()) in visitADD()
1366 cast<ConstantSDNode>(N1.getOperand(0))->isNullValue()) in visitADD()
1499 if (N1C && N1C->isNullValue()) in visitADDC()
1671 if (N1C && N1C->isNullValue()) in visitMUL()
1756 if (N0C && N1C && !N1C->isNullValue()) in visitSDIV()
1773 if (N1C && !N1C->isNullValue() && !TLI.isIntDivCheap() && in visitSDIV()
1843 if (N0C && N1C && !N1C->isNullValue()) in visitUDIV()
1866 if (N1C && !N1C->isNullValue() && !TLI.isIntDivCheap()) { in visitUDIV()
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DConstant.h54 bool isNullValue() const;
/external/llvm/include/llvm/IR/
DConstant.h52 bool isNullValue() const;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstant.h52 bool isNullValue() const;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp81 return RHS.isNullValue(); in isSignBitCheck()
109 if (C.isNullValue()) in isSignTest()
1144 if (AP2.isNullValue()) in foldICmpShrConstConst()
1203 if (AP2.isNullValue()) in foldICmpShlConstConst()
1581 if (Shift->hasOneUse() && C1.isNullValue() && Cmp.isEquality() && in foldICmpAndShift()
1639 if (!Cmp.isSigned() && C1.isNullValue() && And->getOperand(0)->hasOneUse() && in foldICmpAndConstConst()
1714 if (And->hasOneUse() && C.isNullValue() && match(Y, m_APInt(C2))) { in foldICmpAndConstant()
1751 if (!Cmp.isEquality() || !C.isNullValue() || !Or->hasOneUse()) in foldICmpOrConstant()
1993 C.isNullValue()) in foldICmpShrConstant()
2137 if (C2->isNullValue() || C2->isOneValue() || in foldICmpDivConstant()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64SelectionDAGInfo.cpp28 const char *bzeroName = (V && V->isNullValue()) in EmitTargetCodeForMemset()
/external/llvm/lib/Target/AArch64/
DAArch64SelectionDAGInfo.cpp29 (V && V->isNullValue()) ? STI.getBZeroEntry() : nullptr; in EmitTargetCodeForMemset()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DConstantFolding.cpp49 if (C->isNullValue() && !DestTy->isX86_MMXTy()) in FoldBitCast()
487 if (GV->getInitializer()->isNullValue()) in ConstantFoldLoadFromConstPtr()
600 CE->getOperand(0)->isNullValue()) { in SymbolicallyEvaluateGEP()
646 if (Ptr->isNullValue() || BasePtr != 0) { in SymbolicallyEvaluateGEP()
915 if (TD && Ops1->isNullValue()) { in ConstantFoldCompareInstOperands()
963 CE0->getOpcode() == Instruction::Or && Ops1->isNullValue()) { in ConstantFoldCompareInstOperands()
/external/llvm/lib/Analysis/
DConstantFolding.cpp57 if (C->isNullValue() && !DestTy->isX86_MMXTy()) in FoldBitCast()
612 if (GV->getInitializer()->isNullValue()) in ConstantFoldLoadFromConstPtr()
774 CE->getOperand(0)->isNullValue()) { in SymbolicallyEvaluateGEP()
824 if (Ptr->isNullValue() || BasePtr != 0) { in SymbolicallyEvaluateGEP()
1103 if (Ops1->isNullValue()) { in ConstantFoldCompareInstOperands()
1156 CE0->getOpcode() == Instruction::Or && Ops1->isNullValue()) { in ConstantFoldCompareInstOperands()
1244 if (!CE->getOperand(1)->isNullValue()) in ConstantFoldLoadThroughGEPConstantExpr()
1875 if (MaskElt->isNullValue()) { in ConstantFoldVectorCall()
/external/llvm/lib/Transforms/Utils/
DCtorUtils.cpp69 if (GV->getInitializer()->isNullValue()) in parseGlobalCtors()

12345678910