/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 49 if (CV->isNullValue()) return Constant::getNullValue(DstTy); in BitCastConstantVector() 258 if (RHS->isNullValue()) in ExtractConstantBytes() 536 if (V->isNullValue() && !DestTy->isX86_MMXTy()) in ConstantFoldCastInstruction() 554 if (!CE->getOperand(i)->isNullValue()) { in ConstantFoldCastInstruction() 622 if (V->isNullValue()) // Is it an integral null value? in ConstantFoldCastInstruction() 627 if (V->isNullValue()) in ConstantFoldCastInstruction() 634 CE->getOperand(0)->isNullValue()) { in ConstantFoldCastInstruction() 648 CE->getOperand(1)->isNullValue()) { in ConstantFoldCastInstruction() 729 if (Cond->isNullValue()) return V2; in ConstantFoldSelectInstruction() 749 V = Cond->isNullValue() ? V2Element : V1Element; in ConstantFoldSelectInstruction() [all …]
|
D | Constants.cpp | 61 return isNullValue(); in isNegativeZeroValue() 72 return isNullValue(); in isZeroValue() 75 bool Constant::isNullValue() const { in isNullValue() function in Constant 335 if (!isa<ConstantInt>(CE->getOperand(1)) ||CE->getOperand(1)->isNullValue()) in canTrapImpl() 863 if (C->isNullValue() && rangeOnlyContains(V.begin(), V.end(), C)) in getImpl() 986 isZero = V[0]->isNullValue(); in get() 989 if (!V[i]->isNullValue()) in get() 1038 bool isZero = C->isNullValue(); in getImpl() 2847 if (AllSame && ToC->isNullValue()) { in replaceUsesOfWithOnConstant() 2883 if (ToC->isNullValue()) { in replaceUsesOfWithOnConstant() [all …]
|
/external/llvm/include/llvm/IR/ |
D | Constant.h | 56 bool isNullValue() const;
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64SelectionDAGInfo.cpp | 34 (V && V->isNullValue()) ? STI.getBZeroEntry() : nullptr; in EmitTargetCodeForMemset()
|
/external/llvm/lib/Transforms/IPO/ |
D | MergeFunctions.cpp | 524 if (L->isNullValue() && R->isNullValue()) in cmpConstants() 526 if (L->isNullValue() && !R->isNullValue()) in cmpConstants() 528 if (!L->isNullValue() && R->isNullValue()) in cmpConstants()
|
D | GlobalOpt.cpp | 378 !cast<Constant>(GEPI->getOperand(1))->isNullValue()) in isSafeSROAElementUse() 403 !cast<Constant>(U->getOperand(1))->isNullValue() || in IsUserOfGlobalSafeForSRA() 1572 GV->getInitializer()->isNullValue()) { in OptimizeOnceStoredGlobal() 1635 IsOneZero = InitVal->isNullValue() && CI->isOne(); in TryToShrinkGlobalToBoolean() 2470 if (Val->isNullValue() && DestVal && DestVal->isNullValue()) { in EvaluateBlock()
|
/external/llvm/lib/Transforms/Utils/ |
D | CtorUtils.cpp | 69 if (GV->getInitializer()->isNullValue()) in parseGlobalCtors()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 55 if (C->isNullValue() && !DestTy->isX86_MMXTy()) in FoldBitCast() 595 if (GV->getInitializer()->isNullValue()) in ConstantFoldLoadFromConstPtr() 750 CE->getOperand(0)->isNullValue()) { in SymbolicallyEvaluateGEP() 799 if (Ptr->isNullValue() || BasePtr != 0) { in SymbolicallyEvaluateGEP() 1117 if (Ops1->isNullValue()) { in ConstantFoldCompareInstOperands() 1170 CE0->getOpcode() == Instruction::Or && Ops1->isNullValue()) { in ConstantFoldCompareInstOperands() 1191 if (!CE->getOperand(1)->isNullValue()) in ConstantFoldLoadThroughGEPConstantExpr()
|
D | SparsePropagation.cpp | 158 Succs[C->isNullValue()] = true; in getFeasibleSuccessors()
|
D | ValueTracking.cpp | 1537 if (C->isNullValue()) in isKnownToBeAPowerOfTwo() 1713 if (C->isNullValue()) in isKnownNonZero() 2025 if (CLHS->isNullValue()) { in ComputeNumSignBits() 2244 if (CFP->isNullValue()) in CannotBeNegativeZero() 2341 if (C->isNullValue()) in isBytewiseValue() 2640 if (GV->getInitializer()->isNullValue()) { in getConstantStringInfo()
|
D | LazyValueInfo.cpp | 1231 if (Res->isNullValue()) in getPredicateResult() 1238 if (Res->isNullValue()) in getPredicateResult()
|
D | LoopInfo.cpp | 163 if (CI->isNullValue()) in getCanonicalInductionVariable()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 1607 if (N1C && N1C->isNullValue()) in visitADD() 1628 cast<ConstantSDNode>(N0.getOperand(0))->isNullValue()) in visitADD() 1632 cast<ConstantSDNode>(N1.getOperand(0))->isNullValue()) in visitADD() 1766 if (N1C && N1C->isNullValue()) in visitADDC() 1944 if (N1C && N1C->isNullValue()) in visitSUBC() 2102 if (N0C && N1C && !N1C->isNullValue()) in visitSDIV() 2120 if (N1C && !N1C->isNullValue() && (N1C->getAPIntValue().isPowerOf2() || in visitSDIV() 2191 if (N0C && N1C && !N1C->isNullValue()) in visitUDIV() 2237 if (N0C && N1C && !N1C->isNullValue()) in visitSREM() 2248 if (N1C && !N1C->isNullValue()) { in visitSREM() [all …]
|
/external/llvm/lib/CodeGen/ |
D | ShadowStackGCLowering.cpp | 200 if (!C->isNullValue()) in GetFrameMap() 313 return C->isNullValue(); in IsNullValue()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | SIISelLowering.cpp | 407 && False->isNullValue() in PerformDAGCombine() 427 && C->isNullValue() in PerformDAGCombine()
|
D | AMDGPUISelLowering.cpp | 308 return C->isNullValue(); in isHWFalseValue()
|
/external/clang/lib/CodeGen/ |
D | CGExprConstant.cpp | 769 if (fillC->isNullValue() && !NumInitableElts) in EmitArrayInitialization() 1106 assert(Offset->isNullValue() && "offset on array initializer"); in EmitConstantValue() 1114 if (!Offset->isNullValue()) { in EmitConstantValue() 1231 if (Filler && Filler->isNullValue() && !NumInitElts) { in EmitConstantValue() 1412 if (Element->isNullValue()) in EmitNullConstant()
|
D | CGDecl.cpp | 753 return Init->isNullValue() || NumStores--; in canEmitInitWithFewStoresAfterMemset() 784 assert(!Init->isNullValue() && !isa<llvm::UndefValue>(Init) && in emitStoresForInitAfterMemset() 800 if (!Elt->isNullValue() && !isa<llvm::UndefValue>(Elt)) in emitStoresForInitAfterMemset() 815 if (!Elt->isNullValue() && !isa<llvm::UndefValue>(Elt)) in emitStoresForInitAfterMemset() 1165 if (!constant->isNullValue() && !isa<llvm::UndefValue>(constant)) { in EmitAutoVarInit()
|
/external/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 58 if (!C->isNullValue()) in isSuitableForBSS()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 1673 if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) { in PerformDAGCombine() 1683 if (N1C && N1C->isNullValue() && N->hasNUsesOfValue(0, 1)) { in PerformDAGCombine() 1706 if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) { in PerformDAGCombine() 1722 if (N1C && N1C->isNullValue() && N->hasNUsesOfValue(0, 1)) { in PerformDAGCombine() 1752 if (N1C && N1C->isNullValue()) { in PerformDAGCombine()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXAsmPrinter.cpp | 1183 if (!Initializer->isNullValue() && !isa<UndefValue>(Initializer)) { in printModuleLevelGV() 1190 if (!GVar->getInitializer()->isNullValue()) { in printModuleLevelGV() 1217 if (!isa<UndefValue>(Initializer) && !Initializer->isNullValue()) { in printModuleLevelGV() 1754 if (isa<UndefValue>(CPV) || CPV->isNullValue()) { in bufferLEByte()
|
/external/llvm/lib/Target/X86/ |
D | X86SelectionDAGInfo.cpp | 83 V->isNullValue() ? Subtarget.getBZeroEntry() : nullptr) { in EmitTargetCodeForMemset()
|
/external/llvm/tools/bugpoint/ |
D | ExtractFunction.cpp | 231 if (CS->getOperand(1)->isNullValue()) in SplitStaticCtorDtor()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 814 InV = InC->isNullValue() ? FalseVInPred : TrueVInPred; in FoldOpIntoPhi() 1312 if (!isa<Constant>(*I) || !cast<Constant>(*I)->isNullValue()) { in visitGetElementPtrInst() 1483 cast<Constant>(*GEP.idx_begin())->isNullValue() && in visitGetElementPtrInst() 2306 return TypeInfo->isNullValue(); in isCatchAll() 2548 if (LArray->getOperand(l)->isNullValue()) { in visitLandingPadInst()
|
D | InstCombineCalls.cpp | 124 mdconst::extract<ConstantInt>(M->getOperand(0))->isNullValue() && in SimplifyMemTransfer() 330 if (NumBytes->isNullValue()) in visitCallInst() 1157 cast<Constant>(RHS)->isNullValue()) { in visitCallInst()
|