/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 669 static Value *BuildNew(Instruction *I, ArrayRef<Value*> NewOps) { in BuildNew() argument 692 assert(NewOps.size() == 2 && "binary operator with #ops != 2"); in BuildNew() 695 NewOps[0], NewOps[1], "", BO); in BuildNew() 708 assert(NewOps.size() == 2 && "icmp with #ops != 2"); in BuildNew() 710 NewOps[0], NewOps[1]); in BuildNew() 712 assert(NewOps.size() == 2 && "fcmp with #ops != 2"); in BuildNew() 714 NewOps[0], NewOps[1]); in BuildNew() 728 NewOps[0]->getType()->getVectorNumElements()); in BuildNew() 729 assert(NewOps.size() == 1 && "cast with #ops != 1"); in BuildNew() 730 return CastInst::Create(cast<CastInst>(I)->getOpcode(), NewOps[0], DestTy, in BuildNew() [all …]
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 402 SmallVector<const SCEV *, 8> NewOps; in expandAddToGEP() local 410 NewOps.push_back(Remainder); in expandAddToGEP() 415 NewOps.push_back(Ops[i]); in expandAddToGEP() 420 Ops = NewOps; in expandAddToGEP() 696 SmallVector<const SCEV *, 4> NewOps; in visitAddExpr() local 704 NewOps.push_back(X); in visitAddExpr() 706 Sum = expandAddToGEP(NewOps.begin(), NewOps.end(), PTy, Ty, Sum); in visitAddExpr() 711 SmallVector<const SCEV *, 4> NewOps; in visitAddExpr() local 712 NewOps.push_back(isa<Instruction>(Sum) ? SE.getUnknown(Sum) : in visitAddExpr() 715 NewOps.push_back(I->second); in visitAddExpr() [all …]
|
D | ScalarEvolution.cpp | 1850 SmallVectorImpl<const SCEV *> &NewOps, in CollectAddOperandsWithScales() argument 1878 CollectAddOperandsWithScales(M, NewOps, AccumulatedConstant, in CollectAddOperandsWithScales() 1889 NewOps.push_back(Pair.first->first); in CollectAddOperandsWithScales() 1902 NewOps.push_back(Pair.first->first); in CollectAddOperandsWithScales() 2106 SmallVector<const SCEV *, 8> NewOps; in getAddExpr() local 2108 if (CollectAddOperandsWithScales(M, NewOps, AccumulatedConstant, in getAddExpr() 2115 for (SmallVectorImpl<const SCEV *>::const_iterator I = NewOps.begin(), in getAddExpr() 2116 E = NewOps.end(); I != E; ++I) in getAddExpr() 2419 SmallVector<const SCEV *, 4> NewOps; in getMulExpr() local 2425 NewOps.push_back(Mul); in getMulExpr() [all …]
|
/external/llvm/utils/TableGen/ |
D | PseudoLoweringEmitter.cpp | 111 unsigned NewOps = in addDagOperandMapping() local 113 OpsAdded += NewOps; in addDagOperandMapping() 115 BaseIdx += NewOps - 1; in addDagOperandMapping()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeTypes.cpp | 478 SmallVector<SDValue, 8> NewOps; in AnalyzeNewNode() local 489 if (!NewOps.empty()) { in AnalyzeNewNode() 491 NewOps.push_back(Op); in AnalyzeNewNode() 494 NewOps.append(N->op_begin(), N->op_begin() + i); in AnalyzeNewNode() 495 NewOps.push_back(Op); in AnalyzeNewNode() 500 if (!NewOps.empty()) { in AnalyzeNewNode() 501 SDNode *M = DAG.UpdateNodeOperands(N, NewOps); in AnalyzeNewNode()
|
D | LegalizeIntegerTypes.cpp | 1010 SmallVector<SDValue, 16> NewOps; in PromoteIntOp_BUILD_VECTOR() local 1012 NewOps.push_back(GetPromotedInteger(N->getOperand(i))); in PromoteIntOp_BUILD_VECTOR() 1014 return SDValue(DAG.UpdateNodeOperands(N, NewOps), 0); in PromoteIntOp_BUILD_VECTOR() 1180 SmallVector<SDValue, 4> NewOps(N->op_begin(), N->op_end()); in PromoteIntOp_MLOAD() local 1181 NewOps[OpNo] = Mask; in PromoteIntOp_MLOAD() 1182 return SDValue(DAG.UpdateNodeOperands(N, NewOps), 0); in PromoteIntOp_MLOAD() 3081 SmallVector<SDValue, 8> NewOps; in PromoteIntOp_CONCAT_VECTORS() local 3082 NewOps.reserve(NumElems); in PromoteIntOp_CONCAT_VECTORS() 3095 NewOps.push_back(Tr); in PromoteIntOp_CONCAT_VECTORS() 3099 return DAG.getNode(ISD::BUILD_VECTOR, dl, N->getValueType(0), NewOps); in PromoteIntOp_CONCAT_VECTORS()
|
D | LegalizeVectorTypes.cpp | 2208 SmallVector<SDValue, 16> NewOps(N->op_begin(), N->op_end()); in WidenVecRes_BUILD_VECTOR() local 2210 NewOps.append(WidenNumElts - NumElts, DAG.getUNDEF(EltVT)); in WidenVecRes_BUILD_VECTOR() 2212 return DAG.getNode(ISD::BUILD_VECTOR, dl, WidenVT, NewOps); in WidenVecRes_BUILD_VECTOR()
|
D | DAGCombiner.cpp | 11797 SmallVector<SDValue, 4> NewOps; in simplifyShuffleOperandRecursively() local 11798 NewOps.reserve(V->getNumOperands()); in simplifyShuffleOperandRecursively() 11807 NewOps.push_back( in simplifyShuffleOperandRecursively() 11810 FoundSimplification |= Op == NewOps.back(); in simplifyShuffleOperandRecursively() 11814 V = DAG.getNode(ISD::CONCAT_VECTORS, DL, VT, NewOps); in simplifyShuffleOperandRecursively()
|
D | SelectionDAG.cpp | 5108 SmallVector<SDValue, 8> NewOps(Ops.begin(), Ops.end()); in getNode() local 5109 return getNode(Opcode, DL, VT, NewOps); in getNode()
|
/external/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 335 SmallVector<Metadata *, 4> NewOps; in CloneAliasScopeMetadata() local 339 NewOps.push_back(MDMap[M]); in CloneAliasScopeMetadata() 341 NewOps.push_back(const_cast<Metadata *>(V)); in CloneAliasScopeMetadata() 344 MDNode *NewM = MDNode::get(CalledFunc->getContext(), NewOps); in CloneAliasScopeMetadata()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 626 SmallVector<const SCEV *, 8> NewOps(Add->op_begin(), Add->op_end()); in ExtractImmediate() local 627 int64_t Result = ExtractImmediate(NewOps.front(), SE); in ExtractImmediate() 629 S = SE.getAddExpr(NewOps); in ExtractImmediate() 632 SmallVector<const SCEV *, 8> NewOps(AR->op_begin(), AR->op_end()); in ExtractImmediate() local 633 int64_t Result = ExtractImmediate(NewOps.front(), SE); in ExtractImmediate() 635 S = SE.getAddRecExpr(NewOps, AR->getLoop(), in ExtractImmediate() 653 SmallVector<const SCEV *, 8> NewOps(Add->op_begin(), Add->op_end()); in ExtractSymbol() local 654 GlobalValue *Result = ExtractSymbol(NewOps.back(), SE); in ExtractSymbol() 656 S = SE.getAddExpr(NewOps); in ExtractSymbol() 659 SmallVector<const SCEV *, 8> NewOps(AR->op_begin(), AR->op_end()); in ExtractSymbol() local [all …]
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 242 Use *NewOps = allocHungoffUses(ReservedSpace); in growOperands() local 245 NewOps[i] = OldOps[i]; in growOperands() 247 OperandList = NewOps; in growOperands() 3390 Use *NewOps = allocHungoffUses(NumOps); in growOperands() local 3393 NewOps[i] = OldOps[i]; in growOperands() 3395 OperandList = NewOps; in growOperands() 3433 Use *NewOps = allocHungoffUses(NumOps); in growOperands() local 3436 NewOps[i] = OldOps[i]; in growOperands() 3437 OperandList = NewOps; in growOperands()
|
D | Constants.cpp | 1205 SmallVector<Constant*, 8> NewOps; in getWithOperandReplaced() local 1207 NewOps.push_back(i == OpNo ? Op : getOperand(i)); in getWithOperandReplaced() 1209 return getWithOperands(NewOps); in getWithOperandReplaced() 2951 SmallVector<Constant*, 8> NewOps; in replaceUsesOfWithOnConstant() local 2959 NewOps.push_back(Op); in replaceUsesOfWithOnConstant() 2963 if (Constant *C = getWithOperands(NewOps, getType(), true)) { in replaceUsesOfWithOnConstant() 2970 NewOps, this, From, To, NumUpdated, U - OperandList)) in replaceUsesOfWithOnConstant()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 807 SmallVector<Constant*, 64> NewOps; in ResolveConstantForwardRefs() local 850 NewOps.push_back(cast<Constant>(NewOp)); in ResolveConstantForwardRefs() 856 NewC = ConstantArray::get(UserCA->getType(), NewOps); in ResolveConstantForwardRefs() 858 NewC = ConstantStruct::get(UserCS->getType(), NewOps); in ResolveConstantForwardRefs() 860 NewC = ConstantVector::get(NewOps); in ResolveConstantForwardRefs() 863 NewC = cast<ConstantExpr>(UserC)->getWithOperands(NewOps); in ResolveConstantForwardRefs() 868 NewOps.clear(); in ResolveConstantForwardRefs()
|
/external/llvm/lib/Target/R600/ |
D | SIISelLowering.cpp | 1764 SmallVector<SDValue, 8> NewOps(MemNode->op_begin(), MemNode->op_end()); in PerformDAGCombine() local 1766 NewOps[N->getOpcode() == ISD::STORE ? 2 : 1] = NewPtr; in PerformDAGCombine() 1767 return SDValue(DAG.UpdateNodeOperands(MemNode, NewOps), 0); in PerformDAGCombine()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 15044 SmallVector<SDValue, 5> NewOps(Op->op_begin()+1, Op->op_end()); in LowerINTRINSIC_WO_CHAIN() local 15046 SDValue PCMP = DAG.getNode(Opcode, dl, VTs, NewOps); in LowerINTRINSIC_WO_CHAIN() 15061 SmallVector<SDValue, 5> NewOps(Op->op_begin()+1, Op->op_end()); in LowerINTRINSIC_WO_CHAIN() local 15063 return DAG.getNode(Opcode, dl, VTs, NewOps); in LowerINTRINSIC_WO_CHAIN()
|