Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DPHITransAddr.cpp365 Value *OpVal = insertTranslatedSubExpr(Cast->getOperand(0), CurBB, PredBB, in insertTranslatedSubExpr() local
367 if (!OpVal) return nullptr; in insertTranslatedSubExpr()
370 CastInst *New = CastInst::Create(Cast->getOpcode(), OpVal, InVal->getType(), in insertTranslatedSubExpr()
383 Value *OpVal = insertTranslatedSubExpr(Op, CurBB, PredBB, DT, NewInsts); in insertTranslatedSubExpr() local
384 if (!OpVal) return nullptr; in insertTranslatedSubExpr()
385 GEPOps.push_back(OpVal); in insertTranslatedSubExpr()
406 Value *OpVal = insertTranslatedSubExpr(Inst->getOperand(0), CurBB, PredBB, in insertTranslatedSubExpr() local
408 if (OpVal == nullptr) in insertTranslatedSubExpr()
411 BinaryOperator *Res = BinaryOperator::CreateAdd(OpVal, Inst->getOperand(1), in insertTranslatedSubExpr()
/freebsd-14.2/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-14.2/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-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp1395 SVal OpVal = getConstOrVisit(OpSym); in simplifySValOnce() local
1396 if (isUnchanged(OpSym, OpVal)) in simplifySValOnce()
1399 return cache(S, SVB.evalCast(OpVal, S->getType(), OpSym->getType())); in simplifySValOnce()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp1526 Value *OpVal = PN.getIncomingValue(InValNo); in visitPHINode() local
1527 if (OpVal != NonPhiInVal && !isa<PHINode>(OpVal)) in visitPHINode()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp1224 Value *OpVal = II.getArgOperand(1); in instCombineSVEPTest() local
1228 if (PgVal == OpVal && in instCombineSVEPTest()
1231 Value *Ops[] = {PgVal, OpVal}; in instCombineSVEPTest()
1242 IntrinsicInst *Op = dyn_cast<IntrinsicInst>(OpVal); in instCombineSVEPTest()
1612 auto *OpVal = II.getOperand(0); in instCombineSVETBL() local
1625 auto *Extract = IC.Builder.CreateExtractElement(OpVal, SplatValue); in instCombineSVETBL()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGISel.cpp2375 SDValue OpVal, SDLoc DL) { in pushStackMapLiveVariable() argument
2376 SDNode *OpNode = OpVal.getNode(); in pushStackMapLiveVariable()
2386 OpVal.getValueType())); in pushStackMapLiveVariable()
2388 Ops.push_back(OpVal); in pushStackMapLiveVariable()
H A DSelectionDAGBuilder.cpp9047 const Value *OpVal = OpInfo.CallOperandVal; in getAddressForMemoryInput() local
9048 if (isa<ConstantFP>(OpVal) || isa<ConstantInt>(OpVal) || in getAddressForMemoryInput()
9049 isa<ConstantVector>(OpVal) || isa<ConstantDataVector>(OpVal)) { in getAddressForMemoryInput()
9051 cast<Constant>(OpVal), TLI.getPointerTy(DAG.getDataLayout())); in getAddressForMemoryInput()
9056 Type *Ty = OpVal->getType(); in getAddressForMemoryInput()
H A DSelectionDAG.cpp12421 SDValue OpVal = getOperand(i); in isConstantSplat() local
12424 if (OpVal.isUndef()) in isConstantSplat()
12426 else if (auto *CN = dyn_cast<ConstantSDNode>(OpVal)) in isConstantSplat()
12428 else if (auto *CN = dyn_cast<ConstantFPSDNode>(OpVal)) in isConstantSplat()
H A DDAGCombiner.cpp938 bool match(SDValue OpVal, unsigned Opc) const { in match() argument
939 if (!OpVal->isVPOpcode()) in match()
940 return OpVal->getOpcode() == Opc; in match()
942 auto BaseOpc = ISD::getBaseOpcodeForVP(OpVal->getOpcode(), in match()
943 !OpVal->getFlags().hasNoFPExcept()); in match()
948 unsigned VPOpcode = OpVal->getOpcode(); in match()
950 SDValue MaskOp = OpVal.getOperand(*MaskPos); in match()
958 if (RootVectorLenOp != OpVal.getOperand(*VLenPos)) in match()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp1380 Value *OpVal = CondCB->isZero() ? I.getFalseValue() : I.getTrueValue(); in visitSelectInst() local
1381 mergeInValue(&I, getValueState(OpVal)); in visitSelectInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp1172 for (unsigned OpVal : VCI.OpVals) in loadVectorConstant() local
1173 Ops.push_back(CurDAG->getTargetConstant(OpVal, DL, MVT::i32)); in loadVectorConstant()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp5079 static bool IsOperandAMemoryOperand(CallInst *CI, InlineAsm *IA, Value *OpVal, in IsOperandAMemoryOperand() argument
5092 if (OpInfo.CallOperandVal == OpVal && in IsOperandAMemoryOperand()
5904 Value *OpVal = CS->getArgOperand(ArgNo++); in optimizeInlineAsmInst() local
5905 MadeChange |= optimizeMemoryInst(CS, OpVal, OpVal->getType(), ~0u); in optimizeInlineAsmInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp2527 SDValue OpVal; in get_VSPLTI_elt() local
2587 if (!OpVal.getNode()) in get_VSPLTI_elt()
2588 OpVal = N->getOperand(i); in get_VSPLTI_elt()
2589 else if (OpVal != N->getOperand(i)) in get_VSPLTI_elt()
2593 if (!OpVal.getNode()) return SDValue(); // All UNDEF: use implicit def. in get_VSPLTI_elt()
2597 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(OpVal)) { in get_VSPLTI_elt()
2599 } else if (ConstantFPSDNode *CN = dyn_cast<ConstantFPSDNode>(OpVal)) { in get_VSPLTI_elt()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp3043 void init(int BlockSchedulingRegionID, Value *OpVal) { in init()
3050 OpValue = OpVal; in init()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp28098 for (const SDValue &OpVal : Op->op_values()) { in LowerFMINIMUM_FMAXIMUM() local
28099 if (OpVal.isUndef()) in LowerFMINIMUM_FMAXIMUM()
28101 auto *CstOp = dyn_cast<ConstantFPSDNode>(OpVal); in LowerFMINIMUM_FMAXIMUM()