| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InstructionSimplify.cpp | 4361 NewOps[0] == NewOps[1]) { in simplifyWithOpReplaced() 4377 NewOps[0] == RepOp && NewOps[1] == RepOp) in simplifyWithOpReplaced() 4389 if ((NewOps[0] == Absorber || NewOps[1] == Absorber) && in simplifyWithOpReplaced() 4397 if (NewOps.size() == 2 && match(NewOps[1], m_Zero())) in simplifyWithOpReplaced() 7016 return simplifySDivInst(NewOps[0], NewOps[1], in simplifyInstructionWithOperands() 7020 return simplifyUDivInst(NewOps[0], NewOps[1], in simplifyInstructionWithOperands() 7038 return simplifyLShrInst(NewOps[0], NewOps[1], in simplifyInstructionWithOperands() 7042 return simplifyAShrInst(NewOps[0], NewOps[1], in simplifyInstructionWithOperands() 7058 return simplifySelectInst(NewOps[0], NewOps[1], NewOps[2], Q, MaxRecurse); in simplifyInstructionWithOperands() 7072 return simplifyInsertElementInst(NewOps[0], NewOps[1], NewOps[2], Q); in simplifyInstructionWithOperands() [all …]
|
| H A D | ScalarEvolution.cpp | 2749 SmallVector<const SCEV *, 8> NewOps; in getAddExpr() local 2763 for (const SCEV *NewOp : NewOps) in getAddExpr() 3195 NewOps.push_back(Mul); in getMulExpr() 4000 SmallVector<const SCEV *> NewOps; in visitAnyMinMaxExpr() local 4005 if (NewOps.empty()) in visitAnyMinMaxExpr() 4043 NewOps = std::move(Ops); in visit() 9820 return getUDivExpr(NewOps[0], NewOps[1]); in getWithOperands() 9860 NewOps.push_back(OpAtScope); in computeSCEVAtScope() 9911 NewOps.reserve(Ops.size()); in computeSCEVAtScope() 9913 NewOps.push_back(OpAtScope); in computeSCEVAtScope() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | DebugInfoMetadata.cpp | 1599 SmallVector<uint64_t> NewOps; in convertToVariadicExpression() local 1781 SmallVector<uint64_t, 8> NewOps; in appendOpsToArg() local 1792 Op.appendToVector(NewOps); in appendOpsToArg() 1794 NewOps.insert(NewOps.end(), Ops.begin(), Ops.end()); in appendOpsToArg() 1806 SmallVector<uint64_t, 8> NewOps; in replaceArg() local 1810 Op.appendToVector(NewOps); in replaceArg() 1819 NewOps.push_back(Arg); in replaceArg() 1862 SmallVector<uint64_t, 16> NewOps; in append() local 1872 Op.appendToVector(NewOps); in append() 1875 NewOps.append(Ops.begin(), Ops.end()); in append() [all …]
|
| H A D | User.cpp | 78 Use *NewOps = getOperandList(); in growHungoffUses() local 81 std::copy(OldOps, OldOps + OldNumUses, NewOps); in growHungoffUses() 86 auto *NewPtr = reinterpret_cast<char *>(NewOps + NewNumUses); in growHungoffUses()
|
| H A D | Metadata.cpp | 729 LargeStorageVector NewOps; in resizeSmallToLarge() local 730 NewOps.resize(NumOps); in resizeSmallToLarge() 731 llvm::move(operands(), NewOps.begin()); in resizeSmallToLarge() 733 new (getLargePtr()) LargeStorageVector(std::move(NewOps)); in resizeSmallToLarge()
|
| H A D | Constants.cpp | 3200 SmallVector<Constant*, 8> NewOps; in handleOperandChangeImpl() local 3210 NewOps.push_back(Op); in handleOperandChangeImpl() 3214 if (Constant *C = getWithOperands(NewOps, getType(), true)) in handleOperandChangeImpl() 3219 NewOps, this, From, To, NumUpdated, OperandNo); in handleOperandChangeImpl()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SimplifyCFGPass.cpp | 86 SmallVector<PHINode *, 1> NewOps; in performBlockTailMerging() local 106 NewOps.resize(Term->getNumOperands()); in performBlockTailMerging() 107 for (auto I : zip(Term->operands(), NewOps)) { in performBlockTailMerging() 118 for (auto I : zip(NewOps, CanonicalTerm->operands())) in performBlockTailMerging() 133 for (auto I : zip(Term->operands(), NewOps)) in performBlockTailMerging()
|
| H A D | LoopStrengthReduce.cpp | 808 SmallVector<const SCEV *, 8> NewOps(Add->operands()); in ExtractImmediate() local 809 int64_t Result = ExtractImmediate(NewOps.front(), SE); in ExtractImmediate() 811 S = SE.getAddExpr(NewOps); in ExtractImmediate() 814 SmallVector<const SCEV *, 8> NewOps(AR->operands()); in ExtractImmediate() local 815 int64_t Result = ExtractImmediate(NewOps.front(), SE); in ExtractImmediate() 817 S = SE.getAddRecExpr(NewOps, AR->getLoop(), in ExtractImmediate() 834 SmallVector<const SCEV *, 8> NewOps(Add->operands()); in ExtractSymbol() local 835 GlobalValue *Result = ExtractSymbol(NewOps.back(), SE); in ExtractSymbol() 837 S = SE.getAddExpr(NewOps); in ExtractSymbol() 840 SmallVector<const SCEV *, 8> NewOps(AR->operands()); in ExtractSymbol() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeTypes.cpp | 515 std::vector<SDValue> NewOps; in AnalyzeNewNode() local 526 if (!NewOps.empty()) { in AnalyzeNewNode() 528 NewOps.push_back(Op); in AnalyzeNewNode() 531 NewOps.insert(NewOps.end(), N->op_begin(), N->op_begin() + i); in AnalyzeNewNode() 532 NewOps.push_back(Op); in AnalyzeNewNode() 537 if (!NewOps.empty()) { in AnalyzeNewNode() 538 SDNode *M = DAG.UpdateNodeOperands(N, NewOps); in AnalyzeNewNode()
|
| H A D | LegalizeIntegerTypes.cpp | 2207 NewOps[4] = Mask; in PromoteIntOp_MSTORE() 2226 NewOps[OpNo] = Mask; in PromoteIntOp_MLOAD() 2518 NewOps[OpNo] = Op; in PromoteIntOp_VP_REDUCE() 2529 NewOps[0] = in PromoteIntOp_VP_REDUCE() 5523 GetExpandedInteger(NewOps[OpNo], NewOps[OpNo], Hi); in ExpandIntOp_VP_STRIDED() 5941 NewOps.reserve(NumElems); in PromoteIntOp_CONCAT_VECTORS() 5954 NewOps.push_back(Tr); in PromoteIntOp_CONCAT_VECTORS() 5973 SmallVector<SDValue> NewOps; in ExpandIntOp_STACKMAP() local 5980 NewOps.push_back( in ExpandIntOp_STACKMAP() 6012 SmallVector<SDValue> NewOps; in ExpandIntOp_PATCHPOINT() local [all …]
|
| H A D | LegalizeFloatTypes.cpp | 3294 SmallVector<SDValue> NewOps(N->ops().begin(), N->ops().end()); in SoftPromoteHalfOp_STACKMAP() local 3296 NewOps[OpNo] = GetSoftPromotedHalf(Op); in SoftPromoteHalfOp_STACKMAP() 3298 DAG.getNode(N->getOpcode(), SDLoc(N), N->getVTList(), NewOps); in SoftPromoteHalfOp_STACKMAP() 3309 SmallVector<SDValue> NewOps(N->ops().begin(), N->ops().end()); in SoftPromoteHalfOp_PATCHPOINT() local 3311 NewOps[OpNo] = GetSoftPromotedHalf(Op); in SoftPromoteHalfOp_PATCHPOINT() 3313 DAG.getNode(N->getOpcode(), SDLoc(N), N->getVTList(), NewOps); in SoftPromoteHalfOp_PATCHPOINT()
|
| H A D | LegalizeVectorTypes.cpp | 4878 SmallVector<SDValue, 4> NewOps(N->op_begin(), N->op_end()); in WidenVecRes_Convert_StrictFP() local 4899 NewOps[1] = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, DL, InEltVT, InOp, in WidenVecRes_Convert_StrictFP() 4901 Ops[i] = DAG.getNode(Opcode, DL, EltVTs, NewOps); in WidenVecRes_Convert_StrictFP() 5154 SmallVector<SDValue, 16> NewOps(N->op_begin(), N->op_end()); in WidenVecRes_BUILD_VECTOR() local 5156 NewOps.append(WidenNumElts - NumElts, DAG.getUNDEF(EltVT)); in WidenVecRes_BUILD_VECTOR() 5158 return DAG.getBuildVector(WidenVT, dl, NewOps); in WidenVecRes_BUILD_VECTOR() 6288 SmallVector<SDValue, 4> NewOps(N->op_begin(), N->op_end()); in WidenVecOp_Convert() local 6291 NewOps[1] = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, InEltVT, InOp, in WidenVecOp_Convert() 6293 Ops[i] = DAG.getNode(Opcode, dl, { EltVT, MVT::Other }, NewOps); in WidenVecOp_Convert()
|
| H A D | LegalizeDAG.cpp | 5419 SmallVector<SDValue, 8> NewOps; in PromoteNode() local 5422 NewOps.push_back(DAG.getNode(ISD::BITCAST, SDLoc(Op), MidVT, Op)); in PromoteNode() 5428 SL, NVT, NewOps); in PromoteNode() 5463 SmallVector<SDValue, 8> NewOps; in PromoteNode() local 5470 NewOps.push_back(Elt); in PromoteNode() 5473 SDValue NewVec = DAG.getBuildVector(MidVT, SL, NewOps); in PromoteNode()
|
| H A D | DAGCombiner.cpp | 23362 SmallVector<SDValue, 16> NewOps; in convertBuildVecZextToBuildVecWithZeros() local 23363 NewOps.reserve(NewIntVT.getVectorNumElements()); in convertBuildVecZextToBuildVecWithZeros() 23369 NewOps.append(*Factor, ZeroOp); in convertBuildVecZextToBuildVecWithZeros() 23374 NewOps.emplace_back(Op); in convertBuildVecZextToBuildVecWithZeros() 23375 NewOps.append(*Factor - 1, ZeroOp); in convertBuildVecZextToBuildVecWithZeros() 23377 assert(NewOps.size() == NewIntVT.getVectorNumElements()); in convertBuildVecZextToBuildVecWithZeros() 24384 SmallVector<SDValue, 2> NewOps; in foldExtractSubvectorFromShuffleVector() local 24393 assert((NewOps.size() == 1 || NewOps.size() == 2) && in foldExtractSubvectorFromShuffleVector() 24397 if (NewOps.size() == 1) in foldExtractSubvectorFromShuffleVector() 24398 NewOps.emplace_back(DAG.getUNDEF(NarrowVT)); in foldExtractSubvectorFromShuffleVector() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | PseudoLoweringEmitter.cpp | 120 unsigned NewOps = in addDagOperandMapping() local 122 OpsAdded += NewOps; in addDagOperandMapping() 124 BaseIdx += NewOps - 1; in addDagOperandMapping()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineVectorOps.cpp | 522 SmallVector<Value *> NewOps; in visitExtractElementInst() local 528 NewOps.push_back(Op); in visitExtractElementInst() 532 GEP->getSourceElementType(), NewPtr, NewOps); in visitExtractElementInst() 1866 NewOps[0], NewOps[1]); in buildNew() 1883 NewOps[1]); in buildNew() 1887 NewOps[1]); in buildNew() 1907 Value *Ptr = NewOps[0]; in buildNew() 1908 ArrayRef<Value*> Idx = NewOps.slice(1); in buildNew() 1970 SmallVector<Value*, 8> NewOps; in evaluateInDifferentElementOrder() local 1983 NewOps.push_back(V); in evaluateInDifferentElementOrder() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86OptimizeLEAs.cpp | 605 SmallVector<MachineOperand, 4> NewOps; in replaceDebugValue() local 616 NewOps.push_back(replaceOldReg(Op)); in replaceDebugValue() 618 NewOps, Var, Expr); in replaceDebugValue()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | ScalarEvolutionExpander.cpp | 484 SmallVector<const SCEV *, 4> NewOps; in visitAddExpr() local 492 NewOps.push_back(X); in visitAddExpr() 494 Sum = expandAddToGEP(SE.getAddExpr(NewOps), Sum); in visitAddExpr() 1173 SmallVector<const SCEV *, 4> NewOps(S->getNumOperands()); in visitAddRecExpr() local 1175 NewOps[i] = SE.getAnyExtendExpr(S->getOperand(i), CanonicalIV->getType()); in visitAddRecExpr() 1176 Value *V = expand(SE.getAddRecExpr(NewOps, S->getLoop(), in visitAddRecExpr() 1191 SmallVector<const SCEV *, 4> NewOps(S->operands()); in visitAddRecExpr() local 1192 NewOps[0] = SE.getConstant(Ty, 0); in visitAddRecExpr() 1193 const SCEV *Rest = SE.getAddRecExpr(NewOps, L, in visitAddRecExpr()
|
| H A D | InlineFunction.cpp | 1046 SmallVector<Metadata *, 4> NewOps; in clone() local 1050 NewOps.push_back(MDMap[M]); in clone() 1052 NewOps.push_back(const_cast<Metadata *>(Op)); in clone() 1055 MDNode *NewM = MDNode::get(I->getContext(), NewOps); in clone() 1060 NewOps.clear(); in clone()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetInstrInfo.cpp | 578 SmallVector<MachineOperand, 5> NewOps; in foldInlineAsmMemOperand() local 579 TII.getFrameIndexOperands(NewOps, FI); in foldInlineAsmMemOperand() 580 assert(!NewOps.empty() && "getFrameIndexOperands didn't create any operands"); in foldInlineAsmMemOperand() 582 MI->insert(MI->operands_begin() + OpNo, NewOps); in foldInlineAsmMemOperand() 587 InlineAsm::Flag F(InlineAsm::Kind::Mem, NewOps.size()); in foldInlineAsmMemOperand()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | InstructionSimplify.h | 245 simplifyInstructionWithOperands(Instruction *I, ArrayRef<Value *> NewOps,
|
| H A D | ScalarEvolution.h | 2209 SmallVectorImpl<const SCEV *> &NewOps);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | HWAddressSanitizer.cpp | 1432 SmallVector<uint64_t, 8> NewOps = {dwarf::DW_OP_LLVM_tag_offset, in instrumentStack() local 1437 NewOps, LocNo)); in instrumentStack()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLoweringHVX.cpp | 1633 SmallVector<SDValue,64> NewOps; in LowerHvxBuildVector() local 1635 NewOps.push_back(DAG.getBitcast(MVT::i16, Ops[i])); in LowerHvxBuildVector() 1638 tyVector(VecTy, MVT::i16), NewOps); in LowerHvxBuildVector()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 11255 SmallVector<Value *, 8> NewOps(I.getNumOperands()); in handleGenericInst() local 11267 NewOps[Idx] = *SimplifiedOp; in handleGenericInst() 11269 NewOps[Idx] = Op; in handleGenericInst() 11271 SomeSimplified |= (NewOps[Idx] != Op); in handleGenericInst() 11289 Value *NewV = simplifyInstructionWithOperands(&I, NewOps, Q); in handleGenericInst()
|