Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp422 SmallVector<const SCEV *, 8> NewOps; in expandAddToGEP() local
430 NewOps.push_back(Remainder); in expandAddToGEP()
435 NewOps.push_back(Ops[i]); in expandAddToGEP()
440 Ops = NewOps; in expandAddToGEP()
740 SmallVector<const SCEV *, 4> NewOps; in visitAddExpr() local
748 NewOps.push_back(X); in visitAddExpr()
750 Sum = expandAddToGEP(NewOps.begin(), NewOps.end(), PTy, Ty, Sum); in visitAddExpr()
755 SmallVector<const SCEV *, 4> NewOps; in visitAddExpr() local
756 NewOps.push_back(isa<Instruction>(Sum) ? SE.getUnknown(Sum) : in visitAddExpr()
759 NewOps.push_back(I->second); in visitAddExpr()
[all …]
DScalarEvolution.cpp1377 SmallVector<const SCEV *, 8> &NewOps, in CollectAddOperandsWithScales() argument
1405 CollectAddOperandsWithScales(M, NewOps, AccumulatedConstant, in CollectAddOperandsWithScales()
1416 NewOps.push_back(Pair.first->first); in CollectAddOperandsWithScales()
1429 NewOps.push_back(Pair.first->first); in CollectAddOperandsWithScales()
1616 SmallVector<const SCEV *, 8> NewOps; in getAddExpr() local
1618 if (CollectAddOperandsWithScales(M, NewOps, AccumulatedConstant, in getAddExpr()
1625 for (SmallVector<const SCEV *, 8>::const_iterator I = NewOps.begin(), in getAddExpr()
1626 E = NewOps.end(); I != E; ++I) in getAddExpr()
1922 SmallVector<const SCEV *, 4> NewOps; in getMulExpr() local
1928 NewOps.push_back(Mul); in getMulExpr()
[all …]
/external/llvm/utils/TableGen/
DPseudoLoweringEmitter.cpp110 unsigned NewOps = in addDagOperandMapping() local
112 OpsAdded += NewOps; in addDagOperandMapping()
114 BaseIdx += NewOps - 1; in addDagOperandMapping()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypes.cpp468 SmallVector<SDValue, 8> NewOps; in AnalyzeNewNode() local
479 if (!NewOps.empty()) { in AnalyzeNewNode()
481 NewOps.push_back(Op); in AnalyzeNewNode()
484 NewOps.append(N->op_begin(), N->op_begin() + i); in AnalyzeNewNode()
485 NewOps.push_back(Op); in AnalyzeNewNode()
490 if (!NewOps.empty()) { in AnalyzeNewNode()
491 SDNode *M = DAG.UpdateNodeOperands(N, &NewOps[0], NewOps.size()); in AnalyzeNewNode()
DLegalizeIntegerTypes.cpp911 SmallVector<SDValue, 16> NewOps; in PromoteIntOp_BUILD_VECTOR() local
913 NewOps.push_back(GetPromotedInteger(N->getOperand(i))); in PromoteIntOp_BUILD_VECTOR()
915 return SDValue(DAG.UpdateNodeOperands(N, &NewOps[0], NumElts), 0); in PromoteIntOp_BUILD_VECTOR()
955 SDValue NewOps[6]; in PromoteIntOp_MEMBARRIER() local
957 NewOps[0] = N->getOperand(0); in PromoteIntOp_MEMBARRIER()
958 for (unsigned i = 1; i < array_lengthof(NewOps); ++i) { in PromoteIntOp_MEMBARRIER()
960 NewOps[i] = DAG.getZeroExtendInReg(Flag, dl, MVT::i1); in PromoteIntOp_MEMBARRIER()
962 return SDValue(DAG.UpdateNodeOperands(N, NewOps, array_lengthof(NewOps)), 0); in PromoteIntOp_MEMBARRIER()
3006 SmallVector<SDValue, 8> NewOps; in PromoteIntOp_CONCAT_VECTORS() local
3007 NewOps.reserve(NumElems); in PromoteIntOp_CONCAT_VECTORS()
[all …]
DLegalizeVectorTypes.cpp1746 SmallVector<SDValue, 16> NewOps(N->op_begin(), N->op_end()); in WidenVecRes_BUILD_VECTOR() local
1747 NewOps.reserve(WidenNumElts); in WidenVecRes_BUILD_VECTOR()
1749 NewOps.push_back(DAG.getUNDEF(EltVT)); in WidenVecRes_BUILD_VECTOR()
1751 return DAG.getNode(ISD::BUILD_VECTOR, dl, WidenVT, &NewOps[0], NewOps.size()); in WidenVecRes_BUILD_VECTOR()
DSelectionDAG.cpp4526 SmallVector<SDValue, 8> NewOps(Ops, Ops + NumOps); in getNode() local
4527 return getNode(Opcode, DL, VT, &NewOps[0], NumOps); in getNode()
/external/llvm/lib/VMCore/
DInstructions.cpp241 Use *NewOps = allocHungoffUses(ReservedSpace); in growOperands() local
244 NewOps[i] = OldOps[i]; in growOperands()
246 OperandList = NewOps; in growOperands()
3244 Use *NewOps = allocHungoffUses(NumOps); in growOperands() local
3247 NewOps[i] = OldOps[i]; in growOperands()
3249 OperandList = NewOps; in growOperands()
3287 Use *NewOps = allocHungoffUses(NumOps); in growOperands() local
3290 NewOps[i] = OldOps[i]; in growOperands()
3291 OperandList = NewOps; in growOperands()
DConstants.cpp1039 SmallVector<Constant*, 8> NewOps; in getWithOperandReplaced() local
1041 NewOps.push_back(i == OpNo ? Op : getOperand(i)); in getWithOperandReplaced()
1043 return getWithOperands(NewOps); in getWithOperandReplaced()
2630 SmallVector<Constant*, 8> NewOps; in replaceUsesOfWithOnConstant() local
2633 NewOps.push_back(Op == From ? To : Op); in replaceUsesOfWithOnConstant()
2636 Constant *Replacement = getWithOperands(NewOps); in replaceUsesOfWithOnConstant()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp555 SmallVector<const SCEV *, 8> NewOps(Add->op_begin(), Add->op_end()); in ExtractImmediate() local
556 int64_t Result = ExtractImmediate(NewOps.front(), SE); in ExtractImmediate()
558 S = SE.getAddExpr(NewOps); in ExtractImmediate()
561 SmallVector<const SCEV *, 8> NewOps(AR->op_begin(), AR->op_end()); in ExtractImmediate() local
562 int64_t Result = ExtractImmediate(NewOps.front(), SE); in ExtractImmediate()
564 S = SE.getAddRecExpr(NewOps, AR->getLoop(), in ExtractImmediate()
582 SmallVector<const SCEV *, 8> NewOps(Add->op_begin(), Add->op_end()); in ExtractSymbol() local
583 GlobalValue *Result = ExtractSymbol(NewOps.back(), SE); in ExtractSymbol()
585 S = SE.getAddExpr(NewOps); in ExtractSymbol()
588 SmallVector<const SCEV *, 8> NewOps(AR->op_begin(), AR->op_end()); in ExtractSymbol() local
[all …]
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp307 SmallVector<Constant*, 64> NewOps; in ResolveConstantForwardRefs() local
350 NewOps.push_back(cast<Constant>(NewOp)); in ResolveConstantForwardRefs()
356 NewC = ConstantArray::get(UserCA->getType(), NewOps); in ResolveConstantForwardRefs()
358 NewC = ConstantStruct::get(UserCS->getType(), NewOps); in ResolveConstantForwardRefs()
360 NewC = ConstantVector::get(NewOps); in ResolveConstantForwardRefs()
363 NewC = cast<ConstantExpr>(UserC)->getWithOperands(NewOps); in ResolveConstantForwardRefs()
368 NewOps.clear(); in ResolveConstantForwardRefs()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp10095 SmallVector<SDValue, 5> NewOps; in LowerINTRINSIC_WO_CHAIN() local
10096 NewOps.append(Op->op_begin()+1, Op->op_end()); in LowerINTRINSIC_WO_CHAIN()
10098 SDValue PCMP = DAG.getNode(Opcode, dl, VTs, NewOps.data(), NewOps.size()); in LowerINTRINSIC_WO_CHAIN()
10113 SmallVector<SDValue, 5> NewOps; in LowerINTRINSIC_WO_CHAIN() local
10114 NewOps.append(Op->op_begin()+1, Op->op_end()); in LowerINTRINSIC_WO_CHAIN()
10116 return DAG.getNode(Opcode, dl, VTs, NewOps.data(), NewOps.size()); in LowerINTRINSIC_WO_CHAIN()