Home
last modified time | relevance | path

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

1234567

/external/llvm/lib/Target/NVPTX/
DNVPTXISelDAGToDAG.cpp749 SDValue Ops[] = { getI32Imm(isVolatile, dl), getI32Imm(codeAddrSpace, dl), in SelectLoad() local
752 NVPTXLD = CurDAG->getMachineNode(Opcode, dl, TargetVT, MVT::Other, Ops); in SelectLoad()
777 SDValue Ops[] = { getI32Imm(isVolatile, dl), getI32Imm(codeAddrSpace, dl), in SelectLoad() local
780 NVPTXLD = CurDAG->getMachineNode(Opcode, dl, TargetVT, MVT::Other, Ops); in SelectLoad()
830 SDValue Ops[] = { getI32Imm(isVolatile, dl), getI32Imm(codeAddrSpace, dl), in SelectLoad() local
833 NVPTXLD = CurDAG->getMachineNode(Opcode, dl, TargetVT, MVT::Other, Ops); in SelectLoad()
882 SDValue Ops[] = { getI32Imm(isVolatile, dl), getI32Imm(codeAddrSpace, dl), in SelectLoad() local
885 NVPTXLD = CurDAG->getMachineNode(Opcode, dl, TargetVT, MVT::Other, Ops); in SelectLoad()
1012 SDValue Ops[] = { getI32Imm(IsVolatile, DL), getI32Imm(CodeAddrSpace, DL), in SelectLoadVector() local
1015 LD = CurDAG->getMachineNode(Opcode, DL, N->getVTList(), Ops); in SelectLoadVector()
[all …]
/external/clang/lib/CodeGen/
DCGBuiltin.cpp2163 Value *CodeGenFunction::EmitNeonCall(Function *F, SmallVectorImpl<Value*> &Ops, in EmitNeonCall() argument
2170 Ops[j] = EmitNeonShiftVector(Ops[j], ai->getType(), rightshift); in EmitNeonCall()
2172 Ops[j] = Builder.CreateBitCast(Ops[j], ai->getType(), name); in EmitNeonCall()
2174 return Builder.CreateCall(F, Ops, name); in EmitNeonCall()
2864 SmallVectorImpl<Value *> &Ops, in EmitCommonNeonSISDBuiltinExpr() argument
2887 std::swap(Ops[0], Ops[1]); in EmitCommonNeonSISDBuiltinExpr()
2903 if (Ops[j]->getType()->getPrimitiveSizeInBits() == in EmitCommonNeonSISDBuiltinExpr()
2907 assert(ArgTy->isVectorTy() && !Ops[j]->getType()->isVectorTy()); in EmitCommonNeonSISDBuiltinExpr()
2910 Ops[j] = in EmitCommonNeonSISDBuiltinExpr()
2911 CGF.Builder.CreateTruncOrBitCast(Ops[j], ArgTy->getVectorElementType()); in EmitCommonNeonSISDBuiltinExpr()
[all …]
DCGExprScalar.cpp450 Value *EmitMul(const BinOpInfo &Ops) { in EmitMul() argument
451 if (Ops.Ty->isSignedIntegerOrEnumerationType()) { in EmitMul()
454 return Builder.CreateMul(Ops.LHS, Ops.RHS, "mul"); in EmitMul()
457 return Builder.CreateNSWMul(Ops.LHS, Ops.RHS, "mul"); in EmitMul()
460 return EmitOverflowCheckedBinOp(Ops); in EmitMul()
464 if (Ops.Ty->isUnsignedIntegerType() && in EmitMul()
466 return EmitOverflowCheckedBinOp(Ops); in EmitMul()
468 if (Ops.LHS->getType()->isFPOrFPVectorTy()) in EmitMul()
469 return Builder.CreateFMul(Ops.LHS, Ops.RHS, "mul"); in EmitMul()
470 return Builder.CreateMul(Ops.LHS, Ops.RHS, "mul"); in EmitMul()
[all …]
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp66 static void PrintOps(Instruction *I, const SmallVectorImpl<ValueEntry> &Ops) { in PrintOps() argument
69 << *Ops[0].Op->getType() << '\t'; in PrintOps()
70 for (unsigned i = 0, e = Ops.size(); i != e; ++i) { in PrintOps()
72 Ops[i].Op->printAsOperand(dbgs(), false, M); in PrintOps()
73 dbgs() << ", #" << Ops[i].Rank << "] "; in PrintOps()
170 void RewriteExprTree(BinaryOperator *I, SmallVectorImpl<ValueEntry> &Ops);
172 SmallVectorImpl<ValueEntry> &Ops);
173 Value *OptimizeAdd(Instruction *I, SmallVectorImpl<ValueEntry> &Ops);
174 Value *OptimizeXor(Instruction *I, SmallVectorImpl<ValueEntry> &Ops);
179 bool collectMultiplyFactors(SmallVectorImpl<ValueEntry> &Ops,
[all …]
DFloat2Int.cpp264 Op = [](ArrayRef<ConstantRange> Ops) { in walkForwards() argument
265 assert(Ops.size() == 2 && "FAdd is a binary operator!"); in walkForwards()
266 return Ops[0].add(Ops[1]); in walkForwards()
271 Op = [](ArrayRef<ConstantRange> Ops) { in walkForwards() argument
272 assert(Ops.size() == 2 && "FSub is a binary operator!"); in walkForwards()
273 return Ops[0].sub(Ops[1]); in walkForwards()
278 Op = [](ArrayRef<ConstantRange> Ops) { in walkForwards() argument
279 assert(Ops.size() == 2 && "FMul is a binary operator!"); in walkForwards()
280 return Ops[0].multiply(Ops[1]); in walkForwards()
290 Op = [](ArrayRef<ConstantRange> Ops) { in walkForwards() argument
[all …]
/external/llvm/lib/IR/
DDebugInfoMetadata.cpp60 SmallVector<Metadata *, 2> Ops; in getImpl() local
61 Ops.push_back(Scope); in getImpl()
63 Ops.push_back(InlinedAt); in getImpl()
64 return storeImpl(new (Ops.size()) in getImpl()
65 DILocation(Context, Storage, Line, Column, Ops), in getImpl()
242 Metadata *Ops[] = {Name}; in getImpl() local
243 DEFINE_GETIMPL_STORE(DIEnumerator, (Value), Ops); in getImpl()
253 Metadata *Ops[] = {nullptr, nullptr, Name}; in getImpl() local
255 Ops); in getImpl()
267 Metadata *Ops[] = {File, Scope, Name, BaseType, ExtraData}; in getImpl() local
[all …]
DConstantsContext.h452 ArrayRef<Constant *> Ops;
456 ConstantExprKeyType(unsigned Opcode, ArrayRef<Constant *> Ops,
462 SubclassData(SubclassData), Ops(Ops), Indexes(Indexes),
467 SubclassData(CE->isCompare() ? CE->getPredicate() : 0), Ops(Operands),
478 Ops = Storage;
483 SubclassOptionalData == X.SubclassOptionalData && Ops == X.Ops &&
492 if (Ops.size() != CE->getNumOperands())
496 for (unsigned I = 0, E = Ops.size(); I != E; ++I)
497 if (Ops[I] != CE->getOperand(I))
506 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/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()
DARMUnwindOpAsm.cpp162 size_t TotalSize = Ops.size() + 1; in Finalize()
169 PersonalityIndex = (Ops.size() <= 3) ? ARM::EHABI::AEABI_UNWIND_CPP_PR0 in Finalize()
173 assert(Ops.size() <= 3 && "too many opcodes for __aeabi_unwind_cpp_pr0"); in Finalize()
178 size_t TotalSize = Ops.size() + 2; in Finalize()
189 OpStreamer.EmitByte(Ops[j]); in Finalize()
/external/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp1526 SDValue Ops[]= { Base, AMOpc, getAL(CurDAG, SDLoc(N)), in SelectARMIndexedLoad() local
1529 MVT::i32, MVT::Other, Ops); in SelectARMIndexedLoad()
1533 SDValue Ops[]= { Base, Offset, AMOpc, getAL(CurDAG, SDLoc(N)), in SelectARMIndexedLoad() local
1536 MVT::i32, MVT::Other, Ops); in SelectARMIndexedLoad()
1582 SDValue Ops[]= { Base, Offset, getAL(CurDAG, SDLoc(N)), in SelectT2IndexedLoad() local
1585 MVT::Other, Ops); in SelectT2IndexedLoad()
1598 const SDValue Ops[] = { RegClass, V0, SubReg0, V1, SubReg1 }; in createGPRPairNode() local
1599 return CurDAG->getMachineNode(TargetOpcode::REG_SEQUENCE, dl, VT, Ops); in createGPRPairNode()
1609 const SDValue Ops[] = { RegClass, V0, SubReg0, V1, SubReg1 }; in createSRegPairNode() local
1610 return CurDAG->getMachineNode(TargetOpcode::REG_SEQUENCE, dl, VT, Ops); in createSRegPairNode()
[all …]
/external/llvm/lib/Target/XCore/
DXCoreISelDAGToDAG.cpp163 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select() local
166 Ops); in Select()
169 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select() local
172 Ops); in Select()
175 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select() local
178 Ops); in Select()
181 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select() local
184 Ops); in Select()
187 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select() local
190 Ops); in Select()
[all …]
/external/llvm/lib/Analysis/
DScalarEvolution.cpp633 static void GroupByComplexity(SmallVectorImpl<const SCEV *> &Ops, in GroupByComplexity() argument
635 if (Ops.size() < 2) return; // Noop in GroupByComplexity()
636 if (Ops.size() == 2) { in GroupByComplexity()
639 const SCEV *&LHS = Ops[0], *&RHS = Ops[1]; in GroupByComplexity()
646 std::stable_sort(Ops.begin(), Ops.end(), SCEVComplexityCompare(LI)); in GroupByComplexity()
652 for (unsigned i = 0, e = Ops.size(); i != e-2; ++i) { in GroupByComplexity()
653 const SCEV *S = Ops[i]; in GroupByComplexity()
658 for (unsigned j = i+1; j != e && Ops[j]->getSCEVType() == Complexity; ++j) { in GroupByComplexity()
659 if (Ops[j] == S) { // Found a duplicate. in GroupByComplexity()
661 std::swap(Ops[i+1], Ops[j]); in GroupByComplexity()
[all …]
DConstantFolding.cpp107 Constant *Ops = C; // don't take the address of C! in FoldBitCast() local
108 return FoldBitCast(ConstantVector::get(Ops), DestTy, DL); in FoldBitCast()
677 static Constant *CastGEPIndices(Type *SrcTy, ArrayRef<Constant *> Ops, in CastGEPIndices() argument
684 for (unsigned i = 1, e = Ops.size(); i != e; ++i) { in CastGEPIndices()
687 cast<PointerType>(Ops[0]->getType()->getScalarType()) in CastGEPIndices()
689 Ops.slice(1, i - 1)))) && in CastGEPIndices()
690 Ops[i]->getType() != IntPtrTy) { in CastGEPIndices()
692 NewIdxs.push_back(ConstantExpr::getCast(CastInst::getCastOpcode(Ops[i], in CastGEPIndices()
696 Ops[i], IntPtrTy)); in CastGEPIndices()
698 NewIdxs.push_back(Ops[i]); in CastGEPIndices()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.cpp41 static void pushStackMapConstant(SmallVectorImpl<SDValue>& Ops, in pushStackMapConstant() argument
44 Ops.push_back(Builder.DAG.getTargetConstant(StackMaps::ConstantOp, L, in pushStackMapConstant()
46 Ops.push_back(Builder.DAG.getTargetConstant(Value, L, MVT::i64)); in pushStackMapConstant()
454 SmallVectorImpl<SDValue> &Ops, in lowerIncomingStatepointValue() argument
463 pushStackMapConstant(Ops, Builder, C->getSExtValue()); in lowerIncomingStatepointValue()
468 Ops.push_back(Builder.DAG.getTargetFrameIndex(FI->getIndex(), in lowerIncomingStatepointValue()
479 Ops.push_back(Res.first); in lowerIncomingStatepointValue()
493 static void lowerStatepointMetaArgs(SmallVectorImpl<SDValue> &Ops, in lowerStatepointMetaArgs() argument
550 pushStackMapConstant(Ops, Builder, NumVMSArgs); in lowerStatepointMetaArgs()
563 lowerIncomingStatepointValue(Incoming, Ops, Builder); in lowerStatepointMetaArgs()
[all …]
DSelectionDAG.cpp363 ArrayRef<SDValue> Ops) { in AddNodeIDOperands() argument
364 for (auto& Op : Ops) { in AddNodeIDOperands()
373 ArrayRef<SDUse> Ops) { in AddNodeIDOperands() argument
374 for (auto& Op : Ops) { in AddNodeIDOperands()
849 SDValue Ops[] = { Op }; in FindModifiedNodeSlot() local
851 AddNodeIDNode(ID, N->getOpcode(), N->getVTList(), Ops); in FindModifiedNodeSlot()
867 SDValue Ops[] = { Op1, Op2 }; in FindModifiedNodeSlot() local
869 AddNodeIDNode(ID, N->getOpcode(), N->getVTList(), Ops); in FindModifiedNodeSlot()
880 SDNode *SelectionDAG::FindModifiedNodeSlot(SDNode *N, ArrayRef<SDValue> Ops, in FindModifiedNodeSlot() argument
886 AddNodeIDNode(ID, N->getOpcode(), N->getVTList(), Ops); in FindModifiedNodeSlot()
[all …]
DLegalizeVectorTypes.cpp503 SmallVector<SDValue, 8> Ops(N->getNumOperands()); in ScalarizeVecOp_CONCAT_VECTORS() local
505 Ops[i] = GetScalarizedVector(N->getOperand(i)); in ScalarizeVecOp_CONCAT_VECTORS()
506 return DAG.getNode(ISD::BUILD_VECTOR, SDLoc(N), N->getValueType(0), Ops); in ScalarizeVecOp_CONCAT_VECTORS()
1276 SmallVector<int, 16> Ops; in SplitVecRes_VECTOR_SHUFFLE() local
1296 Ops.push_back(-1); in SplitVecRes_VECTOR_SHUFFLE()
1324 Ops.push_back(Idx + OpNo * NewElts); in SplitVecRes_VECTOR_SHUFFLE()
1365 Output = DAG.getVectorShuffle(NewVT, dl, Op0, Op1, &Ops[0]); in SplitVecRes_VECTOR_SHUFFLE()
1368 Ops.clear(); in SplitVecRes_VECTOR_SHUFFLE()
2314 SmallVector<SDValue, 16> Ops(NumConcat); in WidenVecRes_Convert() local
2315 Ops[0] = InOp; in WidenVecRes_Convert()
[all …]
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h777 ArrayRef<SDValue> Ops)
780 OperandList(Ops.size() ? new SDUse[Ops.size()] : nullptr),
781 ValueList(VTs.VTs), UseList(nullptr), NumOperands(Ops.size()),
784 assert(NumOperands == Ops.size() &&
788 for (unsigned i = 0; i != Ops.size(); ++i) {
791 OperandList[i].setInitial(Ops[i]);
809 void InitOperands(SDUse *Ops, const SDValue &Op0) {
810 Ops[0].setUser(this);
811 Ops[0].setInitial(Op0);
813 OperandList = Ops;
[all …]
DSelectionDAG.h534 SDValue Ops[] = { Chain, getRegister(Reg, N.getValueType()), N, Glue };
536 makeArrayRef(Ops, Glue.getNode() ? 4 : 3));
543 SDValue Ops[] = { Chain, Reg, N, Glue };
545 makeArrayRef(Ops, Glue.getNode() ? 4 : 3));
550 SDValue Ops[] = { Chain, getRegister(Reg, VT) };
551 return getNode(ISD::CopyFromReg, dl, VTs, Ops);
560 SDValue Ops[] = { Chain, getRegister(Reg, VT), Glue };
562 makeArrayRef(Ops, Glue.getNode() ? 3 : 2));
640 SDValue Ops[] = { Chain, Op };
641 return getNode(ISD::CALLSEQ_START, DL, VTs, Ops);
[all …]
/external/clang/test/CodeGenCXX/
Dmangle.cpp274 struct Ops { struct
275 Ops& operator+(const Ops&);
276 Ops& operator-(const Ops&);
277 Ops& operator&(const Ops&);
278 Ops& operator*(const Ops&);
284 Ops& Ops::operator+(const Ops&) { return *this; } in operator +() argument
286 Ops& Ops::operator-(const Ops&) { return *this; } in operator -() argument
288 Ops& Ops::operator&(const Ops&) { return *this; } in operator &() argument
290 Ops& Ops::operator*(const Ops&) { return *this; } in operator *() argument
/external/llvm/lib/CodeGen/
DIntrinsicLowering.cpp477 Value *Ops[3]; in LowerIntrinsicCall() local
478 Ops[0] = CI->getArgOperand(0); in LowerIntrinsicCall()
479 Ops[1] = CI->getArgOperand(1); in LowerIntrinsicCall()
480 Ops[2] = Size; in LowerIntrinsicCall()
481 ReplaceCallWith("memcpy", CI, Ops, Ops+3, CI->getArgOperand(0)->getType()); in LowerIntrinsicCall()
488 Value *Ops[3]; in LowerIntrinsicCall() local
489 Ops[0] = CI->getArgOperand(0); in LowerIntrinsicCall()
490 Ops[1] = CI->getArgOperand(1); in LowerIntrinsicCall()
491 Ops[2] = Size; in LowerIntrinsicCall()
492 ReplaceCallWith("memmove", CI, Ops, Ops+3, CI->getArgOperand(0)->getType()); in LowerIntrinsicCall()
[all …]
DInlineSpiller.cpp860 SmallVector<std::pair<MachineInstr *, unsigned>, 8> Ops; in reMaterializeFor() local
862 MIBundleOperands(MI).analyzeVirtReg(VirtReg.reg, &Ops); in reMaterializeFor()
906 foldMemoryOperand(Ops, RM.OrigMI)) { in reMaterializeFor()
923 for (unsigned i = 0, e = Ops.size(); i != e; ++i) { in reMaterializeFor()
924 MachineOperand &MO = Ops[i].first->getOperand(Ops[i].second); in reMaterializeFor()
1082 foldMemoryOperand(ArrayRef<std::pair<MachineInstr*, unsigned> > Ops, in foldMemoryOperand() argument
1084 if (Ops.empty()) in foldMemoryOperand()
1087 MachineInstr *MI = Ops.front().first; in foldMemoryOperand()
1088 if (Ops.back().first != MI || MI->isBundled()) in foldMemoryOperand()
1101 for (unsigned i = 0, e = Ops.size(); i != e; ++i) { in foldMemoryOperand()
[all …]
/external/llvm/include/llvm/IR/
DDebugInfoMetadata.h364 ArrayRef<Metadata *> Ops)
365 : DINode(C, DIEnumeratorKind, Storage, dwarf::DW_TAG_enumerator, Ops),
410 ArrayRef<Metadata *> Ops)
411 : DINode(C, ID, Storage, Tag, Ops) {}
464 DIFile(LLVMContext &C, StorageType Storage, ArrayRef<Metadata *> Ops)
465 : DIScope(C, DIFileKind, Storage, dwarf::DW_TAG_file_type, Ops) {}
529 uint64_t OffsetInBits, unsigned Flags, ArrayRef<Metadata *> Ops)
530 : DIScope(C, ID, Storage, Tag, Ops), Line(Line), Flags(Flags),
609 ArrayRef<Metadata *> Ops)
611 0, Ops),
[all …]
/external/skia/site/dev/present/
Dpathops.md1 Path Ops
6 2013 Path Ops Presentation
27 ## [Path Ops Inverse Fill Illustration](https://drive.google.com/file/d/0BwoLUwz9PYkHLWpsaXd0UDdaN0…
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp587 SDValue Ops[] = { Op0, Op1, getI32Imm(SH, dl), getI32Imm(MB, dl), in SelectBitfieldInsert() local
589 return CurDAG->getMachineNode(PPC::RLWIMI, dl, MVT::i32, Ops); in SelectBitfieldInsert()
1329 SDValue Ops[] = in SelectAndParts32() local
1333 Ops), 0); in SelectAndParts32()
1386 SDValue Ops[] = in Select32() local
1389 Res = SDValue(CurDAG->getMachineNode(PPC::RLWINM, dl, MVT::i32, Ops), in Select32()
1406 SDValue Ops[] = in Select32() local
1410 Res = SDValue(CurDAG->getMachineNode(PPC::RLWINM, dl, MVT::i32, Ops), 0); in Select32()
1412 SDValue Ops[] = in Select32() local
1416 Res = SDValue(CurDAG->getMachineNode(PPC::RLWIMI, dl, MVT::i32, Ops), 0); in Select32()
[all …]

1234567