| /freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | ValueList.cpp | 149 SmallVector<Constant *, 64> NewOps; in resolveConstantForwardRefs() local 191 NewOps.push_back(cast<Constant>(NewOp)); in resolveConstantForwardRefs() 197 NewC = ConstantArray::get(UserCA->getType(), NewOps); in resolveConstantForwardRefs() 199 NewC = ConstantStruct::get(UserCS->getType(), NewOps); in resolveConstantForwardRefs() 201 NewC = ConstantVector::get(NewOps); in resolveConstantForwardRefs() 204 NewC = cast<ConstantExpr>(UserC)->getWithOperands(NewOps); in resolveConstantForwardRefs() 209 NewOps.clear(); in resolveConstantForwardRefs()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InstructionSimplify.cpp | 3935 NewOps[0] == NewOps[1]) in simplifyWithOpReplaced() 3973 SimplifySelectInst(NewOps[0], NewOps[1], NewOps[2], Q, in simplifyWithOpReplaced() 6121 Result = SimplifyMulInst(NewOps[0], NewOps[1], Q); in simplifyInstructionWithOperands() 6124 Result = SimplifySDivInst(NewOps[0], NewOps[1], Q); in simplifyInstructionWithOperands() 6147 Result = SimplifyLShrInst(NewOps[0], NewOps[1], in simplifyInstructionWithOperands() 6151 Result = SimplifyAShrInst(NewOps[0], NewOps[1], in simplifyInstructionWithOperands() 6155 Result = SimplifyAndInst(NewOps[0], NewOps[1], Q); in simplifyInstructionWithOperands() 6158 Result = SimplifyOrInst(NewOps[0], NewOps[1], Q); in simplifyInstructionWithOperands() 6161 Result = SimplifyXorInst(NewOps[0], NewOps[1], Q); in simplifyInstructionWithOperands() 6172 Result = SimplifySelectInst(NewOps[0], NewOps[1], NewOps[2], Q); in simplifyInstructionWithOperands() [all …]
|
| H A D | ScalarEvolution.cpp | 2227 NewOps.push_back(Pair.first->first); in CollectAddOperandsWithScales() 2240 NewOps.push_back(Pair.first->first); in CollectAddOperandsWithScales() 2585 NewOps[0] = getConstant(ConstAdd); in getAddExpr() 2630 SmallVector<const SCEV *, 8> NewOps; in getAddExpr() local 2645 for (const SCEV *NewOp : NewOps) in getAddExpr() 3054 SmallVector<const SCEV *, 4> NewOps; in getMulExpr() local 3060 NewOps.push_back(Mul); in getMulExpr() 3125 SmallVector<const SCEV *, 4> NewOps; in getMulExpr() local 8973 NewOps.push_back(OpAtScope); in computeSCEVAtScope() 8977 NewOps.push_back(OpAtScope); in computeSCEVAtScope() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | DebugInfoMetadata.cpp | 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() 1329 SmallVector<uint64_t, 8> NewOps; in replaceArg() local 1333 Op.appendToVector(NewOps); in replaceArg() 1342 NewOps.push_back(Arg); in replaceArg() 1386 SmallVector<uint64_t, 16> NewOps; in append() local 1396 Op.appendToVector(NewOps); in append() 1399 NewOps.append(Ops.begin(), Ops.end()); in append() 1429 SmallVector<uint64_t, 16> NewOps; in appendToStack() local [all …]
|
| H A D | User.cpp | 72 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 D | Constants.cpp | 1520 SmallVector<Constant*, 8> NewOps; in getWithOperandReplaced() local 1522 NewOps.push_back(i == OpNo ? Op : getOperand(i)); in getWithOperandReplaced() 1524 return getWithOperands(NewOps); in getWithOperandReplaced() 3463 SmallVector<Constant*, 8> NewOps; in handleOperandChangeImpl() local 3473 NewOps.push_back(Op); in handleOperandChangeImpl() 3477 if (Constant *C = getWithOperands(NewOps, getType(), true)) in handleOperandChangeImpl() 3482 NewOps, this, From, To, NumUpdated, OperandNo); in handleOperandChangeImpl()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SimplifyCFGPass.cpp | 137 SmallVector<PHINode *, 1> NewOps; in tailMergeBlocksWithSimilarFunctionTerminators() local 159 NewOps.resize(Term->getNumOperands()); in tailMergeBlocksWithSimilarFunctionTerminators() 160 for (auto I : zip(Term->operands(), NewOps)) { in tailMergeBlocksWithSimilarFunctionTerminators() 171 for (auto I : zip(NewOps, CanonicalTerm->operands())) in tailMergeBlocksWithSimilarFunctionTerminators() 183 for (auto I : zip(Term->operands(), NewOps)) in tailMergeBlocksWithSimilarFunctionTerminators()
|
| H A D | LoopStrengthReduce.cpp | 791 SmallVector<const SCEV *, 8> NewOps(Add->operands()); in ExtractImmediate() local 792 int64_t Result = ExtractImmediate(NewOps.front(), SE); in ExtractImmediate() 794 S = SE.getAddExpr(NewOps); in ExtractImmediate() 797 SmallVector<const SCEV *, 8> NewOps(AR->operands()); in ExtractImmediate() local 798 int64_t Result = ExtractImmediate(NewOps.front(), SE); in ExtractImmediate() 800 S = SE.getAddRecExpr(NewOps, AR->getLoop(), in ExtractImmediate() 817 SmallVector<const SCEV *, 8> NewOps(Add->operands()); in ExtractSymbol() local 818 GlobalValue *Result = ExtractSymbol(NewOps.back(), SE); in ExtractSymbol() 820 S = SE.getAddExpr(NewOps); in ExtractSymbol() 823 SmallVector<const SCEV *, 8> NewOps(AR->operands()); in ExtractSymbol() local [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineVectorOps.cpp | 478 SmallVector<Value *> NewOps; in visitExtractElementInst() local 484 NewOps.push_back(Op); in visitExtractElementInst() 489 NewOps); in visitExtractElementInst() 1640 NewOps[0], NewOps[1], "", BO); in buildNew() 1655 NewOps[0], NewOps[1]); in buildNew() 1659 NewOps[0], NewOps[1]); in buildNew() 1679 Value *Ptr = NewOps[0]; in buildNew() 1680 ArrayRef<Value*> Idx = NewOps.slice(1); in buildNew() 1739 SmallVector<Value*, 8> NewOps; in evaluateInDifferentElementOrder() local 1752 NewOps.push_back(V); in evaluateInDifferentElementOrder() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeTypes.cpp | 510 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 D | LegalizeIntegerTypes.cpp | 1711 SmallVector<SDValue, 16> NewOps; in PromoteIntOp_BUILD_VECTOR() local 1713 NewOps.push_back(GetPromotedInteger(N->getOperand(i))); in PromoteIntOp_BUILD_VECTOR() 1715 return SDValue(DAG.UpdateNodeOperands(N, NewOps), 0); in PromoteIntOp_BUILD_VECTOR() 1846 NewOps[4] = Mask; in PromoteIntOp_MSTORE() 1847 return SDValue(DAG.UpdateNodeOperands(N, NewOps), 0); in PromoteIntOp_MSTORE() 1866 NewOps[OpNo] = Mask; in PromoteIntOp_MLOAD() 1867 SDNode *Res = DAG.UpdateNodeOperands(N, NewOps); in PromoteIntOp_MLOAD() 1895 SDNode *Res = DAG.UpdateNodeOperands(N, NewOps); in PromoteIntOp_MGATHER() 5011 SmallVector<SDValue, 8> NewOps; in PromoteIntOp_CONCAT_VECTORS() local 5012 NewOps.reserve(NumElems); in PromoteIntOp_CONCAT_VECTORS() [all …]
|
| H A D | LegalizeVectorTypes.cpp | 3644 SmallVector<SDValue, 4> NewOps(N->op_begin(), N->op_end()); in WidenVecRes_Convert_StrictFP() local 3665 NewOps[1] = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, DL, InEltVT, InOp, in WidenVecRes_Convert_StrictFP() 3667 Ops[i] = DAG.getNode(Opcode, DL, EltVTs, NewOps); in WidenVecRes_Convert_StrictFP() 3880 SmallVector<SDValue, 16> NewOps(N->op_begin(), N->op_end()); in WidenVecRes_BUILD_VECTOR() local 3882 NewOps.append(WidenNumElts - NumElts, DAG.getUNDEF(EltVT)); in WidenVecRes_BUILD_VECTOR() 3884 return DAG.getBuildVector(WidenVT, dl, NewOps); in WidenVecRes_BUILD_VECTOR() 4730 SmallVector<SDValue, 4> NewOps(N->op_begin(), N->op_end()); in WidenVecOp_Convert() local 4733 NewOps[1] = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, InEltVT, InOp, in WidenVecOp_Convert() 4735 Ops[i] = DAG.getNode(Opcode, dl, { EltVT, MVT::Other }, NewOps); in WidenVecOp_Convert()
|
| H A D | LegalizeDAG.cpp | 4770 SmallVector<SDValue, 8> NewOps; in PromoteNode() local 4773 NewOps.push_back(DAG.getNode(ISD::BITCAST, SDLoc(Op), MidVT, Op)); in PromoteNode() 4777 SDValue Concat = DAG.getNode(ISD::CONCAT_VECTORS, SL, NVT, NewOps); in PromoteNode() 4812 SmallVector<SDValue, 8> NewOps; in PromoteNode() local 4819 NewOps.push_back(Elt); in PromoteNode() 4822 SDValue NewVec = DAG.getBuildVector(MidVT, SL, NewOps); in PromoteNode()
|
| H A D | SelectionDAG.cpp | 7924 SmallVector<SDValue, 8> NewOps(Ops.begin(), Ops.end()); in getNode() local 7925 return getNode(Opcode, DL, VT, NewOps); in getNode()
|
| /freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | PseudoLoweringEmitter.cpp | 119 unsigned NewOps = in addDagOperandMapping() local 121 OpsAdded += NewOps; in addDagOperandMapping() 123 BaseIdx += NewOps - 1; in addDagOperandMapping()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | ScalarEvolutionExpander.cpp | 481 SmallVector<const SCEV *, 8> NewOps; in expandAddToGEP() local 488 NewOps.push_back(Remainder); in expandAddToGEP() 493 NewOps.push_back(Op); in expandAddToGEP() 498 Ops = NewOps; in expandAddToGEP() 771 SmallVector<const SCEV *, 4> NewOps; in visitAddExpr() local 779 NewOps.push_back(X); in visitAddExpr() 781 Sum = expandAddToGEP(NewOps.begin(), NewOps.end(), PTy, Ty, Sum); in visitAddExpr() 786 SmallVector<const SCEV *, 4> NewOps; in visitAddExpr() local 790 NewOps.push_back(I->second); in visitAddExpr() 791 Sum = expandAddToGEP(NewOps.begin(), NewOps.end(), PTy, Ty, expand(Op)); in visitAddExpr() [all …]
|
| H A D | InlineFunction.cpp | 895 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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86OptimizeLEAs.cpp | 609 SmallVector<MachineOperand, 4> NewOps; in replaceDebugValue() local 620 NewOps.push_back(replaceOldReg(Op)); in replaceDebugValue() 622 NewOps, Var, Expr); in replaceDebugValue()
|
| H A D | X86ISelLowering.cpp | 25983 SmallVector<SDValue, 5> NewOps(Op->op_begin()+1, Op->op_end()); in LowerINTRINSIC_WO_CHAIN() local 25998 SmallVector<SDValue, 5> NewOps(Op->op_begin()+1, Op->op_end()); in LowerINTRINSIC_WO_CHAIN() local 26000 return DAG.getNode(Opcode, dl, VTs, NewOps); in LowerINTRINSIC_WO_CHAIN() 26013 return DAG.getNode(Opcode, dl, VTs, NewOps).getValue(1); in LowerINTRINSIC_WO_CHAIN() 47412 NewOps[i] = getCheaperNegatedExpression( in getNegatedExpression() 47415 bool NegA = !!NewOps[0]; in getNegatedExpression() 47416 bool NegB = !!NewOps[1]; in getNegatedExpression() 47417 bool NegC = !!NewOps[2]; in getNegatedExpression() 47425 if (!NewOps[i]) in getNegatedExpression() 47426 NewOps[i] = Op.getOperand(i); in getNegatedExpression() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | InstructionSimplify.h | 317 SimplifyInstructionWithOperands(Instruction *I, ArrayRef<Value *> NewOps,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | HWAddressSanitizer.cpp | 1262 SmallVector<uint64_t, 8> NewOps = {dwarf::DW_OP_LLVM_tag_offset, in instrumentStack() local 1267 NewOps, LocNo)); in instrumentStack()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 5559 SmallVector<Value *, 8> NewOps(I.getNumOperands()); in handleGenericInst() local 5571 NewOps[Idx] = SimplifiedOp.getValue(); in handleGenericInst() 5573 NewOps[Idx] = Op; in handleGenericInst() 5575 SomeSimplified |= (NewOps[Idx] != Op); in handleGenericInst() 5595 SimplifyInstructionWithOperands(&I, NewOps, Q, ORE)) { in handleGenericInst()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 2719 SmallVector<Register, 8> NewOps(NewEltsPerOldElt); in bitcastExtractVectorElt() local 2726 NewOps[I] = Elt.getReg(0); in bitcastExtractVectorElt() 2729 auto NewVec = MIRBuilder.buildBuildVector(MidTy, NewOps); in bitcastExtractVectorElt()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SIISelLowering.cpp | 8929 SmallVector<SDValue, 8> NewOps(N->op_begin(), N->op_end()); in performMemSDNodeCombine() local 8931 NewOps[PtrIdx] = NewPtr; in performMemSDNodeCombine() 8932 return SDValue(DAG.UpdateNodeOperands(N, NewOps), 0); in performMemSDNodeCombine()
|