Home
last modified time | relevance | path

Searched refs:OpVal (Results 1 – 12 of 12) sorted by relevance

/external/llvm/lib/Analysis/
DPHITransAddr.cpp384 Value *OpVal = InsertPHITranslatedSubExpr(Cast->getOperand(0), in InsertPHITranslatedSubExpr() local
386 if (OpVal == 0) return 0; in InsertPHITranslatedSubExpr()
390 OpVal, InVal->getType(), in InsertPHITranslatedSubExpr()
402 Value *OpVal = InsertPHITranslatedSubExpr(GEP->getOperand(i), in InsertPHITranslatedSubExpr() local
404 if (OpVal == 0) return 0; in InsertPHITranslatedSubExpr()
405 GEPOps.push_back(OpVal); in InsertPHITranslatedSubExpr()
426 Value *OpVal = InsertPHITranslatedSubExpr(Inst->getOperand(0), in InsertPHITranslatedSubExpr()
428 if (OpVal == 0) return 0; in InsertPHITranslatedSubExpr()
430 BinaryOperator *Res = BinaryOperator::CreateAdd(OpVal, Inst->getOperand(1), in InsertPHITranslatedSubExpr()
DSparsePropagation.cpp263 LatticeVal OpVal = getOrInitValueState(PN.getIncomingValue(i)); in visitPHINode() local
264 if (OpVal != PNIV) in visitPHINode()
265 PNIV = LatticeFunc->MergeValues(PNIV, OpVal); in visitPHINode()
/external/llvm/lib/Target/CellSPU/
DSPUOperands.td30 SDValue OpVal(0, 0);
39 OpVal.getNode() == 0 && i != e; ++i) {
41 if (OpVal.getNode() == 0)
42 OpVal = N->getOperand(i);
45 assert(OpVal.getNode() != 0 && "LO16_vec did not locate a <defined> node");
46 ConstantSDNode *CN = cast<ConstantSDNode>(OpVal);
58 SDValue OpVal(0, 0);
65 OpVal.getNode() == 0 && i != e; ++i) {
67 if (OpVal.getNode() == 0)
68 OpVal = N->getOperand(i);
[all …]
DSPUISelLowering.cpp1505 SDValue OpVal(0, 0); in getVecImm() local
1510 if (OpVal.getNode() == 0) in getVecImm()
1511 OpVal = N->getOperand(i); in getVecImm()
1512 else if (OpVal != N->getOperand(i)) in getVecImm()
1516 if (OpVal.getNode() != 0) { in getVecImm()
1517 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(OpVal)) { in getVecImm()
/external/llvm/lib/Transforms/Utils/
DAddrModeMatcher.cpp381 static bool IsOperandAMemoryOperand(CallInst *CI, InlineAsm *IA, Value *OpVal, in IsOperandAMemoryOperand() argument
392 if (OpInfo.CallOperandVal == OpVal && in IsOperandAMemoryOperand()
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp854 Value *OpVal = PN.getIncomingValue(InValNo); in visitPHINode() local
855 if (OpVal != NonPhiInVal && !isa<PHINode>(OpVal)) in visitPHINode()
/external/llvm/lib/Transforms/Scalar/
DCodeGenPrepare.cpp971 Value *OpVal = CS->getArgOperand(ArgNo++); in OptimizeInlineAsmInst() local
972 MadeChange |= OptimizeMemoryInst(CS, OpVal, OpVal->getType()); in OptimizeInlineAsmInst()
DSCCP.cpp830 Value *OpVal = CondCB->isZero() ? I.getFalseValue() : I.getTrueValue(); in visitSelectInst() local
831 mergeInValue(&I, getValueState(OpVal)); in visitSelectInst()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp706 SDValue OpVal(0, 0); in get_VSPLTI_elt() local
767 if (OpVal.getNode() == 0) in get_VSPLTI_elt()
768 OpVal = N->getOperand(i); in get_VSPLTI_elt()
769 else if (OpVal != N->getOperand(i)) in get_VSPLTI_elt()
773 if (OpVal.getNode() == 0) return SDValue(); // All UNDEF: use implicit def. in get_VSPLTI_elt()
777 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(OpVal)) { in get_VSPLTI_elt()
779 } else if (ConstantFPSDNode *CN = dyn_cast<ConstantFPSDNode>(OpVal)) { in get_VSPLTI_elt()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp5993 const Value *OpVal = OpInfo.CallOperandVal; in visitInlineAsm() local
5994 if (isa<ConstantFP>(OpVal) || isa<ConstantInt>(OpVal) || in visitInlineAsm()
5995 isa<ConstantVector>(OpVal) || isa<ConstantDataVector>(OpVal)) { in visitInlineAsm()
5996 OpInfo.CallOperand = DAG.getConstantPool(cast<Constant>(OpVal), in visitInlineAsm()
6001 Type *Ty = OpVal->getType(); in visitInlineAsm()
DSelectionDAG.cpp6076 SDValue OpVal = getOperand(i); in isConstantSplat() local
6079 if (OpVal.getOpcode() == ISD::UNDEF) in isConstantSplat()
6081 else if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(OpVal)) in isConstantSplat()
6084 else if (ConstantFPSDNode *CN = dyn_cast<ConstantFPSDNode>(OpVal)) in isConstantSplat()
DDAGCombiner.cpp5575 APInt OpVal = cast<ConstantSDNode>(BV->getOperand(i))-> in ConstantFoldBITCASTofBUILD_VECTOR() local
5579 APInt ThisVal = OpVal.trunc(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()
5581 if (isS2V && i == 0 && j == 0 && ThisVal.zext(SrcBitSize) == OpVal) in ConstantFoldBITCASTofBUILD_VECTOR()
5585 OpVal = OpVal.lshr(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()