Home
last modified time | relevance | path

Searched refs:Ops (Results 1 – 25 of 338) sorted by relevance

12345678910>>...14

/external/llvm/lib/Target/NVPTX/
DNVPTXISelDAGToDAG.cpp764 SDValue Ops[] = { getI32Imm(isVolatile, dl), getI32Imm(codeAddrSpace, dl), in tryLoad() local
767 NVPTXLD = CurDAG->getMachineNode(Opcode, dl, TargetVT, MVT::Other, Ops); in tryLoad()
792 SDValue Ops[] = { getI32Imm(isVolatile, dl), getI32Imm(codeAddrSpace, dl), in tryLoad() local
795 NVPTXLD = CurDAG->getMachineNode(Opcode, dl, TargetVT, MVT::Other, Ops); in tryLoad()
845 SDValue Ops[] = { getI32Imm(isVolatile, dl), getI32Imm(codeAddrSpace, dl), in tryLoad() local
848 NVPTXLD = CurDAG->getMachineNode(Opcode, dl, TargetVT, MVT::Other, Ops); in tryLoad()
897 SDValue Ops[] = { getI32Imm(isVolatile, dl), getI32Imm(codeAddrSpace, dl), in tryLoad() local
900 NVPTXLD = CurDAG->getMachineNode(Opcode, dl, TargetVT, MVT::Other, Ops); in tryLoad()
1029 SDValue Ops[] = { getI32Imm(IsVolatile, DL), getI32Imm(CodeAddrSpace, DL), in tryLoadVector() local
1032 LD = CurDAG->getMachineNode(Opcode, DL, N->getVTList(), Ops); in tryLoadVector()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DReassociate.cpp62 static void PrintOps(Instruction *I, const SmallVectorImpl<ValueEntry> &Ops) { in PrintOps() argument
65 << *Ops[0].Op->getType() << '\t'; in PrintOps()
66 for (unsigned i = 0, e = Ops.size(); i != e; ++i) { in PrintOps()
68 WriteAsOperand(dbgs(), Ops[i].Op, false, M); in PrintOps()
69 dbgs() << ", #" << Ops[i].Rank << "] "; in PrintOps()
96 void RewriteExprTree(BinaryOperator *I, SmallVectorImpl<ValueEntry> &Ops,
99 SmallVectorImpl<ValueEntry> &Ops);
100 Value *OptimizeAdd(Instruction *I, SmallVectorImpl<ValueEntry> &Ops);
101 void LinearizeExprTree(BinaryOperator *I, SmallVectorImpl<ValueEntry> &Ops);
273 SmallVectorImpl<ValueEntry> &Ops) { in LinearizeExprTree() argument
[all …]
/external/clang/lib/CodeGen/
DCGBuiltin.cpp2572 Value *CodeGenFunction::EmitNeonCall(Function *F, SmallVectorImpl<Value*> &Ops, in EmitNeonCall() argument
2579 Ops[j] = EmitNeonShiftVector(Ops[j], ai->getType(), rightshift); in EmitNeonCall()
2581 Ops[j] = Builder.CreateBitCast(Ops[j], ai->getType(), name); in EmitNeonCall()
2583 return Builder.CreateCall(F, Ops, name); in EmitNeonCall()
3273 SmallVectorImpl<Value *> &Ops, in EmitCommonNeonSISDBuiltinExpr() argument
3296 std::swap(Ops[0], Ops[1]); in EmitCommonNeonSISDBuiltinExpr()
3312 if (Ops[j]->getType()->getPrimitiveSizeInBits() == in EmitCommonNeonSISDBuiltinExpr()
3316 assert(ArgTy->isVectorTy() && !Ops[j]->getType()->isVectorTy()); in EmitCommonNeonSISDBuiltinExpr()
3319 Ops[j] = in EmitCommonNeonSISDBuiltinExpr()
3320 CGF.Builder.CreateTruncOrBitCast(Ops[j], ArgTy->getVectorElementType()); in EmitCommonNeonSISDBuiltinExpr()
[all …]
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp57 static void PrintOps(Instruction *I, const SmallVectorImpl<ValueEntry> &Ops) { in PrintOps() argument
60 << *Ops[0].Op->getType() << '\t'; in PrintOps()
61 for (unsigned i = 0, e = Ops.size(); i != e; ++i) { in PrintOps()
63 Ops[i].Op->printAsOperand(dbgs(), false, M); in PrintOps()
64 dbgs() << ", #" << Ops[i].Rank << "] "; in PrintOps()
434 SmallVectorImpl<RepeatedValue> &Ops) { in LinearizeExprTree() argument
594 Ops.push_back(std::make_pair(V, Weight)); in LinearizeExprTree()
600 if (Ops.empty()) { in LinearizeExprTree()
603 Ops.emplace_back(Identity, APInt(Bitwidth, 1)); in LinearizeExprTree()
612 SmallVectorImpl<ValueEntry> &Ops) { in RewriteExprTree() argument
[all …]
DFloat2Int.cpp252 Op = [](ArrayRef<ConstantRange> Ops) { in walkForwards() argument
253 assert(Ops.size() == 2 && "FAdd is a binary operator!"); in walkForwards()
254 return Ops[0].add(Ops[1]); in walkForwards()
259 Op = [](ArrayRef<ConstantRange> Ops) { in walkForwards() argument
260 assert(Ops.size() == 2 && "FSub is a binary operator!"); in walkForwards()
261 return Ops[0].sub(Ops[1]); in walkForwards()
266 Op = [](ArrayRef<ConstantRange> Ops) { in walkForwards() argument
267 assert(Ops.size() == 2 && "FMul is a binary operator!"); in walkForwards()
268 return Ops[0].multiply(Ops[1]); in walkForwards()
278 Op = [](ArrayRef<ConstantRange> Ops) { in walkForwards() argument
[all …]
/external/llvm/lib/IR/
DDebugInfoMetadata.cpp59 SmallVector<Metadata *, 2> Ops; in getImpl() local
60 Ops.push_back(Scope); in getImpl()
62 Ops.push_back(InlinedAt); in getImpl()
63 return storeImpl(new (Ops.size()) in getImpl()
64 DILocation(Context, Storage, Line, Column, Ops), in getImpl()
226 Metadata *Ops[] = {Name}; in getImpl() local
227 DEFINE_GETIMPL_STORE(DIEnumerator, (Value), Ops); in getImpl()
237 Metadata *Ops[] = {nullptr, nullptr, Name}; in getImpl() local
239 Ops); in getImpl()
251 Metadata *Ops[] = {File, Scope, Name, BaseType, ExtraData}; in getImpl() local
[all …]
DConstantsContext.h444 ArrayRef<Constant *> Ops;
448 ConstantExprKeyType(unsigned Opcode, ArrayRef<Constant *> Ops,
454 SubclassData(SubclassData), Ops(Ops), Indexes(Indexes),
459 SubclassData(CE->isCompare() ? CE->getPredicate() : 0), Ops(Operands),
470 Ops = Storage;
475 SubclassOptionalData == X.SubclassOptionalData && Ops == X.Ops &&
484 if (Ops.size() != CE->getNumOperands())
488 for (unsigned I = 0, E = Ops.size(); I != E; ++I)
489 if (Ops[I] != CE->getOperand(I))
498 hash_combine_range(Ops.begin(), Ops.end()),
[all …]
DIRBuilder.cpp59 static CallInst *createCallHelper(Value *Callee, ArrayRef<Value *> Ops, in createCallHelper() argument
62 CallInst *CI = CallInst::Create(Callee, Ops, Name); in createCallHelper()
70 ArrayRef<Value *> Ops, in createInvokeHelper() argument
74 InvokeInst::Create(Invokee, NormalDest, UnwindDest, Ops, Name); in createInvokeHelper()
86 Value *Ops[] = { Ptr, Val, Size, getInt32(Align), getInt1(isVolatile) }; in CreateMemSet() local
91 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemSet()
113 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) }; in CreateMemCpy() local
118 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemCpy()
144 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) }; in CreateMemMove() local
149 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemMove()
[all …]
/external/swiftshader/third_party/LLVM/lib/Analysis/
DScalarEvolution.cpp609 static void GroupByComplexity(SmallVectorImpl<const SCEV *> &Ops, in GroupByComplexity() argument
611 if (Ops.size() < 2) return; // Noop in GroupByComplexity()
612 if (Ops.size() == 2) { in GroupByComplexity()
615 const SCEV *&LHS = Ops[0], *&RHS = Ops[1]; in GroupByComplexity()
622 std::stable_sort(Ops.begin(), Ops.end(), SCEVComplexityCompare(LI)); in GroupByComplexity()
628 for (unsigned i = 0, e = Ops.size(); i != e-2; ++i) { in GroupByComplexity()
629 const SCEV *S = Ops[i]; in GroupByComplexity()
634 for (unsigned j = i+1; j != e && Ops[j]->getSCEVType() == Complexity; ++j) { in GroupByComplexity()
635 if (Ops[j] == S) { // Found a duplicate. in GroupByComplexity()
637 std::swap(Ops[i+1], Ops[j]); in GroupByComplexity()
[all …]
DConstantFolding.cpp62 Constant *Ops = C; // don't take the address of C! in FoldBitCast() local
63 return FoldBitCast(ConstantVector::get(Ops), DestTy, TD); in FoldBitCast()
544 static Constant *CastGEPIndices(ArrayRef<Constant *> Ops, in CastGEPIndices() argument
552 for (unsigned i = 1, e = Ops.size(); i != e; ++i) { in CastGEPIndices()
554 !isa<StructType>(GetElementPtrInst::getIndexedType(Ops[0]->getType(), in CastGEPIndices()
555 Ops.slice(1, i-1)))) && in CastGEPIndices()
556 Ops[i]->getType() != IntPtrTy) { in CastGEPIndices()
558 NewIdxs.push_back(ConstantExpr::getCast(CastInst::getCastOpcode(Ops[i], in CastGEPIndices()
562 Ops[i], IntPtrTy)); in CastGEPIndices()
564 NewIdxs.push_back(Ops[i]); in CastGEPIndices()
[all …]
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMUnwindOpAsm.h28 llvm::SmallVector<uint8_t, 32> Ops;
40 Ops.clear(); in Reset()
65 Ops.insert(Ops.end(), Opcodes.begin(), Opcodes.end()); in EmitRaw()
75 Ops.push_back(Opcode & 0xff); in EmitInt8()
80 Ops.push_back((Opcode >> 8) & 0xff); in EmitInt16()
81 Ops.push_back(Opcode & 0xff); in EmitInt16()
86 Ops.insert(Ops.end(), Opcode, Opcode + Size); in EmitBytes()
/external/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp1527 SDValue Ops[]= { Base, AMOpc, getAL(CurDAG, SDLoc(N)), in tryARMIndexedLoad() local
1530 MVT::i32, MVT::Other, Ops)); in tryARMIndexedLoad()
1535 SDValue Ops[]= { Base, Offset, AMOpc, getAL(CurDAG, SDLoc(N)), in tryARMIndexedLoad() local
1538 MVT::i32, MVT::Other, Ops)); in tryARMIndexedLoad()
1585 SDValue Ops[]= { Base, Offset, getAL(CurDAG, SDLoc(N)), in tryT2IndexedLoad() local
1588 MVT::Other, Ops)); in tryT2IndexedLoad()
1602 const SDValue Ops[] = { RegClass, V0, SubReg0, V1, SubReg1 }; in createGPRPairNode() local
1603 return CurDAG->getMachineNode(TargetOpcode::REG_SEQUENCE, dl, VT, Ops); in createGPRPairNode()
1613 const SDValue Ops[] = { RegClass, V0, SubReg0, V1, SubReg1 }; in createSRegPairNode() local
1614 return CurDAG->getMachineNode(TargetOpcode::REG_SEQUENCE, dl, VT, Ops); in createSRegPairNode()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMISelDAGToDAG.cpp1385 SDValue Ops[]= { Base, AMOpc, getAL(CurDAG), in SelectARMIndexedLoad() local
1388 MVT::i32, MVT::Other, Ops, 5); in SelectARMIndexedLoad()
1392 SDValue Ops[]= { Base, Offset, AMOpc, getAL(CurDAG), in SelectARMIndexedLoad() local
1395 MVT::i32, MVT::Other, Ops, 6); in SelectARMIndexedLoad()
1441 SDValue Ops[]= { Base, Offset, getAL(CurDAG), in SelectT2IndexedLoad() local
1444 MVT::Other, Ops, 5); in SelectT2IndexedLoad()
1458 const SDValue Ops[] = { RegClass, V0, SubReg0, V1, SubReg1 }; in PairSRegs() local
1459 return CurDAG->getMachineNode(TargetOpcode::REG_SEQUENCE, dl, VT, Ops, 5); in PairSRegs()
1469 const SDValue Ops[] = { RegClass, V0, SubReg0, V1, SubReg1 }; in PairDRegs() local
1470 return CurDAG->getMachineNode(TargetOpcode::REG_SEQUENCE, dl, VT, Ops, 5); in PairDRegs()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86GenDAGISel.inc33 0/*#VTs*/, 6/*#Ops*/, 3, 4, 5, 6, 7, 1,
38 0/*#VTs*/, 6/*#Ops*/, 3, 4, 5, 6, 7, 1,
47 0/*#VTs*/, 6/*#Ops*/, 3, 4, 5, 6, 7, 1,
55 0/*#VTs*/, 6/*#Ops*/, 3, 4, 5, 6, 7, 1,
69 0/*#VTs*/, 6/*#Ops*/, 3, 4, 5, 6, 7, 1,
74 0/*#VTs*/, 6/*#Ops*/, 3, 4, 5, 6, 7, 1,
84 0/*#VTs*/, 6/*#Ops*/, 3, 4, 5, 6, 7, 1,
89 0/*#VTs*/, 6/*#Ops*/, 3, 4, 5, 6, 7, 1,
103 0/*#VTs*/, 6/*#Ops*/, 3, 4, 5, 6, 7, 1,
111 0/*#VTs*/, 6/*#Ops*/, 3, 4, 5, 6, 7, 1,
[all …]
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVInstruction.cpp118 SPIRVInstruction::getOperandTypes(const std::vector<SPIRVValue *> &Ops) { in getOperandTypes() argument
120 for (auto& I : Ops) { in getOperandTypes()
210 auto Ops = Inst->getIds(Inst->getOperands()); in createSpecConstantOpInst() local
211 Ops.insert(Ops.begin(), OC); in createSpecConstantOpInst()
214 Inst->getId(), Ops, nullptr, Inst->getModule())); in createSpecConstantOpInst()
221 auto Ops = Inst->getOpWords(); in createInstFromSpecConstantOp() local
222 auto OC = static_cast<Op>(Ops[0]); in createInstFromSpecConstantOp()
225 Ops.erase(Ops.begin(), Ops.begin() + 1); in createInstFromSpecConstantOp()
227 Inst->getId(), Ops, nullptr, Inst->getModule()); in createInstFromSpecConstantOp()
/external/llvm/lib/Target/XCore/
DXCoreISelDAGToDAG.cpp164 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select() local
167 MVT::i32, Ops)); in Select()
171 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select() local
174 MVT::i32, Ops)); in Select()
178 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select() local
181 MVT::i32, Ops)); in Select()
185 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select() local
188 MVT::i32, Ops)); in Select()
192 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select() local
195 MVT::i32, Ops)); in Select()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/XCore/
DXCoreISelDAGToDAG.cpp184 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select() local
187 Ops, 3); in Select()
190 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select() local
193 Ops, 3); in Select()
196 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select() local
199 Ops, 4); in Select()
202 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select() local
205 Ops, 4); in Select()
208 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select() local
211 Ops, 4); in Select()
[all …]
/external/swiftshader/third_party/LLVM/lib/VMCore/
DIRBuilder.cpp55 static CallInst *createCallHelper(Value *Callee, ArrayRef<Value *> Ops, in createCallHelper() argument
57 CallInst *CI = CallInst::Create(Callee, Ops, ""); in createCallHelper()
67 Value *Ops[] = { Ptr, Val, Size, getInt32(Align), getInt1(isVolatile) }; in CreateMemSet() local
72 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemSet()
87 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) }; in CreateMemCpy() local
92 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemCpy()
107 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) }; in CreateMemMove() local
112 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemMove()
130 Value *Ops[] = { Size, Ptr }; in CreateLifetimeStart() local
133 return createCallHelper(TheFn, Ops, this); in CreateLifetimeStart()
[all …]
/external/llvm/lib/Analysis/
DScalarEvolution.cpp635 static void GroupByComplexity(SmallVectorImpl<const SCEV *> &Ops, in GroupByComplexity() argument
637 if (Ops.size() < 2) return; // Noop in GroupByComplexity()
638 if (Ops.size() == 2) { in GroupByComplexity()
641 const SCEV *&LHS = Ops[0], *&RHS = Ops[1]; in GroupByComplexity()
648 std::stable_sort(Ops.begin(), Ops.end(), SCEVComplexityCompare(LI)); in GroupByComplexity()
654 for (unsigned i = 0, e = Ops.size(); i != e-2; ++i) { in GroupByComplexity()
655 const SCEV *S = Ops[i]; in GroupByComplexity()
660 for (unsigned j = i+1; j != e && Ops[j]->getSCEVType() == Complexity; ++j) { in GroupByComplexity()
661 if (Ops[j] == S) { // Found a duplicate. in GroupByComplexity()
663 std::swap(Ops[i+1], Ops[j]); in GroupByComplexity()
[all …]
/external/llvm/lib/Target/AArch64/Utils/
DAArch64BaseInfo.cpp89 SmallVector<StringRef, 5> Ops; in parseGenericRegister() local
90 if (!GenericRegPattern.match(UpperName, &Ops)) in parseGenericRegister()
95 Ops[1].getAsInteger(10, Op0); in parseGenericRegister()
96 Ops[2].getAsInteger(10, Op1); in parseGenericRegister()
97 Ops[3].getAsInteger(10, CRn); in parseGenericRegister()
98 Ops[4].getAsInteger(10, CRm); in parseGenericRegister()
99 Ops[5].getAsInteger(10, Op2); in parseGenericRegister()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DSelectionDAGNodes.h677 SDNode(unsigned Opc, const DebugLoc dl, SDVTList VTs, const SDValue *Ops,
687 OperandList[i].setInitial(Ops[i]);
701 void InitOperands(SDUse *Ops, const SDValue &Op0) {
702 Ops[0].setUser(this);
703 Ops[0].setInitial(Op0);
705 OperandList = Ops;
710 void InitOperands(SDUse *Ops, const SDValue &Op0, const SDValue &Op1) {
711 Ops[0].setUser(this);
712 Ops[0].setInitial(Op0);
713 Ops[1].setUser(this);
[all …]
DSelectionDAG.h410 SDValue Ops[] = { Chain, getRegister(Reg, N.getValueType()), N, Glue };
411 return getNode(ISD::CopyToReg, dl, VTs, Ops, Glue.getNode() ? 4 : 3);
418 SDValue Ops[] = { Chain, Reg, N, Glue };
419 return getNode(ISD::CopyToReg, dl, VTs, Ops, Glue.getNode() ? 4 : 3);
424 SDValue Ops[] = { Chain, getRegister(Reg, VT) };
425 return getNode(ISD::CopyFromReg, dl, VTs, Ops, 2);
434 SDValue Ops[] = { Chain, getRegister(Reg, VT), Glue };
435 return getNode(ISD::CopyFromReg, dl, VTs, Ops, Glue.getNode() ? 3 : 2);
477 SDValue Ops[] = { Chain, Op };
478 return getNode(ISD::CALLSEQ_START, DebugLoc(), VTs, Ops, 2);
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.cpp42 static void pushStackMapConstant(SmallVectorImpl<SDValue>& Ops, in pushStackMapConstant() argument
45 Ops.push_back(Builder.DAG.getTargetConstant(StackMaps::ConstantOp, L, in pushStackMapConstant()
47 Ops.push_back(Builder.DAG.getTargetConstant(Value, L, MVT::i64)); in pushStackMapConstant()
375 SmallVectorImpl<SDValue> &Ops, in lowerIncomingStatepointValue() argument
386 pushStackMapConstant(Ops, Builder, C->getSExtValue()); in lowerIncomingStatepointValue()
391 Ops.push_back(Builder.DAG.getTargetFrameIndex(FI->getIndex(), in lowerIncomingStatepointValue()
401 Ops.push_back(Res.first); in lowerIncomingStatepointValue()
416 lowerStatepointMetaArgs(SmallVectorImpl<SDValue> &Ops, in lowerStatepointMetaArgs() argument
466 pushStackMapConstant(Ops, Builder, NumVMSArgs); in lowerStatepointMetaArgs()
472 lowerIncomingStatepointValue(Incoming, Ops, Builder); in lowerStatepointMetaArgs()
[all …]
/external/llvm/include/llvm/CodeGen/
DSelectionDAG.h289 SDUse *Ops = OperandRecycler.allocate(
293 Ops[I].setUser(Node);
294 Ops[I].setInitial(Vals[I]);
297 Node->OperandList = Ops;
594 SDValue Ops[] = { Chain, getRegister(Reg, N.getValueType()), N, Glue };
596 makeArrayRef(Ops, Glue.getNode() ? 4 : 3));
603 SDValue Ops[] = { Chain, Reg, N, Glue };
605 makeArrayRef(Ops, Glue.getNode() ? 4 : 3));
610 SDValue Ops[] = { Chain, getRegister(Reg, VT) };
611 return getNode(ISD::CopyFromReg, dl, VTs, Ops);
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DScalarEvolution.h564 const SCEV *getAddExpr(SmallVectorImpl<const SCEV *> &Ops,
568 SmallVector<const SCEV *, 2> Ops;
569 Ops.push_back(LHS);
570 Ops.push_back(RHS);
571 return getAddExpr(Ops, Flags);
575 SmallVector<const SCEV *, 3> Ops;
576 Ops.push_back(Op0);
577 Ops.push_back(Op1);
578 Ops.push_back(Op2);
579 return getAddExpr(Ops, Flags);
[all …]

12345678910>>...14