Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DMatchContext.h82 bool match(SDValue OpVal, unsigned Opc) const { in match() argument
83 if (!OpVal->isVPOpcode()) in match()
84 return OpVal->getOpcode() == Opc; in match()
86 auto BaseOpc = ISD::getBaseOpcodeForVP(OpVal->getOpcode(), in match()
87 !OpVal->getFlags().hasNoFPExcept()); in match()
92 unsigned VPOpcode = OpVal->getOpcode(); in match()
94 SDValue MaskOp = OpVal.getOperand(*MaskPos); in match()
102 if (RootVectorLenOp != OpVal.getOperand(*VLenPos)) in match()
H A DSelectionDAGISel.cpp2509 SDValue OpVal, SDLoc DL) { in pushStackMapLiveVariable() argument
2510 SDNode *OpNode = OpVal.getNode(); in pushStackMapLiveVariable()
2520 OpVal.getValueType())); in pushStackMapLiveVariable()
2522 Ops.push_back(OpVal); in pushStackMapLiveVariable()
H A DSelectionDAGBuilder.cpp9558 const Value *OpVal = OpInfo.CallOperandVal; in getAddressForMemoryInput() local
9559 if (isa<ConstantFP>(OpVal) || isa<ConstantInt>(OpVal) || in getAddressForMemoryInput()
9560 isa<ConstantVector>(OpVal) || isa<ConstantDataVector>(OpVal)) { in getAddressForMemoryInput()
9562 cast<Constant>(OpVal), TLI.getPointerTy(DAG.getDataLayout())); in getAddressForMemoryInput()
9567 Type *Ty = OpVal->getType(); in getAddressForMemoryInput()
H A DSelectionDAG.cpp12751 SDValue OpVal = getOperand(i); in isConstantSplat() local
12754 if (OpVal.isUndef()) in isConstantSplat()
12756 else if (auto *CN = dyn_cast<ConstantSDNode>(OpVal)) in isConstantSplat()
12758 else if (auto *CN = dyn_cast<ConstantFPSDNode>(OpVal)) in isConstantSplat()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DPHITransAddr.cpp366 Value *OpVal = insertTranslatedSubExpr(Cast->getOperand(0), CurBB, PredBB, in insertTranslatedSubExpr() local
368 if (!OpVal) return nullptr; in insertTranslatedSubExpr()
371 CastInst *New = CastInst::Create(Cast->getOpcode(), OpVal, InVal->getType(), in insertTranslatedSubExpr()
384 Value *OpVal = insertTranslatedSubExpr(Op, CurBB, PredBB, DT, NewInsts); in insertTranslatedSubExpr() local
385 if (!OpVal) return nullptr; in insertTranslatedSubExpr()
386 GEPOps.push_back(OpVal); in insertTranslatedSubExpr()
408 Value *OpVal = insertTranslatedSubExpr(Inst->getOperand(0), CurBB, PredBB, in insertTranslatedSubExpr() local
410 if (OpVal == nullptr) in insertTranslatedSubExpr()
414 OpVal, Inst->getOperand(1), InVal->getName() + ".phi.trans.insert", in insertTranslatedSubExpr()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DSparsePropagation.h437 LatticeVal OpVal = in visitPHINode() local
439 if (OpVal != PNIV) in visitPHINode()
440 PNIV = LatticeFunc->MergeValues(PNIV, OpVal); in visitPHINode()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp163 auto OpVal = cast<ConstantInt>(Arg0)->getValue().getZExtValue(); in removeCompareBuiltin() local
164 CmpInst::Predicate Opcode = (CmpInst::Predicate)OpVal; in removeCompareBuiltin()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp1578 Value *OpVal = PN.getIncomingValue(InValNo); in visitPHINode() local
1579 if (OpVal != NonPhiInVal && !isa<PHINode>(OpVal)) in visitPHINode()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp1365 Value *OpVal = II.getArgOperand(1); in instCombineSVEPTest() local
1369 if (PgVal == OpVal && in instCombineSVEPTest()
1372 Value *Ops[] = {PgVal, OpVal}; in instCombineSVEPTest()
1383 IntrinsicInst *Op = dyn_cast<IntrinsicInst>(OpVal); in instCombineSVEPTest()
1757 auto *OpVal = II.getOperand(0); in instCombineSVETBL() local
1770 auto *Extract = IC.Builder.CreateExtractElement(OpVal, SplatValue); in instCombineSVETBL()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp1418 Value *OpVal = CondCB->isZero() ? I.getFalseValue() : I.getTrueValue(); in visitSelectInst() local
1419 mergeInValue(&I, getValueState(OpVal)); in visitSelectInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp1187 for (unsigned OpVal : VCI.OpVals) in loadVectorConstant() local
1188 Ops.push_back(CurDAG->getTargetConstant(OpVal, DL, MVT::i32)); in loadVectorConstant()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp5183 static bool IsOperandAMemoryOperand(CallInst *CI, InlineAsm *IA, Value *OpVal, in IsOperandAMemoryOperand() argument
5196 if (OpInfo.CallOperandVal == OpVal && in IsOperandAMemoryOperand()
6020 Value *OpVal = CS->getArgOperand(ArgNo++); in optimizeInlineAsmInst() local
6021 MadeChange |= optimizeMemoryInst(CS, OpVal, OpVal->getType(), ~0u); in optimizeInlineAsmInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp2532 SDValue OpVal; in get_VSPLTI_elt() local
2592 if (!OpVal.getNode()) in get_VSPLTI_elt()
2593 OpVal = N->getOperand(i); in get_VSPLTI_elt()
2594 else if (OpVal != N->getOperand(i)) in get_VSPLTI_elt()
2598 if (!OpVal.getNode()) return SDValue(); // All UNDEF: use implicit def. in get_VSPLTI_elt()
2602 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(OpVal)) { in get_VSPLTI_elt()
2604 } else if (ConstantFPSDNode *CN = dyn_cast<ConstantFPSDNode>(OpVal)) { in get_VSPLTI_elt()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp3460 void init(int BlockSchedulingRegionID, Value *OpVal) { in init()
3467 OpValue = OpVal; in init()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp28322 for (const SDValue &OpVal : Op->op_values()) { in LowerFMINIMUM_FMAXIMUM() local
28323 if (OpVal.isUndef()) in LowerFMINIMUM_FMAXIMUM()
28325 auto *CstOp = dyn_cast<ConstantFPSDNode>(OpVal); in LowerFMINIMUM_FMAXIMUM()