Home
last modified time | relevance | path

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

1234

/external/llvm/lib/IR/
DConstantFold.cpp49 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 …]
DConstants.cpp66 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/
DConstant.h53 bool isNullValue() const;
/external/llvm/lib/Target/AArch64/
DAArch64SelectionDAGInfo.cpp29 (V && V->isNullValue()) ? STI.getBZeroEntry() : nullptr; in EmitTargetCodeForMemset()
/external/llvm/lib/Transforms/Utils/
DCtorUtils.cpp69 if (GV->getInitializer()->isNullValue()) in parseGlobalCtors()
/external/llvm/lib/CodeGen/
DShadowStackGCLowering.cpp204 if (!C->isNullValue()) in GetFrameMap()
317 return C->isNullValue(); in IsNullValue()
DWinEHPrepare.cpp136 if (TypeInfo->isNullValue()) in addTryBlockMapEntry()
332 assert((Filter || FilterOrNull->isNullValue()) && in calculateSEHStateNumbers()
/external/llvm/lib/Analysis/
DConstantFolding.cpp55 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()
DVectorUtils.cpp407 if (Elt->isNullValue()) in findScalarElement()
436 !cast<ConstantInt>(InsertEltInst->getOperand(2))->isNullValue()) in getSplatValue()
DSparsePropagation.cpp158 Succs[C->isNullValue()] = true; in getFeasibleSuccessors()
DLoopInfo.cpp166 if (CI->isNullValue()) in getCanonicalInductionVariable()
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp659 if (L->isNullValue() && R->isNullValue()) in cmpConstants()
661 if (L->isNullValue() && !R->isNullValue()) in cmpConstants()
663 if (!L->isNullValue() && R->isNullValue()) in cmpConstants()
DGlobalOpt.cpp382 !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/
DTargetLoweringObjectFile.cpp57 if (!C->isNullValue()) in isSuitableForBSS()
/external/mesa3d/src/gallium/drivers/radeon/
DSIISelLowering.cpp407 && False->isNullValue() in PerformDAGCombine()
427 && C->isNullValue() in PerformDAGCombine()
DAMDGPUISelLowering.cpp308 return C->isNullValue(); in isHWFalseValue()
/external/clang/lib/CodeGen/
DCGDecl.cpp811 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()
DCGExprConstant.cpp789 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/
DXCoreISelLowering.cpp1677 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/
DNVPTXAsmPrinter.cpp1180 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/
DX86SelectionDAGInfo.cpp75 V->isNullValue() ? Subtarget.getBZeroEntry() : nullptr) { in EmitTargetCodeForMemset()
/external/llvm/tools/bugpoint/
DCrashDebugger.cpp222 if(!Op->isNullValue()) { in RemoveFunctionReferences()
273 } else if (Root->isNullValue()) { in TestFuncs()
DExtractFunction.cpp263 if (CS->getOperand(1)->isNullValue()) in SplitStaticCtorDtor()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelDAGToDAG.cpp1385 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/
DInstructionCombining.cpp874 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()

1234