Home
last modified time | relevance | path

Searched refs:NewOps (Results 1 – 21 of 21) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
H A DValueList.cpp155 SmallVector<Constant *, 64> NewOps; in resolveConstantForwardRefs() local
197 NewOps.push_back(cast<Constant>(NewOp)); in resolveConstantForwardRefs()
203 NewC = ConstantArray::get(UserCA->getType(), NewOps); in resolveConstantForwardRefs()
205 NewC = ConstantStruct::get(UserCS->getType(), NewOps); in resolveConstantForwardRefs()
207 NewC = ConstantVector::get(NewOps); in resolveConstantForwardRefs()
210 NewC = cast<ConstantExpr>(UserC)->getWithOperands(NewOps); in resolveConstantForwardRefs()
215 NewOps.clear(); in resolveConstantForwardRefs()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DDebugInfoMetadata.cpp1311 SmallVector<uint64_t, 8> NewOps(Ops.begin(), Ops.end()); in appendOpsToArg() local
1312 return DIExpression::prependOpcodes(Expr, NewOps, StackValue); in appendOpsToArg()
1315 SmallVector<uint64_t, 8> NewOps; in appendOpsToArg() local
1317 Op.appendToVector(NewOps); in appendOpsToArg()
1319 NewOps.insert(NewOps.end(), Ops.begin(), Ops.end()); in appendOpsToArg()
1322 return DIExpression::get(Expr->getContext(), NewOps); in appendOpsToArg()
1329 SmallVector<uint64_t, 8> NewOps; in replaceArg() local
1333 Op.appendToVector(NewOps); in replaceArg()
1336 NewOps.push_back(dwarf::DW_OP_LLVM_arg); in replaceArg()
1342 NewOps.push_back(Arg); in replaceArg()
[all …]
H A DUser.cpp72 Use *NewOps = getOperandList(); in growHungoffUses() local
75 std::copy(OldOps, OldOps + OldNumUses, NewOps); in growHungoffUses()
80 auto *NewPtr = reinterpret_cast<char *>(NewOps + NewNumUses); in growHungoffUses()
H A DConstants.cpp1518 SmallVector<Constant*, 8> NewOps; in getWithOperandReplaced() local
1520 NewOps.push_back(i == OpNo ? Op : getOperand(i)); in getWithOperandReplaced()
1522 return getWithOperands(NewOps); in getWithOperandReplaced()
3461 SmallVector<Constant*, 8> NewOps; in handleOperandChangeImpl() local
3471 NewOps.push_back(Op); in handleOperandChangeImpl()
3475 if (Constant *C = getWithOperands(NewOps, getType(), true)) in handleOperandChangeImpl()
3480 NewOps, this, From, To, NumUpdated, OperandNo); in handleOperandChangeImpl()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypes.cpp510 std::vector<SDValue> NewOps; in AnalyzeNewNode() local
521 if (!NewOps.empty()) { in AnalyzeNewNode()
523 NewOps.push_back(Op); in AnalyzeNewNode()
526 NewOps.insert(NewOps.end(), N->op_begin(), N->op_begin() + i); in AnalyzeNewNode()
527 NewOps.push_back(Op); in AnalyzeNewNode()
532 if (!NewOps.empty()) { in AnalyzeNewNode()
533 SDNode *M = DAG.UpdateNodeOperands(N, NewOps); in AnalyzeNewNode()
H A DLegalizeIntegerTypes.cpp1707 SmallVector<SDValue, 16> NewOps; in PromoteIntOp_BUILD_VECTOR() local
1709 NewOps.push_back(GetPromotedInteger(N->getOperand(i))); in PromoteIntOp_BUILD_VECTOR()
1711 return SDValue(DAG.UpdateNodeOperands(N, NewOps), 0); in PromoteIntOp_BUILD_VECTOR()
1841 SmallVector<SDValue, 4> NewOps(N->op_begin(), N->op_end()); in PromoteIntOp_MSTORE() local
1842 NewOps[4] = Mask; in PromoteIntOp_MSTORE()
1843 return SDValue(DAG.UpdateNodeOperands(N, NewOps), 0); in PromoteIntOp_MSTORE()
1861 SmallVector<SDValue, 4> NewOps(N->op_begin(), N->op_end()); in PromoteIntOp_MLOAD() local
1862 NewOps[OpNo] = Mask; in PromoteIntOp_MLOAD()
1863 SDNode *Res = DAG.UpdateNodeOperands(N, NewOps); in PromoteIntOp_MLOAD()
1876 SmallVector<SDValue, 5> NewOps(N->op_begin(), N->op_end()); in PromoteIntOp_MGATHER() local
[all …]
H A DLegalizeVectorTypes.cpp3639 SmallVector<SDValue, 4> NewOps(N->op_begin(), N->op_end()); in WidenVecRes_Convert_StrictFP() local
3660 NewOps[1] = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, DL, InEltVT, InOp, in WidenVecRes_Convert_StrictFP()
3662 Ops[i] = DAG.getNode(Opcode, DL, EltVTs, NewOps); in WidenVecRes_Convert_StrictFP()
3875 SmallVector<SDValue, 16> NewOps(N->op_begin(), N->op_end()); in WidenVecRes_BUILD_VECTOR() local
3877 NewOps.append(WidenNumElts - NumElts, DAG.getUNDEF(EltVT)); in WidenVecRes_BUILD_VECTOR()
3879 return DAG.getBuildVector(WidenVT, dl, NewOps); in WidenVecRes_BUILD_VECTOR()
4720 SmallVector<SDValue, 4> NewOps(N->op_begin(), N->op_end()); in WidenVecOp_Convert() local
4723 NewOps[1] = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, InEltVT, InOp, in WidenVecOp_Convert()
4725 Ops[i] = DAG.getNode(Opcode, dl, { EltVT, MVT::Other }, NewOps); in WidenVecOp_Convert()
H A DLegalizeDAG.cpp4781 SmallVector<SDValue, 8> NewOps; in PromoteNode() local
4784 NewOps.push_back(DAG.getNode(ISD::BITCAST, SDLoc(Op), MidVT, Op)); in PromoteNode()
4788 SDValue Concat = DAG.getNode(ISD::CONCAT_VECTORS, SL, NVT, NewOps); in PromoteNode()
4823 SmallVector<SDValue, 8> NewOps; in PromoteNode() local
4830 NewOps.push_back(Elt); in PromoteNode()
4833 SDValue NewVec = DAG.getBuildVector(MidVT, SL, NewOps); in PromoteNode()
H A DSelectionDAG.cpp7839 SmallVector<SDValue, 8> NewOps(Ops.begin(), Ops.end()); in getNode() local
7840 return getNode(Opcode, DL, VT, NewOps); in getNode()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp1554 static Value *buildNew(Instruction *I, ArrayRef<Value*> NewOps) { in buildNew() argument
1577 assert(NewOps.size() == 2 && "binary operator with #ops != 2"); in buildNew()
1580 NewOps[0], NewOps[1], "", BO); in buildNew()
1593 assert(NewOps.size() == 2 && "icmp with #ops != 2"); in buildNew()
1595 NewOps[0], NewOps[1]); in buildNew()
1597 assert(NewOps.size() == 2 && "fcmp with #ops != 2"); in buildNew()
1599 NewOps[0], NewOps[1]); in buildNew()
1613 cast<VectorType>(NewOps[0]->getType())->getElementCount()); in buildNew()
1614 assert(NewOps.size() == 1 && "cast with #ops != 1"); in buildNew()
1615 return CastInst::Create(cast<CastInst>(I)->getOpcode(), NewOps[0], DestTy, in buildNew()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DPseudoLoweringEmitter.cpp119 unsigned NewOps = in addDagOperandMapping() local
121 OpsAdded += NewOps; in addDagOperandMapping()
123 BaseIdx += NewOps - 1; in addDagOperandMapping()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp474 SmallVector<const SCEV *, 8> NewOps; in expandAddToGEP() local
481 NewOps.push_back(Remainder); in expandAddToGEP()
486 NewOps.push_back(Op); in expandAddToGEP()
491 Ops = NewOps; in expandAddToGEP()
761 SmallVector<const SCEV *, 4> NewOps; in visitAddExpr() local
769 NewOps.push_back(X); in visitAddExpr()
771 Sum = expandAddToGEP(NewOps.begin(), NewOps.end(), PTy, Ty, Sum); in visitAddExpr()
776 SmallVector<const SCEV *, 4> NewOps; in visitAddExpr() local
777 NewOps.push_back(isa<Instruction>(Sum) ? SE.getUnknown(Sum) : in visitAddExpr()
780 NewOps.push_back(I->second); in visitAddExpr()
[all …]
H A DInlineFunction.cpp895 SmallVector<Metadata *, 4> NewOps; in clone() local
899 NewOps.push_back(MDMap[M]); in clone()
901 NewOps.push_back(const_cast<Metadata *>(Op)); in clone()
904 MDNode *NewM = MDNode::get(I->getContext(), NewOps); in clone()
909 NewOps.clear(); in clone()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86OptimizeLEAs.cpp609 SmallVector<MachineOperand, 4> NewOps; in replaceDebugValue() local
620 NewOps.push_back(replaceOldReg(Op)); in replaceDebugValue()
622 NewOps, Var, Expr); in replaceDebugValue()
H A DX86ISelLowering.cpp25815 SmallVector<SDValue, 5> NewOps(Op->op_begin()+1, Op->op_end()); in LowerINTRINSIC_WO_CHAIN() local
25817 SDValue PCMP = DAG.getNode(Opcode, dl, VTs, NewOps).getValue(2); in LowerINTRINSIC_WO_CHAIN()
25830 SmallVector<SDValue, 5> NewOps(Op->op_begin()+1, Op->op_end()); in LowerINTRINSIC_WO_CHAIN() local
25832 return DAG.getNode(Opcode, dl, VTs, NewOps); in LowerINTRINSIC_WO_CHAIN()
25843 SmallVector<SDValue, 5> NewOps(Op->op_begin()+1, Op->op_end()); in LowerINTRINSIC_WO_CHAIN() local
25845 return DAG.getNode(Opcode, dl, VTs, NewOps).getValue(1); in LowerINTRINSIC_WO_CHAIN()
47090 SmallVector<SDValue, 4> NewOps(Op.getNumOperands(), SDValue()); in getNegatedExpression() local
47092 NewOps[i] = getCheaperNegatedExpression( in getNegatedExpression()
47095 bool NegA = !!NewOps[0]; in getNegatedExpression()
47096 bool NegB = !!NewOps[1]; in getNegatedExpression()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DInstructionSimplify.cpp3868 SmallVector<Value *, 8> NewOps(I->getNumOperands()); in SimplifyWithOpReplaced() local
3869 transform(I->operands(), NewOps.begin(), in SimplifyWithOpReplaced()
3880 if (NewOps[0] == ConstantExpr::getBinOpIdentity(Opcode, I->getType())) in SimplifyWithOpReplaced()
3881 return NewOps[1]; in SimplifyWithOpReplaced()
3882 if (NewOps[1] == ConstantExpr::getBinOpIdentity(Opcode, I->getType(), in SimplifyWithOpReplaced()
3884 return NewOps[0]; in SimplifyWithOpReplaced()
3888 NewOps[0] == NewOps[1]) in SimplifyWithOpReplaced()
3889 return NewOps[0]; in SimplifyWithOpReplaced()
3894 if (NewOps.size() == 2 && match(NewOps[1], m_Zero()) && in SimplifyWithOpReplaced()
3896 return NewOps[0]; in SimplifyWithOpReplaced()
[all …]
H A DScalarEvolution.cpp2176 SmallVectorImpl<const SCEV *> &NewOps, in CollectAddOperandsWithScales() argument
2204 CollectAddOperandsWithScales(M, NewOps, AccumulatedConstant, in CollectAddOperandsWithScales()
2214 NewOps.push_back(Pair.first->first); in CollectAddOperandsWithScales()
2227 NewOps.push_back(Pair.first->first); in CollectAddOperandsWithScales()
2492 SmallVector<const SCEV *, 8> NewOps; in getAddExpr() local
2494 if (CollectAddOperandsWithScales(M, NewOps, AccumulatedConstant, in getAddExpr()
2507 for (const SCEV *NewOp : NewOps) in getAddExpr()
2911 SmallVector<const SCEV *, 4> NewOps; in getMulExpr() local
2917 NewOps.push_back(Mul); in getMulExpr()
2920 return getAddExpr(NewOps, SCEV::FlagAnyWrap, Depth + 1); in getMulExpr()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp765 SmallVector<const SCEV *, 8> NewOps(Add->operands()); in ExtractImmediate() local
766 int64_t Result = ExtractImmediate(NewOps.front(), SE); in ExtractImmediate()
768 S = SE.getAddExpr(NewOps); in ExtractImmediate()
771 SmallVector<const SCEV *, 8> NewOps(AR->operands()); in ExtractImmediate() local
772 int64_t Result = ExtractImmediate(NewOps.front(), SE); in ExtractImmediate()
774 S = SE.getAddRecExpr(NewOps, AR->getLoop(), in ExtractImmediate()
791 SmallVector<const SCEV *, 8> NewOps(Add->operands()); in ExtractSymbol() local
792 GlobalValue *Result = ExtractSymbol(NewOps.back(), SE); in ExtractSymbol()
794 S = SE.getAddExpr(NewOps); in ExtractSymbol()
797 SmallVector<const SCEV *, 8> NewOps(AR->operands()); in ExtractSymbol() local
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp1169 SmallVector<uint64_t, 8> NewOps = {dwarf::DW_OP_LLVM_tag_offset, in instrumentStack() local
1174 DIExpression::appendOpsToArg(DDI->getExpression(), NewOps, LocNo)); in instrumentStack()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp2555 SmallVector<Register, 8> NewOps(NewEltsPerOldElt); in bitcastExtractVectorElt() local
2562 NewOps[I] = Elt.getReg(0); in bitcastExtractVectorElt()
2565 auto NewVec = MIRBuilder.buildBuildVector(MidTy, NewOps); in bitcastExtractVectorElt()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp8887 SmallVector<SDValue, 8> NewOps(N->op_begin(), N->op_end()); in performMemSDNodeCombine() local
8889 NewOps[PtrIdx] = NewPtr; in performMemSDNodeCombine()
8890 return SDValue(DAG.UpdateNodeOperands(N, NewOps), 0); in performMemSDNodeCombine()