/external/llvm/lib/VMCore/ |
D | ConstantFold.cpp | 47 if (CV->isNullValue()) return Constant::getNullValue(DstTy); in BitCastConstantVector() 239 if (RHS->isNullValue()) in ExtractConstantBytes() 521 if (V->isNullValue() && !DestTy->isX86_MMXTy()) in ConstantFoldCastInstruction() 536 if (!CE->getOperand(i)->isNullValue()) { in ConstantFoldCastInstruction() 598 if (V->isNullValue()) // Is it an integral null value? in ConstantFoldCastInstruction() 603 if (V->isNullValue()) in ConstantFoldCastInstruction() 610 CE->getOperand(0)->isNullValue()) { in ConstantFoldCastInstruction() 624 CE->getOperand(1)->isNullValue()) { in ConstantFoldCastInstruction() 695 if (Cond->isNullValue()) return V2; in ConstantFoldSelectInstruction() 706 Constant *V = Cond->isNullValue() ? V2 : V1; in ConstantFoldSelectInstruction() [all …]
|
D | Constants.cpp | 51 return isNullValue(); in isNegativeZeroValue() 54 bool Constant::isNullValue() const { in isNullValue() function in Constant 242 if (!isa<ConstantInt>(CE->getOperand(1)) ||CE->getOperand(1)->isNullValue()) in canTrap() 706 if (C->isNullValue() && rangeOnlyContains(V.begin(), V.end(), C)) in get() 827 isZero = V[0]->isNullValue(); in get() 830 if (!V[i]->isNullValue()) in get() 874 bool isZero = C->isNullValue(); in get() 2482 if (AllSame && ToC->isNullValue()) { in replaceUsesOfWithOnConstant() 2545 if (ToC->isNullValue()) { in replaceUsesOfWithOnConstant() 2550 if (isAllZeros) isAllZeros = Val->isNullValue(); in replaceUsesOfWithOnConstant()
|
/external/llvm/include/llvm/ |
D | Constant.h | 54 bool isNullValue() const;
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 548 cast<ConstantSDNode>(N.getOperand(3))->isNullValue()) { in isSetCCEquivalent() 1390 if (N1C && N1C->isNullValue()) in visitADD() 1412 cast<ConstantSDNode>(N0.getOperand(0))->isNullValue()) in visitADD() 1416 cast<ConstantSDNode>(N1.getOperand(0))->isNullValue()) in visitADD() 1547 if (N1C && N1C->isNullValue()) in visitADDC() 1714 if (N1C && N1C->isNullValue()) in visitSUBC() 1762 if (N1C && N1C->isNullValue()) in visitMUL() 1847 if (N0C && N1C && !N1C->isNullValue()) in visitSDIV() 1864 if (N1C && !N1C->isNullValue() && in visitSDIV() 1902 if (N1C && !N1C->isNullValue() && !TLI.isIntDivCheap()) { in visitSDIV() [all …]
|
D | SelectionDAG.cpp | 183 if (!cast<ConstantSDNode>(Zero)->isNullValue()) in isBuildVectorAllZeros() 2276 if (CLHS->isNullValue()) { in ComputeNumSignBits() 2393 return !C->isNullValue(); in isKnownNeverZero() 2771 if (N2C && N2C->isNullValue()) in getNode() 2785 if (N2C && N2C->isNullValue()) in getNode() 2871 if (N2C && N2C->isNullValue()) in getNode() 3695 isa<ConstantSDNode>(Src) && cast<ConstantSDNode>(Src)->isNullValue(); in getMemsetStores() 3760 if (ConstantSize->isNullValue()) in getMemcpy() 3827 if (ConstantSize->isNullValue()) in getMemmove() 3881 if (ConstantSize->isNullValue()) in getMemset()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 50 if (C->isNullValue() && !DestTy->isX86_MMXTy()) in FoldBitCast() 517 if (GV->getInitializer()->isNullValue()) in ConstantFoldLoadFromConstPtr() 647 CE->getOperand(0)->isNullValue()) { in SymbolicallyEvaluateGEP() 694 if (Ptr->isNullValue() || BasePtr != 0) { in SymbolicallyEvaluateGEP() 989 if (TD && Ops1->isNullValue()) { in ConstantFoldCompareInstOperands() 1037 CE0->getOpcode() == Instruction::Or && Ops1->isNullValue()) { in ConstantFoldCompareInstOperands() 1060 if (!CE->getOperand(1)->isNullValue()) in ConstantFoldLoadThroughGEPConstantExpr()
|
D | ValueTracking.cpp | 802 if (C->isNullValue()) in isPowerOfTwo() 864 if (C->isNullValue()) in isKnownNonZero() 1105 if (CLHS->isNullValue()) { in ComputeNumSignBits() 1312 cast<ConstantFP>(I->getOperand(1))->isNullValue()) in CannotBeNegativeZero() 1353 if (C->isNullValue()) in isBytewiseValue() 1671 if (GV->getInitializer()->isNullValue()) { in getConstantStringInfo()
|
D | SparsePropagation.cpp | 157 Succs[C->isNullValue()] = true; in getFeasibleSuccessors()
|
D | LazyValueInfo.cpp | 1116 if (Res->isNullValue()) in getPredicateOnEdge() 1123 if (Res->isNullValue()) in getPredicateOnEdge()
|
D | LoopInfo.cpp | 162 if (CI->isNullValue()) in getCanonicalInductionVariable()
|
/external/llvm/lib/CodeGen/ |
D | ShadowStackGC.cpp | 211 if (!C->isNullValue()) in GetFrameMap() 317 return C->isNullValue(); in IsNullValue()
|
/external/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 54 if (!C->isNullValue()) in isSuitableForBSS()
|
/external/clang/lib/CodeGen/ |
D | CGDecl.cpp | 678 return Init->isNullValue() || NumStores--; in canEmitInitWithFewStoresAfterMemset() 709 assert(!Init->isNullValue() && !isa<llvm::UndefValue>(Init) && in emitStoresForInitAfterMemset() 725 if (!Elt->isNullValue() && !isa<llvm::UndefValue>(Elt)) in emitStoresForInitAfterMemset() 739 if (!Elt->isNullValue() && !isa<llvm::UndefValue>(Elt)) in emitStoresForInitAfterMemset() 1067 if (!constant->isNullValue() && !isa<llvm::UndefValue>(constant)) { in EmitAutoVarInit()
|
D | CGExprConstant.cpp | 1078 assert(Offset->isNullValue() && "offset on array initializer"); in EmitConstantValue() 1086 if (!Offset->isNullValue()) { in EmitConstantValue() 1477 if (Element->isNullValue()) in EmitNullConstant()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 1356 if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) { in PerformDAGCombine() 1366 if (N1C && N1C->isNullValue() && N->hasNUsesOfValue(0, 0)) { in PerformDAGCombine() 1389 if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) { in PerformDAGCombine() 1405 if (N1C && N1C->isNullValue() && N->hasNUsesOfValue(0, 0)) { in PerformDAGCombine() 1435 if (N1C && N1C->isNullValue()) { in PerformDAGCombine()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 441 if (C->isNullValue()) { in visitLoadInst() 448 if (C->isNullValue()) { in visitLoadInst()
|
D | InstructionCombining.cpp | 682 InV = InC->isNullValue() ? FalseVInPred : TrueVInPred; in FoldOpIntoPhi() 833 if (!isa<Constant>(*I) || !cast<Constant>(*I)->isNullValue()) { in visitGetElementPtrInst() 906 cast<Constant>(*GEP.idx_begin())->isNullValue() && in visitGetElementPtrInst() 1502 return TypeInfo->isNullValue(); in isCatchAll() 1744 if (LArray->getOperand(l)->isNullValue()) { in visitLandingPadInst()
|
D | InstCombineMulDivRem.cpp | 298 if (ST->isNullValue()) in SimplifyDivRemOfSelect() 302 if (ST->isNullValue()) in SimplifyDivRemOfSelect()
|
D | InstCombineCompares.cpp | 642 !cast<Constant>(GEPLHS->getOperand(i))->isNullValue()) { in FoldGEPICmp() 654 !cast<Constant>(GEPRHS->getOperand(i))->isNullValue()) { in FoldGEPICmp() 1246 if (!ICI.isEquality() || !RHS->isNullValue() || !LHSI->hasOneUse()) in visitICmpInstWithInstAndIntCst() 1461 if (!ConstantExpr::getAnd(BOC, NotCI)->isNullValue()) in visitICmpInstWithInstAndIntCst() 2208 if (RHSC->isNullValue() && in visitICmpInst() 2250 if (RHSC->isNullValue() && TD && in visitICmpInst() 2993 if (RHSC->isNullValue() && CI->getCalledFunction() && in visitFCmpInst()
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 564 !cast<Constant>(GEPI->getOperand(1))->isNullValue()) in isSafeSROAElementUse() 590 !cast<Constant>(U->getOperand(1))->isNullValue() || in IsUserOfGlobalSafeForSRA() 1769 GV->getInitializer()->isNullValue()) { in OptimizeOnceStoredGlobal() 1833 IsOneZero = InitVal->isNullValue() && CI->isOne(); in TryToShrinkGlobalToBoolean() 2180 if (GV->getInitializer()->isNullValue()) in ParseGlobalCtors() 2694 if (Val->isNullValue() && DestVal && DestVal->isNullValue()) { in EvaluateBlock()
|
D | MergeFunctions.cpp | 391 if (C1->isNullValue() && C2->isNullValue() && in enumerate()
|
D | FunctionAttrs.cpp | 488 if (!C->isNullValue() && !isa<UndefValue>(C)) in IsFunctionMallocLike()
|
/external/llvm/lib/Target/X86/ |
D | X86SelectionDAGInfo.cpp | 55 V->isNullValue() ? Subtarget->getBZeroEntry() : 0) { in EmitTargetCodeForMemset()
|
/external/llvm/tools/bugpoint/ |
D | ExtractFunction.cpp | 242 if (CS->getOperand(1)->isNullValue()) in SplitStaticCtorDtor()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXAsmPrinter.cpp | 81 if (CV->isNullValue() || isa<UndefValue>(CV)) in LowerConstant() 1147 if (!Initializer->isNullValue()) { in printModuleLevelGV() 1172 !Initializer->isNullValue()) { in printModuleLevelGV() 1719 if (isa<UndefValue>(CPV) || CPV->isNullValue()) { in bufferLEByte()
|