Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DPHITransAddr.cpp383 Value *OpVal = InsertPHITranslatedSubExpr(Cast->getOperand(0), in InsertPHITranslatedSubExpr() local
385 if (!OpVal) return nullptr; in InsertPHITranslatedSubExpr()
388 CastInst *New = CastInst::Create(Cast->getOpcode(), OpVal, InVal->getType(), in InsertPHITranslatedSubExpr()
401 Value *OpVal = InsertPHITranslatedSubExpr(GEP->getOperand(i), in InsertPHITranslatedSubExpr() local
403 if (!OpVal) return nullptr; in InsertPHITranslatedSubExpr()
404 GEPOps.push_back(OpVal); in InsertPHITranslatedSubExpr()
425 Value *OpVal = InsertPHITranslatedSubExpr(Inst->getOperand(0), in InsertPHITranslatedSubExpr()
427 if (OpVal == 0) return 0; in InsertPHITranslatedSubExpr()
429 BinaryOperator *Res = BinaryOperator::CreateAdd(OpVal, Inst->getOperand(1), in InsertPHITranslatedSubExpr()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DPHITransAddr.cpp385 Value *OpVal = InsertPHITranslatedSubExpr(Cast->getOperand(0), in InsertPHITranslatedSubExpr() local
387 if (OpVal == 0) return 0; in InsertPHITranslatedSubExpr()
391 OpVal, InVal->getType(), in InsertPHITranslatedSubExpr()
403 Value *OpVal = InsertPHITranslatedSubExpr(GEP->getOperand(i), in InsertPHITranslatedSubExpr() local
405 if (OpVal == 0) return 0; in InsertPHITranslatedSubExpr()
406 GEPOps.push_back(OpVal); in InsertPHITranslatedSubExpr()
427 Value *OpVal = InsertPHITranslatedSubExpr(Inst->getOperand(0), in InsertPHITranslatedSubExpr()
429 if (OpVal == 0) return 0; in InsertPHITranslatedSubExpr()
431 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/Analysis/
DPHITransAddr.cpp386 Value *OpVal = InsertPHITranslatedSubExpr(Cast->getOperand(0), in InsertPHITranslatedSubExpr() local
388 if (!OpVal) return nullptr; in InsertPHITranslatedSubExpr()
391 CastInst *New = CastInst::Create(Cast->getOpcode(), OpVal, InVal->getType(), in InsertPHITranslatedSubExpr()
404 Value *OpVal = InsertPHITranslatedSubExpr(GEP->getOperand(i), in InsertPHITranslatedSubExpr() local
406 if (!OpVal) return nullptr; in InsertPHITranslatedSubExpr()
407 GEPOps.push_back(OpVal); in InsertPHITranslatedSubExpr()
428 Value *OpVal = InsertPHITranslatedSubExpr(Inst->getOperand(0), in InsertPHITranslatedSubExpr()
430 if (OpVal == 0) return 0; in InsertPHITranslatedSubExpr()
432 BinaryOperator *Res = BinaryOperator::CreateAdd(OpVal, Inst->getOperand(1), in InsertPHITranslatedSubExpr()
DSparsePropagation.cpp264 LatticeVal OpVal = getOrInitValueState(PN.getIncomingValue(i)); in visitPHINode() local
265 if (OpVal != PNIV) in visitPHINode()
266 PNIV = LatticeFunc->MergeValues(PNIV, OpVal); in visitPHINode()
/external/swiftshader/third_party/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.cpp1497 SDValue OpVal(0, 0); in getVecImm() local
1502 if (OpVal.getNode() == 0) in getVecImm()
1503 OpVal = N->getOperand(i); in getVecImm()
1504 else if (OpVal != N->getOperand(i)) in getVecImm()
1508 if (OpVal.getNode() != 0) { in getVecImm()
1509 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(OpVal)) { in getVecImm()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DSparsePropagation.h440 LatticeVal OpVal = in visitPHINode() local
442 if (OpVal != PNIV) in visitPHINode()
443 PNIV = LatticeFunc->MergeValues(PNIV, OpVal); in visitPHINode()
/external/swiftshader/third_party/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/swiftshader/third_party/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/InstCombine/
DInstCombinePHI.cpp952 Value *OpVal = PN.getIncomingValue(InValNo); in visitPHINode() local
953 if (OpVal != NonPhiInVal && !isa<PHINode>(OpVal)) in visitPHINode()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DCodeGenPrepare.cpp936 Value *OpVal = CS->getArgOperand(ArgNo++); in OptimizeInlineAsmInst() local
937 MadeChange |= OptimizeMemoryInst(CS, OpVal, OpVal->getType()); in OptimizeInlineAsmInst()
DSCCP.cpp884 Value *OpVal = CondCB->isZero() ? I.getFalseValue() : I.getTrueValue(); in visitSelectInst() local
885 mergeInValue(&I, getValueState(OpVal)); in visitSelectInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp1210 Value *OpVal = PN.getIncomingValue(InValNo); in visitPHINode() local
1211 if (OpVal != NonPhiInVal && !isa<PHINode>(OpVal)) in visitPHINode()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSCCP.cpp897 Value *OpVal = CondCB->isZero() ? I.getFalseValue() : I.getTrueValue(); in visitSelectInst() local
898 mergeInValue(&I, getValueState(OpVal)); in visitSelectInst()
/external/llvm/lib/Transforms/Scalar/
DSCCP.cpp852 Value *OpVal = CondCB->isZero() ? I.getFalseValue() : I.getTrueValue(); in visitSelectInst() local
853 mergeInValue(&I, getValueState(OpVal)); in visitSelectInst()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp3462 static bool IsOperandAMemoryOperand(CallInst *CI, InlineAsm *IA, Value *OpVal, in IsOperandAMemoryOperand() argument
3478 if (OpInfo.CallOperandVal == OpVal && in IsOperandAMemoryOperand()
4065 Value *OpVal = CS->getArgOperand(ArgNo++); in optimizeInlineAsmInst() local
4066 MadeChange |= optimizeMemoryInst(CS, OpVal, OpVal->getType(), ~0u); in optimizeInlineAsmInst()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp6707 const Value *OpVal = OpInfo.CallOperandVal; in visitInlineAsm() local
6708 if (isa<ConstantFP>(OpVal) || isa<ConstantInt>(OpVal) || in visitInlineAsm()
6709 isa<ConstantVector>(OpVal) || isa<ConstantDataVector>(OpVal)) { in visitInlineAsm()
6711 cast<Constant>(OpVal), TLI.getPointerTy(DAG.getDataLayout())); in visitInlineAsm()
6715 Type *Ty = OpVal->getType(); in visitInlineAsm()
7233 SDValue OpVal = Builder.getValue(CS.getArgument(i)); in addStackMapLiveVars() local
7234 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(OpVal)) { in addStackMapLiveVars()
7239 } else if (FrameIndexSDNode *FI = dyn_cast<FrameIndexSDNode>(OpVal)) { in addStackMapLiveVars()
7244 Ops.push_back(OpVal); in addStackMapLiveVars()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCISelLowering.cpp668 SDValue OpVal(0, 0); in get_VSPLTI_elt() local
729 if (OpVal.getNode() == 0) in get_VSPLTI_elt()
730 OpVal = N->getOperand(i); in get_VSPLTI_elt()
731 else if (OpVal != N->getOperand(i)) in get_VSPLTI_elt()
735 if (OpVal.getNode() == 0) return SDValue(); // All UNDEF: use implicit def. in get_VSPLTI_elt()
739 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(OpVal)) { in get_VSPLTI_elt()
741 } else if (ConstantFPSDNode *CN = dyn_cast<ConstantFPSDNode>(OpVal)) { in get_VSPLTI_elt()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp7172 const Value *OpVal = OpInfo.CallOperandVal; in getAddressForMemoryInput() local
7173 if (isa<ConstantFP>(OpVal) || isa<ConstantInt>(OpVal) || in getAddressForMemoryInput()
7174 isa<ConstantVector>(OpVal) || isa<ConstantDataVector>(OpVal)) { in getAddressForMemoryInput()
7176 cast<Constant>(OpVal), TLI.getPointerTy(DAG.getDataLayout())); in getAddressForMemoryInput()
7181 Type *Ty = OpVal->getType(); in getAddressForMemoryInput()
8002 SDValue OpVal = Builder.getValue(CS.getArgument(i)); in addStackMapLiveVars() local
8003 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(OpVal)) { in addStackMapLiveVars()
8008 } else if (FrameIndexSDNode *FI = dyn_cast<FrameIndexSDNode>(OpVal)) { in addStackMapLiveVars()
8013 Ops.push_back(OpVal); in addStackMapLiveVars()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4084 static bool IsOperandAMemoryOperand(CallInst *CI, InlineAsm *IA, Value *OpVal, in IsOperandAMemoryOperand() argument
4100 if (OpInfo.CallOperandVal == OpVal && in IsOperandAMemoryOperand()
4737 Value *OpVal = CS->getArgOperand(ArgNo++); in optimizeInlineAsmInst() local
4738 MadeChange |= optimizeMemoryInst(CS, OpVal, OpVal->getType(), ~0u); in optimizeInlineAsmInst()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp5957 const Value *OpVal = OpInfo.CallOperandVal; in visitInlineAsm() local
5958 if (isa<ConstantFP>(OpVal) || isa<ConstantInt>(OpVal) || in visitInlineAsm()
5959 isa<ConstantVector>(OpVal)) { in visitInlineAsm()
5960 OpInfo.CallOperand = DAG.getConstantPool(cast<Constant>(OpVal), in visitInlineAsm()
5965 Type *Ty = OpVal->getType(); in visitInlineAsm()
DSelectionDAG.cpp6674 SDValue OpVal = getOperand(i); in isConstantSplat() local
6677 if (OpVal.getOpcode() == ISD::UNDEF) in isConstantSplat()
6679 else if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(OpVal)) in isConstantSplat()
6682 else if (ConstantFPSDNode *CN = dyn_cast<ConstantFPSDNode>(OpVal)) in isConstantSplat()
DDAGCombiner.cpp5208 APInt OpVal = cast<ConstantSDNode>(BV->getOperand(i))-> in ConstantFoldBITCASTofBUILD_VECTOR() local
5212 APInt ThisVal = OpVal.trunc(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()
5214 if (isS2V && i == 0 && j == 0 && ThisVal.zext(SrcBitSize) == OpVal) in ConstantFoldBITCASTofBUILD_VECTOR()
5218 OpVal = OpVal.lshr(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp1606 SDValue OpVal(nullptr, 0); in get_VSPLTI_elt() local
1667 if (!OpVal.getNode()) in get_VSPLTI_elt()
1668 OpVal = N->getOperand(i); in get_VSPLTI_elt()
1669 else if (OpVal != N->getOperand(i)) in get_VSPLTI_elt()
1673 if (!OpVal.getNode()) return SDValue(); // All UNDEF: use implicit def. in get_VSPLTI_elt()
1677 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(OpVal)) { in get_VSPLTI_elt()
1679 } else if (ConstantFPSDNode *CN = dyn_cast<ConstantFPSDNode>(OpVal)) { in get_VSPLTI_elt()

12