Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp392 SmallVector<const SCEV *, 8> NewOps; in expandAddToGEP() local
400 NewOps.push_back(Remainder); in expandAddToGEP()
405 NewOps.push_back(Ops[i]); in expandAddToGEP()
410 Ops = NewOps; in expandAddToGEP()
723 SmallVector<const SCEV *, 4> NewOps; in visitAddExpr() local
731 NewOps.push_back(X); in visitAddExpr()
733 Sum = expandAddToGEP(NewOps.begin(), NewOps.end(), PTy, Ty, Sum); in visitAddExpr()
738 SmallVector<const SCEV *, 4> NewOps; in visitAddExpr() local
739 NewOps.push_back(isa<Instruction>(Sum) ? SE.getUnknown(Sum) : in visitAddExpr()
742 NewOps.push_back(I->second); in visitAddExpr()
[all …]
DScalarEvolution.cpp1359 SmallVector<const SCEV *, 8> &NewOps, in CollectAddOperandsWithScales() argument
1387 CollectAddOperandsWithScales(M, NewOps, AccumulatedConstant, in CollectAddOperandsWithScales()
1398 NewOps.push_back(Pair.first->first); in CollectAddOperandsWithScales()
1411 NewOps.push_back(Pair.first->first); in CollectAddOperandsWithScales()
1598 SmallVector<const SCEV *, 8> NewOps; in getAddExpr() local
1600 if (CollectAddOperandsWithScales(M, NewOps, AccumulatedConstant, in getAddExpr()
1607 for (SmallVector<const SCEV *, 8>::const_iterator I = NewOps.begin(), in getAddExpr()
1608 E = NewOps.end(); I != E; ++I) in getAddExpr()
1872 SmallVector<const SCEV *, 4> NewOps; in getMulExpr() local
1878 NewOps.push_back(Mul); in getMulExpr()
[all …]
/external/llvm/utils/TableGen/
DPseudoLoweringEmitter.cpp64 unsigned NewOps = in addDagOperandMapping() local
66 OpsAdded += NewOps; in addDagOperandMapping()
68 BaseIdx += NewOps - 1; in addDagOperandMapping()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypes.cpp472 SmallVector<SDValue, 8> NewOps; in AnalyzeNewNode() local
483 if (!NewOps.empty()) { in AnalyzeNewNode()
485 NewOps.push_back(Op); in AnalyzeNewNode()
488 NewOps.append(N->op_begin(), N->op_begin() + i); in AnalyzeNewNode()
489 NewOps.push_back(Op); in AnalyzeNewNode()
494 if (!NewOps.empty()) { in AnalyzeNewNode()
495 SDNode *M = DAG.UpdateNodeOperands(N, &NewOps[0], NewOps.size()); in AnalyzeNewNode()
DLegalizeIntegerTypes.cpp854 SmallVector<SDValue, 16> NewOps; in PromoteIntOp_BUILD_VECTOR() local
856 NewOps.push_back(GetPromotedInteger(N->getOperand(i))); in PromoteIntOp_BUILD_VECTOR()
858 return SDValue(DAG.UpdateNodeOperands(N, &NewOps[0], NumElts), 0); in PromoteIntOp_BUILD_VECTOR()
898 SDValue NewOps[6]; in PromoteIntOp_MEMBARRIER() local
900 NewOps[0] = N->getOperand(0); in PromoteIntOp_MEMBARRIER()
901 for (unsigned i = 1; i < array_lengthof(NewOps); ++i) { in PromoteIntOp_MEMBARRIER()
903 NewOps[i] = DAG.getZeroExtendInReg(Flag, dl, MVT::i1); in PromoteIntOp_MEMBARRIER()
905 return SDValue(DAG.UpdateNodeOperands(N, NewOps, array_lengthof(NewOps)), 0); in PromoteIntOp_MEMBARRIER()
2866 SmallVector<SDValue, 8> NewOps; in PromoteIntOp_CONCAT_VECTORS() local
2867 NewOps.reserve(NumElems); in PromoteIntOp_CONCAT_VECTORS()
[all …]
DLegalizeVectorTypes.cpp1651 SmallVector<SDValue, 16> NewOps(N->op_begin(), N->op_end()); in WidenVecRes_BUILD_VECTOR() local
1652 NewOps.reserve(WidenNumElts); in WidenVecRes_BUILD_VECTOR()
1654 NewOps.push_back(DAG.getUNDEF(EltVT)); in WidenVecRes_BUILD_VECTOR()
1656 return DAG.getNode(ISD::BUILD_VECTOR, dl, WidenVT, &NewOps[0], NewOps.size()); in WidenVecRes_BUILD_VECTOR()
DSelectionDAG.cpp4307 SmallVector<SDValue, 8> NewOps(Ops, Ops + NumOps); in getNode() local
4308 return getNode(Opcode, DL, VT, &NewOps[0], NumOps); in getNode()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp527 SmallVector<const SCEV *, 8> NewOps(Add->op_begin(), Add->op_end()); in ExtractImmediate() local
528 int64_t Result = ExtractImmediate(NewOps.front(), SE); in ExtractImmediate()
530 S = SE.getAddExpr(NewOps); in ExtractImmediate()
533 SmallVector<const SCEV *, 8> NewOps(AR->op_begin(), AR->op_end()); in ExtractImmediate() local
534 int64_t Result = ExtractImmediate(NewOps.front(), SE); in ExtractImmediate()
536 S = SE.getAddRecExpr(NewOps, AR->getLoop(), in ExtractImmediate()
554 SmallVector<const SCEV *, 8> NewOps(Add->op_begin(), Add->op_end()); in ExtractSymbol() local
555 GlobalValue *Result = ExtractSymbol(NewOps.back(), SE); in ExtractSymbol()
557 S = SE.getAddExpr(NewOps); in ExtractSymbol()
560 SmallVector<const SCEV *, 8> NewOps(AR->op_begin(), AR->op_end()); in ExtractSymbol() local
[all …]
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp246 SmallVector<Constant*, 64> NewOps; in ResolveConstantForwardRefs() local
289 NewOps.push_back(cast<Constant>(NewOp)); in ResolveConstantForwardRefs()
295 NewC = ConstantArray::get(UserCA->getType(), NewOps); in ResolveConstantForwardRefs()
297 NewC = ConstantStruct::get(UserCS->getType(), NewOps); in ResolveConstantForwardRefs()
299 NewC = ConstantVector::get(NewOps); in ResolveConstantForwardRefs()
302 NewC = cast<ConstantExpr>(UserC)->getWithOperands(NewOps); in ResolveConstantForwardRefs()
307 NewOps.clear(); in ResolveConstantForwardRefs()
/external/llvm/lib/VMCore/
DInstructions.cpp2913 Use *NewOps = allocHungoffUses(NumOps); in growOperands() local
2916 NewOps[i] = OldOps[i]; in growOperands()
2918 OperandList = NewOps; in growOperands()
2956 Use *NewOps = allocHungoffUses(NumOps); in growOperands() local
2959 NewOps[i] = OldOps[i]; in growOperands()
2960 OperandList = NewOps; in growOperands()