/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 | 66 return isNullValue(); in isNegativeZeroValue() 88 return isNullValue(); in isZeroValue() 91 bool Constant::isNullValue() const { in isNullValue() function in Constant 366 if (!isa<ConstantInt>(CE->getOperand(1)) ||CE->getOperand(1)->isNullValue()) in canTrapImpl() 948 if (C->isNullValue() && rangeOnlyContains(V.begin(), V.end(), C)) in getImpl() 1005 isZero = V[0]->isNullValue(); in get() 1008 if (!V[i]->isNullValue()) in get() 1058 bool isZero = C->isNullValue(); in getImpl() 2868 if (AllSame && ToC->isNullValue()) in handleOperandChangeImpl() 2898 if (ToC->isNullValue()) { in handleOperandChangeImpl() [all …]
|
/external/llvm/include/llvm/IR/ |
D | Constant.h | 53 bool isNullValue() const;
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64SelectionDAGInfo.cpp | 29 (V && V->isNullValue()) ? STI.getBZeroEntry() : nullptr; in EmitTargetCodeForMemset()
|
/external/llvm/lib/Transforms/Utils/ |
D | CtorUtils.cpp | 69 if (GV->getInitializer()->isNullValue()) in parseGlobalCtors()
|
/external/llvm/lib/CodeGen/ |
D | ShadowStackGCLowering.cpp | 204 if (!C->isNullValue()) in GetFrameMap() 317 return C->isNullValue(); in IsNullValue()
|
D | WinEHPrepare.cpp | 136 if (TypeInfo->isNullValue()) in addTryBlockMapEntry() 332 assert((Filter || FilterOrNull->isNullValue()) && in calculateSEHStateNumbers()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 55 if (C->isNullValue() && !DestTy->isX86_MMXTy()) in FoldBitCast() 598 if (GV->getInitializer()->isNullValue()) in ConstantFoldLoadFromConstPtr() 753 CE->getOperand(0)->isNullValue()) { in SymbolicallyEvaluateGEP() 802 if (Ptr->isNullValue() || BasePtr != 0) { in SymbolicallyEvaluateGEP() 1119 if (Ops1->isNullValue()) { in ConstantFoldCompareInstOperands() 1172 CE0->getOpcode() == Instruction::Or && Ops1->isNullValue()) { in ConstantFoldCompareInstOperands() 1193 if (!CE->getOperand(1)->isNullValue()) in ConstantFoldLoadThroughGEPConstantExpr()
|
D | VectorUtils.cpp | 407 if (Elt->isNullValue()) in findScalarElement() 436 !cast<ConstantInt>(InsertEltInst->getOperand(2))->isNullValue()) in getSplatValue()
|
D | SparsePropagation.cpp | 158 Succs[C->isNullValue()] = true; in getFeasibleSuccessors()
|
D | LoopInfo.cpp | 166 if (CI->isNullValue()) in getCanonicalInductionVariable()
|
/external/llvm/lib/Transforms/IPO/ |
D | MergeFunctions.cpp | 659 if (L->isNullValue() && R->isNullValue()) in cmpConstants() 661 if (L->isNullValue() && !R->isNullValue()) in cmpConstants() 663 if (!L->isNullValue() && R->isNullValue()) in cmpConstants()
|
D | GlobalOpt.cpp | 382 !cast<Constant>(GEPI->getOperand(1))->isNullValue()) in isSafeSROAElementUse() 406 !cast<Constant>(U->getOperand(1))->isNullValue() || in IsUserOfGlobalSafeForSRA() 1572 GV->getInitializer()->isNullValue()) { in OptimizeOnceStoredGlobal() 1635 IsOneZero = InitVal->isNullValue() && CI->isOne(); in TryToShrinkGlobalToBoolean() 2602 if (Val->isNullValue() && DestVal && DestVal->isNullValue()) { in EvaluateBlock()
|
/external/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 57 if (!C->isNullValue()) in isSuitableForBSS()
|
/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 | CGDecl.cpp | 811 return Init->isNullValue() || NumStores--; in canEmitInitWithFewStoresAfterMemset() 842 assert(!Init->isNullValue() && !isa<llvm::UndefValue>(Init) && in emitStoresForInitAfterMemset() 858 if (!Elt->isNullValue() && !isa<llvm::UndefValue>(Elt)) in emitStoresForInitAfterMemset() 873 if (!Elt->isNullValue() && !isa<llvm::UndefValue>(Elt)) in emitStoresForInitAfterMemset() 1239 if (!constant->isNullValue() && !isa<llvm::UndefValue>(constant)) { in EmitAutoVarInit()
|
D | CGExprConstant.cpp | 789 if (fillC->isNullValue() && !NumInitableElts) in EmitArrayInitialization() 1276 assert(Offset->isNullValue() && "offset on array initializer"); in EmitConstantValue() 1284 if (!Offset->isNullValue()) { in EmitConstantValue() 1403 if (Filler && Filler->isNullValue() && !NumInitElts) { in EmitConstantValue()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 1677 if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) { in PerformDAGCombine() 1687 if (N1C && N1C->isNullValue() && N->hasNUsesOfValue(0, 1)) { in PerformDAGCombine() 1710 if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) { in PerformDAGCombine() 1726 if (N1C && N1C->isNullValue() && N->hasNUsesOfValue(0, 1)) { in PerformDAGCombine() 1756 if (N1C && N1C->isNullValue()) { in PerformDAGCombine()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXAsmPrinter.cpp | 1180 if (!Initializer->isNullValue() && !isa<UndefValue>(Initializer)) { in printModuleLevelGV() 1188 if (!GVar->getInitializer()->isNullValue() && in printModuleLevelGV() 1214 if (!isa<UndefValue>(Initializer) && !Initializer->isNullValue()) { in printModuleLevelGV() 1785 if (isa<UndefValue>(CPV) || CPV->isNullValue()) { in bufferLEByte() 2013 if (CV->isNullValue() || isa<UndefValue>(CV)) in lowerConstantForGV()
|
/external/llvm/lib/Target/X86/ |
D | X86SelectionDAGInfo.cpp | 75 V->isNullValue() ? Subtarget.getBZeroEntry() : nullptr) { in EmitTargetCodeForMemset()
|
/external/llvm/tools/bugpoint/ |
D | CrashDebugger.cpp | 222 if(!Op->isNullValue()) { in RemoveFunctionReferences() 273 } else if (Root->isNullValue()) { in TestFuncs()
|
D | ExtractFunction.cpp | 263 if (CS->getOperand(1)->isNullValue()) in SplitStaticCtorDtor()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelDAGToDAG.cpp | 1385 return Res && cast<ConstantSDNode>(SrcMods)->isNullValue(); in SelectVOP3NoMods() 1404 return Res && cast<ConstantSDNode>(SrcMods)->isNullValue() && in SelectVOP3NoMods0() 1405 cast<ConstantSDNode>(Clamp)->isNullValue() && in SelectVOP3NoMods0() 1406 cast<ConstantSDNode>(Omod)->isNullValue(); in SelectVOP3NoMods0()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 874 InV = InC->isNullValue() ? FalseVInPred : TrueVInPred; in FoldOpIntoPhi() 1365 if (!isa<Constant>(*I) || !cast<Constant>(*I)->isNullValue()) { in visitGetElementPtrInst() 1547 cast<Constant>(*GEP.idx_begin())->isNullValue() && in visitGetElementPtrInst() 2366 return TypeInfo->isNullValue(); in isCatchAll() 2623 if (LArray->getOperand(l)->isNullValue()) { in visitLandingPadInst()
|