Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A 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() local
427 if (OpVal == nullptr) in InsertPHITranslatedSubExpr()
430 BinaryOperator *Res = BinaryOperator::CreateAdd(OpVal, Inst->getOperand(1), in InsertPHITranslatedSubExpr()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/tools/llvm-exegesis/lib/PowerPC/
H A DTarget.cpp18 const MCOperand &OpVal) { in setMemOp() argument
21 IT.getValueFor(Op) = OpVal; in setMemOp()
/openbsd/gnu/llvm/llvm/tools/llvm-exegesis/lib/Mips/
H A DTarget.cpp43 const MCOperand &OpVal) { in setMemOp() argument
46 IT.getValueFor(Op) = OpVal; in setMemOp()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp1339 SVal OpVal = getConstOrVisit(OpSym); in simplifySValOnce() local
1340 if (isUnchanged(OpSym, OpVal)) in simplifySValOnce()
1343 return cache(S, SVB.evalCast(OpVal, S->getType(), OpSym->getType())); in simplifySValOnce()
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp1495 Value *OpVal = PN.getIncomingValue(InValNo); in visitPHINode() local
1496 if (OpVal != NonPhiInVal && !isa<PHINode>(OpVal)) in visitPHINode()
/openbsd/gnu/llvm/llvm/tools/llvm-exegesis/lib/X86/
H A DTarget.cpp245 const MCOperand &OpVal) { in setMemOp() argument
248 IT.getValueFor(Op) = OpVal; in setMemOp()
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp982 Value *OpVal = II.getArgOperand(1); in instCombineSVEPTest() local
989 if (PgVal == OpVal && in instCombineSVEPTest()
992 Value *Ops[] = {PgVal, OpVal}; in instCombineSVEPTest()
1003 IntrinsicInst *Op = dyn_cast<IntrinsicInst>(OpVal); in instCombineSVEPTest()
1301 auto *OpVal = II.getOperand(0); in instCombineSVETBL() local
1316 auto *Extract = Builder.CreateExtractElement(OpVal, SplatValue); in instCombineSVETBL()
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGISel.cpp2251 SDValue OpVal, SDLoc DL) { in pushStackMapLiveVariable() argument
2252 SDNode *OpNode = OpVal.getNode(); in pushStackMapLiveVariable()
2263 DL, OpVal.getValueType())); in pushStackMapLiveVariable()
2265 Ops.push_back(OpVal); in pushStackMapLiveVariable()
H A DSelectionDAGBuilder.cpp8639 const Value *OpVal = OpInfo.CallOperandVal; in getAddressForMemoryInput() local
8640 if (isa<ConstantFP>(OpVal) || isa<ConstantInt>(OpVal) || in getAddressForMemoryInput()
8641 isa<ConstantVector>(OpVal) || isa<ConstantDataVector>(OpVal)) { in getAddressForMemoryInput()
8643 cast<Constant>(OpVal), TLI.getPointerTy(DAG.getDataLayout())); in getAddressForMemoryInput()
8648 Type *Ty = OpVal->getType(); in getAddressForMemoryInput()
H A DSelectionDAG.cpp11723 SDValue OpVal = getOperand(i); in isConstantSplat() local
11726 if (OpVal.isUndef()) in isConstantSplat()
11728 else if (auto *CN = dyn_cast<ConstantSDNode>(OpVal)) in isConstantSplat()
11730 else if (auto *CN = dyn_cast<ConstantFPSDNode>(OpVal)) in isConstantSplat()
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp1225 Value *OpVal = CondCB->isZero() ? I.getFalseValue() : I.getTrueValue(); in visitSelectInst() local
1226 mergeInValue(&I, getValueState(OpVal)); in visitSelectInst()
/openbsd/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp1166 for (unsigned OpVal : VCI.OpVals) in loadVectorConstant() local
1167 Ops.push_back(CurDAG->getTargetConstant(OpVal, DL, MVT::i32)); in loadVectorConstant()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp4944 static bool IsOperandAMemoryOperand(CallInst *CI, InlineAsm *IA, Value *OpVal, in IsOperandAMemoryOperand() argument
4957 if (OpInfo.CallOperandVal == OpVal && in IsOperandAMemoryOperand()
5763 Value *OpVal = CS->getArgOperand(ArgNo++); in optimizeInlineAsmInst() local
5764 MadeChange |= optimizeMemoryInst(CS, OpVal, OpVal->getType(), ~0u); in optimizeInlineAsmInst()
/openbsd/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp2479 SDValue OpVal; in get_VSPLTI_elt() local
2539 if (!OpVal.getNode()) in get_VSPLTI_elt()
2540 OpVal = N->getOperand(i); in get_VSPLTI_elt()
2541 else if (OpVal != N->getOperand(i)) in get_VSPLTI_elt()
2545 if (!OpVal.getNode()) return SDValue(); // All UNDEF: use implicit def. in get_VSPLTI_elt()
2549 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(OpVal)) { in get_VSPLTI_elt()
2551 } else if (ConstantFPSDNode *CN = dyn_cast<ConstantFPSDNode>(OpVal)) { in get_VSPLTI_elt()
/openbsd/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp2898 void init(int BlockSchedulingRegionID, Value *OpVal) { in init()
2905 OpValue = OpVal; in init()