Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DValueList.cpp158 SmallVector<Constant *, 64> NewOps; in resolveConstantForwardRefs() local
200 NewOps.push_back(cast<Constant>(NewOp)); in resolveConstantForwardRefs()
206 NewC = ConstantArray::get(UserCA->getType(), NewOps); in resolveConstantForwardRefs()
208 NewC = ConstantStruct::get(UserCS->getType(), NewOps); in resolveConstantForwardRefs()
210 NewC = ConstantVector::get(NewOps); in resolveConstantForwardRefs()
213 NewC = cast<ConstantExpr>(UserC)->getWithOperands(NewOps); in resolveConstantForwardRefs()
218 NewOps.clear(); in resolveConstantForwardRefs()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DUser.cpp69 Use *NewOps = getOperandList(); in growHungoffUses() local
72 std::copy(OldOps, OldOps + OldNumUses, NewOps); in growHungoffUses()
79 reinterpret_cast<char *>(NewOps + NewNumUses) + sizeof(Use::UserRef); in growHungoffUses()
DDebugInfoMetadata.cpp1096 SmallVector<uint64_t, 16> NewOps; in append() local
1101 NewOps.append(Ops.begin(), Ops.end()); in append()
1106 Op.appendToVector(NewOps); in append()
1109 NewOps.append(Ops.begin(), Ops.end()); in append()
1110 return DIExpression::get(Expr->getContext(), NewOps); in append()
1137 SmallVector<uint64_t, 16> NewOps; in appendToStack() local
1139 NewOps.push_back(dwarf::DW_OP_deref); in appendToStack()
1140 NewOps.append(Ops.begin(), Ops.end()); in appendToStack()
1142 NewOps.push_back(dwarf::DW_OP_stack_value); in appendToStack()
1143 return DIExpression::append(Expr, NewOps); in appendToStack()
DConstants.cpp1281 SmallVector<Constant*, 8> NewOps; in getWithOperandReplaced() local
1283 NewOps.push_back(i == OpNo ? Op : getOperand(i)); in getWithOperandReplaced()
1285 return getWithOperands(NewOps); in getWithOperandReplaced()
3031 SmallVector<Constant*, 8> NewOps; in handleOperandChangeImpl() local
3041 NewOps.push_back(Op); in handleOperandChangeImpl()
3045 if (Constant *C = getWithOperands(NewOps, getType(), true)) in handleOperandChangeImpl()
3050 NewOps, this, From, To, NumUpdated, OperandNo); in handleOperandChangeImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypes.cpp493 std::vector<SDValue> NewOps; in AnalyzeNewNode() local
504 if (!NewOps.empty()) { in AnalyzeNewNode()
506 NewOps.push_back(Op); in AnalyzeNewNode()
509 NewOps.insert(NewOps.end(), N->op_begin(), N->op_begin() + i); in AnalyzeNewNode()
510 NewOps.push_back(Op); in AnalyzeNewNode()
515 if (!NewOps.empty()) { in AnalyzeNewNode()
516 SDNode *M = DAG.UpdateNodeOperands(N, NewOps); in AnalyzeNewNode()
DLegalizeIntegerTypes.cpp1468 SmallVector<SDValue, 16> NewOps; in PromoteIntOp_BUILD_VECTOR() local
1470 NewOps.push_back(GetPromotedInteger(N->getOperand(i))); in PromoteIntOp_BUILD_VECTOR()
1472 return SDValue(DAG.UpdateNodeOperands(N, NewOps), 0); in PromoteIntOp_BUILD_VECTOR()
1601 SmallVector<SDValue, 4> NewOps(N->op_begin(), N->op_end()); in PromoteIntOp_MSTORE() local
1602 NewOps[4] = Mask; in PromoteIntOp_MSTORE()
1603 return SDValue(DAG.UpdateNodeOperands(N, NewOps), 0); in PromoteIntOp_MSTORE()
1621 SmallVector<SDValue, 4> NewOps(N->op_begin(), N->op_end()); in PromoteIntOp_MLOAD() local
1622 NewOps[OpNo] = Mask; in PromoteIntOp_MLOAD()
1623 return SDValue(DAG.UpdateNodeOperands(N, NewOps), 0); in PromoteIntOp_MLOAD()
1629 SmallVector<SDValue, 5> NewOps(N->op_begin(), N->op_end()); in PromoteIntOp_MGATHER() local
[all …]
DLegalizeVectorTypes.cpp3309 SmallVector<SDValue, 4> NewOps(N->op_begin(), N->op_end()); in WidenVecRes_Convert_StrictFP() local
3331 NewOps[1] = DAG.getNode( in WidenVecRes_Convert_StrictFP()
3334 Ops[i] = DAG.getNode(Opcode, DL, EltVTs, NewOps); in WidenVecRes_Convert_StrictFP()
3563 SmallVector<SDValue, 16> NewOps(N->op_begin(), N->op_end()); in WidenVecRes_BUILD_VECTOR() local
3565 NewOps.append(WidenNumElts - NumElts, DAG.getUNDEF(EltVT)); in WidenVecRes_BUILD_VECTOR()
3567 return DAG.getBuildVector(WidenVT, dl, NewOps); in WidenVecRes_BUILD_VECTOR()
4376 SmallVector<SDValue, 4> NewOps(N->op_begin(), N->op_end()); in WidenVecOp_Convert() local
4379 NewOps[1] = DAG.getNode( in WidenVecOp_Convert()
4382 Ops[i] = DAG.getNode(Opcode, dl, { EltVT, MVT::Other }, NewOps); in WidenVecOp_Convert()
DLegalizeDAG.cpp4554 SmallVector<SDValue, 8> NewOps; in PromoteNode() local
4557 NewOps.push_back(DAG.getNode(ISD::BITCAST, SDLoc(Op), MidVT, Op)); in PromoteNode()
4561 SDValue Concat = DAG.getNode(ISD::CONCAT_VECTORS, SL, NVT, NewOps); in PromoteNode()
4596 SmallVector<SDValue, 8> NewOps; in PromoteNode() local
4603 NewOps.push_back(Elt); in PromoteNode()
4606 SDValue NewVec = DAG.getBuildVector(MidVT, SL, NewOps); in PromoteNode()
DSelectionDAG.cpp7337 SmallVector<SDValue, 8> NewOps(Ops.begin(), Ops.end()); in getNode() local
7338 return getNode(Opcode, DL, VT, NewOps); in getNode()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp1213 static Value *buildNew(Instruction *I, ArrayRef<Value*> NewOps) { in buildNew() argument
1236 assert(NewOps.size() == 2 && "binary operator with #ops != 2"); in buildNew()
1239 NewOps[0], NewOps[1], "", BO); in buildNew()
1252 assert(NewOps.size() == 2 && "icmp with #ops != 2"); in buildNew()
1254 NewOps[0], NewOps[1]); in buildNew()
1256 assert(NewOps.size() == 2 && "fcmp with #ops != 2"); in buildNew()
1258 NewOps[0], NewOps[1]); in buildNew()
1272 NewOps[0]->getType()->getVectorNumElements()); in buildNew()
1273 assert(NewOps.size() == 1 && "cast with #ops != 1"); in buildNew()
1274 return CastInst::Create(cast<CastInst>(I)->getOpcode(), NewOps[0], DestTy, in buildNew()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp431 SmallVector<const SCEV *, 8> NewOps; in expandAddToGEP() local
438 NewOps.push_back(Remainder); in expandAddToGEP()
443 NewOps.push_back(Op); in expandAddToGEP()
448 Ops = NewOps; in expandAddToGEP()
717 SmallVector<const SCEV *, 4> NewOps; in visitAddExpr() local
725 NewOps.push_back(X); in visitAddExpr()
727 Sum = expandAddToGEP(NewOps.begin(), NewOps.end(), PTy, Ty, Sum); in visitAddExpr()
732 SmallVector<const SCEV *, 4> NewOps; in visitAddExpr() local
733 NewOps.push_back(isa<Instruction>(Sum) ? SE.getUnknown(Sum) : in visitAddExpr()
736 NewOps.push_back(I->second); in visitAddExpr()
[all …]
DScalarEvolution.cpp2276 SmallVectorImpl<const SCEV *> &NewOps, in CollectAddOperandsWithScales() argument
2304 CollectAddOperandsWithScales(M, NewOps, AccumulatedConstant, in CollectAddOperandsWithScales()
2314 NewOps.push_back(Pair.first->first); in CollectAddOperandsWithScales()
2327 NewOps.push_back(Pair.first->first); in CollectAddOperandsWithScales()
2581 SmallVector<const SCEV *, 8> NewOps; in getAddExpr() local
2583 if (CollectAddOperandsWithScales(M, NewOps, AccumulatedConstant, in getAddExpr()
2596 for (const SCEV *NewOp : NewOps) in getAddExpr()
2980 SmallVector<const SCEV *, 4> NewOps; in getMulExpr() local
2986 NewOps.push_back(Mul); in getMulExpr()
2989 return getAddExpr(NewOps, SCEV::FlagAnyWrap, Depth + 1); in getMulExpr()
[all …]
DInstructionSimplify.cpp3762 SmallVector<Value *, 8> NewOps(GEP->getNumOperands()); in SimplifyWithOpReplaced() local
3763 transform(GEP->operands(), NewOps.begin(), in SimplifyWithOpReplaced()
3765 return SimplifyGEPInst(GEP->getSourceElementType(), NewOps, Q, in SimplifyWithOpReplaced()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp753 SmallVector<const SCEV *, 8> NewOps(Add->op_begin(), Add->op_end()); in ExtractImmediate() local
754 int64_t Result = ExtractImmediate(NewOps.front(), SE); in ExtractImmediate()
756 S = SE.getAddExpr(NewOps); in ExtractImmediate()
759 SmallVector<const SCEV *, 8> NewOps(AR->op_begin(), AR->op_end()); in ExtractImmediate() local
760 int64_t Result = ExtractImmediate(NewOps.front(), SE); in ExtractImmediate()
762 S = SE.getAddRecExpr(NewOps, AR->getLoop(), in ExtractImmediate()
779 SmallVector<const SCEV *, 8> NewOps(Add->op_begin(), Add->op_end()); in ExtractSymbol() local
780 GlobalValue *Result = ExtractSymbol(NewOps.back(), SE); in ExtractSymbol()
782 S = SE.getAddExpr(NewOps); in ExtractSymbol()
785 SmallVector<const SCEV *, 8> NewOps(AR->op_begin(), AR->op_end()); in ExtractSymbol() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DInlineFunction.cpp857 SmallVector<Metadata *, 4> NewOps; in CloneAliasScopeMetadata() local
861 NewOps.push_back(MDMap[M]); in CloneAliasScopeMetadata()
863 NewOps.push_back(const_cast<Metadata *>(V)); in CloneAliasScopeMetadata()
866 MDNode *NewM = MDNode::get(CalledFunc->getContext(), NewOps); in CloneAliasScopeMetadata()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DHWAddressSanitizer.cpp1045 SmallVector<uint64_t, 8> NewOps = {dwarf::DW_OP_LLVM_tag_offset, in instrumentStack() local
1049 DDI->getExpression(), NewOps))); in instrumentStack()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp24358 SmallVector<SDValue, 5> NewOps(Op->op_begin()+1, Op->op_end()); in LowerINTRINSIC_WO_CHAIN() local
24360 SDValue PCMP = DAG.getNode(Opcode, dl, VTs, NewOps).getValue(2); in LowerINTRINSIC_WO_CHAIN()
24373 SmallVector<SDValue, 5> NewOps(Op->op_begin()+1, Op->op_end()); in LowerINTRINSIC_WO_CHAIN() local
24375 return DAG.getNode(Opcode, dl, VTs, NewOps); in LowerINTRINSIC_WO_CHAIN()
24386 SmallVector<SDValue, 5> NewOps(Op->op_begin()+1, Op->op_end()); in LowerINTRINSIC_WO_CHAIN() local
24388 return DAG.getNode(Opcode, dl, VTs, NewOps).getValue(1); in LowerINTRINSIC_WO_CHAIN()
42683 SmallVector<SDValue, 4> NewOps(Op.getNumOperands(), SDValue()); in getNegatedExpression() local
42688 NewOps[i] = getNegatedExpression(Op.getOperand(i), DAG, LegalOperations, in getNegatedExpression()
42692 bool NegA = !!NewOps[0]; in getNegatedExpression()
42693 bool NegB = !!NewOps[1]; in getNegatedExpression()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp8131 SmallVector<SDValue, 8> NewOps(N->op_begin(), N->op_end()); in performMemSDNodeCombine() local
8133 NewOps[N->getOpcode() == ISD::STORE ? 2 : 1] = NewPtr; in performMemSDNodeCombine()
8134 return SDValue(DAG.UpdateNodeOperands(N, NewOps), 0); in performMemSDNodeCombine()