Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/
H A DReduceOperandsSkip.cpp145 Value *OpVal = Op.get(); in opportunities() local
148 SetVector<Value *> ReferencedVals = collectReferencedValues(OpVal); in opportunities()
161 llvm::erase_if(Candidates, [&, OpVal](Value *V) { in opportunities()
163 if (OpVal->getType() != V->getType()) in opportunities()
171 return !IsMoreReduced(V, OpVal); in opportunities()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DPHITransAddr.cpp384 Value *OpVal = InsertPHITranslatedSubExpr(Cast->getOperand(0), in InsertPHITranslatedSubExpr() local
386 if (!OpVal) return nullptr; in InsertPHITranslatedSubExpr()
389 CastInst *New = CastInst::Create(Cast->getOpcode(), OpVal, InVal->getType(), in InsertPHITranslatedSubExpr()
402 Value *OpVal = InsertPHITranslatedSubExpr(GEP->getOperand(i), in InsertPHITranslatedSubExpr() local
404 if (!OpVal) return nullptr; in InsertPHITranslatedSubExpr()
405 GEPOps.push_back(OpVal); in InsertPHITranslatedSubExpr()
426 Value *OpVal = InsertPHITranslatedSubExpr(Inst->getOperand(0), in InsertPHITranslatedSubExpr() local
428 if (OpVal == 0) return 0; in InsertPHITranslatedSubExpr()
430 BinaryOperator *Res = BinaryOperator::CreateAdd(OpVal, Inst->getOperand(1), in InsertPHITranslatedSubExpr()
/llvm-project-15.0.7/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp152 auto OpVal = cast<ConstantInt>(Arg0)->getValue().getZExtValue(); in removeCompareBuiltin() local
153 CmpInst::Predicate Opcode = (CmpInst::Predicate)OpVal; in removeCompareBuiltin()
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/PowerPC/
H A DTarget.cpp18 const MCOperand &OpVal) { in setMemOp() argument
21 IT.getValueFor(Op) = OpVal; in setMemOp()
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/Mips/
H A DTarget.cpp43 const MCOperand &OpVal) { in setMemOp() argument
46 IT.getValueFor(Op) = OpVal; in setMemOp()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/polly/lib/Transform/
H A DForwardOpTree.cpp690 for (Value *OpVal : UseInst->operand_values()) { in forwardSpeculatable()
692 forwardTree(TargetStmt, OpVal, DefStmt, DefLoop); in forwardSpeculatable()
699 Depends.emplace_back(OpVal, DefStmt); in forwardSpeculatable()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp1336 SVal OpVal = getConstOrVisit(OpSym); in simplifySValOnce() local
1337 if (isUnchanged(OpSym, OpVal)) in simplifySValOnce()
1340 return cache(S, SVB.evalCast(OpVal, S->getType(), OpSym->getType())); in simplifySValOnce()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp1488 Value *OpVal = PN.getIncomingValue(InValNo); in visitPHINode() local
1489 if (OpVal != NonPhiInVal && !isa<PHINode>(OpVal)) in visitPHINode()
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/X86/
H A DTarget.cpp241 const MCOperand &OpVal) { in setMemOp() argument
244 IT.getValueFor(Op) = OpVal; in setMemOp()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp929 Value *OpVal = CondCB->isZero() ? I.getFalseValue() : I.getTrueValue(); in visitSelectInst() local
930 mergeInValue(&I, getValueState(OpVal)); in visitSelectInst()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGISel.cpp2197 SDValue OpVal, SDLoc DL) { in pushStackMapLiveVariable() argument
2198 SDNode *OpNode = OpVal.getNode(); in pushStackMapLiveVariable()
2209 DL, OpVal.getValueType())); in pushStackMapLiveVariable()
2211 Ops.push_back(OpVal); in pushStackMapLiveVariable()
H A DSelectionDAGBuilder.cpp8470 const Value *OpVal = OpInfo.CallOperandVal; in getAddressForMemoryInput() local
8471 if (isa<ConstantFP>(OpVal) || isa<ConstantInt>(OpVal) || in getAddressForMemoryInput()
8472 isa<ConstantVector>(OpVal) || isa<ConstantDataVector>(OpVal)) { in getAddressForMemoryInput()
8474 cast<Constant>(OpVal), TLI.getPointerTy(DAG.getDataLayout())); in getAddressForMemoryInput()
8479 Type *Ty = OpVal->getType(); in getAddressForMemoryInput()
H A DSelectionDAG.cpp11420 SDValue OpVal = getOperand(i); in isConstantSplat() local
11423 if (OpVal.isUndef()) in isConstantSplat()
11425 else if (auto *CN = dyn_cast<ConstantSDNode>(OpVal)) in isConstantSplat()
11427 else if (auto *CN = dyn_cast<ConstantFPSDNode>(OpVal)) in isConstantSplat()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp1159 for (unsigned OpVal : VCI.OpVals) in loadVectorConstant() local
1160 Ops.push_back(CurDAG->getTargetConstant(OpVal, DL, MVT::i32)); in loadVectorConstant()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp4850 static bool IsOperandAMemoryOperand(CallInst *CI, InlineAsm *IA, Value *OpVal, in IsOperandAMemoryOperand() argument
4863 if (OpInfo.CallOperandVal == OpVal && in IsOperandAMemoryOperand()
5667 Value *OpVal = CS->getArgOperand(ArgNo++); in optimizeInlineAsmInst() local
5668 MadeChange |= optimizeMemoryInst(CS, OpVal, OpVal->getType(), ~0u); in optimizeInlineAsmInst()
/llvm-project-15.0.7/polly/lib/Analysis/
H A DScopBuilder.cpp1852 auto OpVal = UnionFind.findValue(OpInst); in joinOperandTree() local
1853 if (OpVal == UnionFind.end()) in joinOperandTree()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp1176 auto *OpVal = II.getOperand(0); in instCombineSVETBL() local
1191 auto *Extract = Builder.CreateExtractElement(OpVal, SplatValue); in instCombineSVETBL()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp2466 SDValue OpVal; in get_VSPLTI_elt() local
2526 if (!OpVal.getNode()) in get_VSPLTI_elt()
2527 OpVal = N->getOperand(i); in get_VSPLTI_elt()
2528 else if (OpVal != N->getOperand(i)) in get_VSPLTI_elt()
2532 if (!OpVal.getNode()) return SDValue(); // All UNDEF: use implicit def. in get_VSPLTI_elt()
2536 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(OpVal)) { in get_VSPLTI_elt()
2538 } else if (ConstantFPSDNode *CN = dyn_cast<ConstantFPSDNode>(OpVal)) { in get_VSPLTI_elt()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp2700 void init(int BlockSchedulingRegionID, Value *OpVal) { in init()
2707 OpValue = OpVal; in init()