Searched refs:isNullValue (Results 1 - 25 of 66) sorted by relevance

123

/freebsd-10-stable/contrib/llvm/include/llvm/IR/
H A DConstant.h52 /// isNullValue - Return true if this is the value that would be returned by
54 bool isNullValue() const;
/freebsd-10-stable/contrib/llvm/lib/IR/
H A DConstantFold.cpp47 if (CV->isNullValue()) return Constant::getNullValue(DstTy);
244 if (RHS->isNullValue())
522 if (V->isNullValue() && !DestTy->isX86_MMXTy())
537 if (!CE->getOperand(i)->isNullValue()) {
600 if (V->isNullValue()) // Is it an integral null value?
605 if (V->isNullValue())
612 CE->getOperand(0)->isNullValue()) {
626 CE->getOperand(1)->isNullValue()) {
700 if (Cond->isNullValue()) return V2;
711 Constant *V = Cond->isNullValue()
[all...]
H A DConstants.cpp61 return isNullValue();
72 return isNullValue();
75 bool Constant::isNullValue() const { function in class:Constant
267 if (!isa<ConstantInt>(CE->getOperand(1)) ||CE->getOperand(1)->isNullValue())
763 if (C->isNullValue() && rangeOnlyContains(V.begin(), V.end(), C))
884 isZero = V[0]->isNullValue();
887 if (!V[i]->isNullValue())
931 bool isZero = C->isNullValue();
2600 if (AllSame && ToC->isNullValue()) {
2663 if (ToC->isNullValue()) {
[all...]
/freebsd-10-stable/contrib/llvm/lib/CodeGen/
H A DShadowStackGC.cpp211 if (!C->isNullValue())
317 return C->isNullValue();
/freebsd-10-stable/contrib/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp54 if (!C->isNullValue())
/freebsd-10-stable/contrib/llvm/lib/Analysis/
H A DConstantFolding.cpp51 if (C->isNullValue() && !DestTy->isX86_MMXTy())
535 if (GV->getInitializer()->isNullValue())
696 CE->getOperand(0)->isNullValue()) {
746 if (Ptr->isNullValue() || BasePtr != 0) {
1065 if (TD && Ops1->isNullValue()) {
1121 CE0->getOpcode() == Instruction::Or && Ops1->isNullValue()) {
1144 if (!CE->getOperand(1)->isNullValue())
H A DSparsePropagation.cpp157 Succs[C->isNullValue()] = true;
H A DValueTracking.cpp823 if (C->isNullValue())
982 if (C->isNullValue())
1232 if (CLHS->isNullValue()) {
1444 if (CFP->isNullValue())
1485 if (C->isNullValue())
1799 if (GV->getInitializer()->isNullValue()) {
H A DLazyValueInfo.cpp1139 if (Res->isNullValue())
1146 if (Res->isNullValue())
H A DLoopInfo.cpp166 if (CI->isNullValue())
/freebsd-10-stable/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp587 cast<ConstantSDNode>(N.getOperand(3))->isNullValue()) {
1432 if (N1C && N1C->isNullValue())
1454 cast<ConstantSDNode>(N0.getOperand(0))->isNullValue())
1458 cast<ConstantSDNode>(N1.getOperand(0))->isNullValue())
1589 if (N1C && N1C->isNullValue())
1756 if (N1C && N1C->isNullValue())
1931 if (N0C && N1C && !N1C->isNullValue())
1948 if (N1C && !N1C->isNullValue() &&
1986 if (N1C && !N1C->isNullValue() && !TLI.isIntDivCheap()) {
2015 if (N0C && N1C && !N1C->isNullValue())
[all...]
/freebsd-10-stable/contrib/llvm/lib/Target/X86/
H A DX86SelectionDAGInfo.cpp53 V->isNullValue() ? Subtarget->getBZeroEntry() : 0) {
/freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGDecl.cpp710 return Init->isNullValue() || NumStores--;
741 assert(!Init->isNullValue() && !isa<llvm::UndefValue>(Init) &&
757 if (!Elt->isNullValue() && !isa<llvm::UndefValue>(Elt))
771 if (!Elt->isNullValue() && !isa<llvm::UndefValue>(Elt))
1125 if (!constant->isNullValue() && !isa<llvm::UndefValue>(constant)) {
H A DCGExprConstant.cpp1054 assert(Offset->isNullValue() && "offset on array initializer");
1062 if (!Offset->isNullValue()) {
1456 if (Element->isNullValue())
/freebsd-10-stable/contrib/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp1408 if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) {
1418 if (N1C && N1C->isNullValue() && N->hasNUsesOfValue(0, 1)) {
1441 if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) {
1457 if (N1C && N1C->isNullValue() && N->hasNUsesOfValue(0, 1)) {
1487 if (N1C && N1C->isNullValue()) {
/freebsd-10-stable/contrib/llvm/tools/bugpoint/
H A DExtractFunction.cpp242 if (CS->getOperand(1)->isNullValue())
/freebsd-10-stable/contrib/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp405 if (C1->isNullValue() && C2->isNullValue() &&
H A DGlobalOpt.cpp374 !cast<Constant>(GEPI->getOperand(1))->isNullValue())
400 !cast<Constant>(U->getOperand(1))->isNullValue() ||
1580 GV->getInitializer()->isNullValue()) {
1645 IsOneZero = InitVal->isNullValue() && CI->isOne();
1996 if (GV->getInitializer()->isNullValue())
2564 if (Val->isNullValue() && DestVal && DestVal->isNullValue()) {
/freebsd-10-stable/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp434 if (C->isNullValue()) {
441 if (C->isNullValue()) {
H A DInstructionCombining.cpp703 // even if currently isNullValue gives false.
706 InV = InC->isNullValue() ? FalseVInPred : TrueVInPred;
1101 if (!isa<Constant>(*I) || !cast<Constant>(*I)->isNullValue()) {
1174 cast<Constant>(*GEP.idx_begin())->isNullValue() &&
1862 return TypeInfo->isNullValue();
2104 if (LArray->getOperand(l)->isNullValue()) {
H A DInstCombineCompares.cpp680 !cast<Constant>(GEPLHS->getOperand(i))->isNullValue()) {
692 !cast<Constant>(GEPRHS->getOperand(i))->isNullValue()) {
1316 if (!ICI.isEquality() || !RHS->isNullValue() || !LHSI->hasOneUse())
1693 if (!ConstantExpr::getAnd(BOC, NotCI)->isNullValue())
2493 if (RHSC->isNullValue() &&
2535 if (RHSC->isNullValue() && TD &&
3363 if (RHSC->isNullValue() && CI->getCalledFunction() &&
/freebsd-10-stable/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp122 if (CV->isNullValue() || isa<UndefValue>(CV))
1226 if (!Initializer->isNullValue()) {
1249 if (!isa<UndefValue>(Initializer) && !Initializer->isNullValue()) {
1788 if (isa<UndefValue>(CPV) || CPV->isNullValue()) {
/freebsd-10-stable/contrib/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1261 bool isNullValue() const { return Value->isNullValue(); } function in class:ConstantSDNode
/freebsd-10-stable/contrib/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp1192 if (N1C->isNullValue() && N3C->isNullValue() &&
/freebsd-10-stable/contrib/llvm/lib/Target/R600/
H A DSIISelLowering.cpp862 && False->isNullValue()
882 && C->isNullValue()

Completed in 209 milliseconds

123