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.h83 bool match(SDValue OpVal, unsigned Opc) const { in match() argument
84 if (!OpVal->isVPOpcode()) in match()
85 return OpVal->getOpcode() == Opc; in match()
87 auto BaseOpc = ISD::getBaseOpcodeForVP(OpVal->getOpcode(), in match()
88 !OpVal->getFlags().hasNoFPExcept()); in match()
93 unsigned VPOpcode = OpVal->getOpcode(); in match()
95 SDValue MaskOp = OpVal.getOperand(*MaskPos); in match()
103 if (RootVectorLenOp != OpVal.getOperand(*VLenPos)) in match()
H A DSelectionDAGISel.cpp2556 SDValue OpVal, SDLoc DL) { in pushStackMapLiveVariable() argument
2557 SDNode *OpNode = OpVal.getNode(); in pushStackMapLiveVariable()
2567 OpVal.getValueType())); in pushStackMapLiveVariable()
2569 Ops.push_back(OpVal); in pushStackMapLiveVariable()
H A DSelectionDAGBuilder.cpp9723 const Value *OpVal = OpInfo.CallOperandVal; in getAddressForMemoryInput() local
9724 if (isa<ConstantFP>(OpVal) || isa<ConstantInt>(OpVal) || in getAddressForMemoryInput()
9725 isa<ConstantVector>(OpVal) || isa<ConstantDataVector>(OpVal)) { in getAddressForMemoryInput()
9727 cast<Constant>(OpVal), TLI.getPointerTy(DAG.getDataLayout())); in getAddressForMemoryInput()
9732 Type *Ty = OpVal->getType(); in getAddressForMemoryInput()
H A DSelectionDAG.cpp13326 SDValue OpVal = getOperand(i); in isConstantSplat() local
13329 if (OpVal.isUndef()) in isConstantSplat()
13331 else if (auto *CN = dyn_cast<ConstantSDNode>(OpVal)) in isConstantSplat()
13333 else if (auto *CN = dyn_cast<ConstantFPSDNode>(OpVal)) in isConstantSplat()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DPHITransAddr.cpp369 Value *OpVal = insertTranslatedSubExpr(Cast->getOperand(0), CurBB, PredBB, in insertTranslatedSubExpr() local
371 if (!OpVal) return nullptr; in insertTranslatedSubExpr()
374 CastInst *New = CastInst::Create(Cast->getOpcode(), OpVal, InVal->getType(), in insertTranslatedSubExpr()
387 Value *OpVal = insertTranslatedSubExpr(Op, CurBB, PredBB, DT, NewInsts); in insertTranslatedSubExpr() local
388 if (!OpVal) return nullptr; in insertTranslatedSubExpr()
389 GEPOps.push_back(OpVal); in insertTranslatedSubExpr()
411 Value *OpVal = insertTranslatedSubExpr(Inst->getOperand(0), CurBB, PredBB, in insertTranslatedSubExpr() local
413 if (OpVal == nullptr) in insertTranslatedSubExpr()
417 OpVal, Inst->getOperand(1), InVal->getName() + ".phi.trans.insert", in insertTranslatedSubExpr()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DSparsePropagation.h436 LatticeVal OpVal = in visitPHINode() local
438 if (OpVal != PNIV) in visitPHINode()
439 PNIV = LatticeFunc->MergeValues(PNIV, OpVal); in visitPHINode()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp160 auto OpVal = cast<ConstantInt>(Arg0)->getValue().getZExtValue(); in removeCompareBuiltin() local
161 CmpInst::Predicate Opcode = (CmpInst::Predicate)OpVal; in removeCompareBuiltin()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp1398 SVal OpVal = getConstOrVisit(OpSym); in simplifySValOnce() local
1399 if (isUnchanged(OpSym, OpVal)) in simplifySValOnce()
1402 return cache(S, SVB.evalCast(OpVal, S->getType(), OpSym->getType())); in simplifySValOnce()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp1576 Value *OpVal = PN.getIncomingValue(InValNo); in visitPHINode() local
1577 if (OpVal != NonPhiInVal && !isa<PHINode>(OpVal)) in visitPHINode()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp1197 for (unsigned OpVal : VCI.OpVals) in loadVectorConstant() local
1198 Ops.push_back(CurDAG->getTargetConstant(OpVal, DL, MVT::i32)); in loadVectorConstant()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp1518 Value *OpVal = CondCB->isZero() ? I.getFalseValue() : I.getTrueValue(); in visitSelectInst() local
1519 mergeInValue(&I, getValueState(OpVal)); in visitSelectInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp2071 Value *OpVal = II.getArgOperand(1); in instCombineSVEPTest() local
2075 if (PgVal == OpVal && in instCombineSVEPTest()
2078 Value *Ops[] = {PgVal, OpVal}; in instCombineSVEPTest()
2089 IntrinsicInst *Op = dyn_cast<IntrinsicInst>(OpVal); in instCombineSVEPTest()
2370 auto *OpVal = II.getOperand(0); in instCombineSVETBL() local
2383 auto *Extract = IC.Builder.CreateExtractElement(OpVal, SplatValue); in instCombineSVETBL()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp5528 static bool IsOperandAMemoryOperand(CallInst *CI, InlineAsm *IA, Value *OpVal, in IsOperandAMemoryOperand() argument
5541 if (OpInfo.CallOperandVal == OpVal && in IsOperandAMemoryOperand()
6410 Value *OpVal = CS->getArgOperand(ArgNo++); in optimizeInlineAsmInst() local
6411 MadeChange |= optimizeMemoryInst(CS, OpVal, OpVal->getType(), ~0u); in optimizeInlineAsmInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp2547 SDValue OpVal; in get_VSPLTI_elt() local
2607 if (!OpVal.getNode()) in get_VSPLTI_elt()
2608 OpVal = N->getOperand(i); in get_VSPLTI_elt()
2609 else if (OpVal != N->getOperand(i)) in get_VSPLTI_elt()
2613 if (!OpVal.getNode()) return SDValue(); // All UNDEF: use implicit def. in get_VSPLTI_elt()
2617 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(OpVal)) { in get_VSPLTI_elt()
2619 } else if (ConstantFPSDNode *CN = dyn_cast<ConstantFPSDNode>(OpVal)) { in get_VSPLTI_elt()
9609 for (auto OpVal : BVN.op_values()) { in isValidMtVsrBmi() local
9610 auto *CN = dyn_cast<ConstantSDNode>(OpVal); in isValidMtVsrBmi()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp29360 for (const SDValue &OpVal : Op->op_values()) { in LowerFMINIMUM_FMAXIMUM() local
29361 if (OpVal.isUndef()) in LowerFMINIMUM_FMAXIMUM()
29363 auto *CstOp = dyn_cast<ConstantFPSDNode>(OpVal); in LowerFMINIMUM_FMAXIMUM()