Searched defs:Op (Results 101 - 125 of 519) sorted by relevance

1234567891011>>

/external/llvm/lib/Target/NVPTX/
H A DNVPTXInferAddressSpaces.cpp81 // instruction `I` to a new address space, if its operand `Op` is not converted
180 const Operator& Op = cast<Operator>(V); local
181 switch (Op.getOpcode()) {
183 auto IncomingValues = cast<PHINode>(Op).incoming_values();
190 return {Op.getOperand(0)};
/external/llvm/lib/Target/PowerPC/InstPrinter/
H A DPPCInstPrinter.cpp401 const MCOperand &Op = MI->getOperand(OpNo); local
402 const MCSymbolRefExpr &refExp = cast<MCSymbolRefExpr>(*Op.getExpr());
434 const MCOperand &Op = MI->getOperand(OpNo); local
435 if (Op.isReg()) {
436 const char *RegName = getRegisterName(Op.getReg());
445 if (Op.isImm()) {
446 O << Op.getImm();
450 assert(Op.isExpr() && "unknown operand kind in printOperand");
451 Op.getExpr()->print(O, &MAI);
/external/llvm/lib/Target/Sparc/
H A DSparcISelDAGToDAG.cpp52 bool SelectInlineAsmMemoryOperand(const SDValue &Op,
388 SparcDAGToDAGISel::SelectInlineAsmMemoryOperand(const SDValue &Op, argument
397 if (!SelectADDRrr(Op, Op0, Op1))
398 SelectADDRri(Op, Op0, Op1);
/external/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp331 BinaryOperator *Op = LogicOpsWorklist.back(); local
335 if (ConvertedInsts.count(dyn_cast<Instruction>(Op->getOperand(0))) &&
336 ConvertedInsts.count(dyn_cast<Instruction>(Op->getOperand(1))) &&
337 !ConvertedInsts.count(Op))
338 convertLogicOp(*Op);
/external/llvm/lib/Target/X86/
H A DX86AsmPrinter.cpp229 unsigned Op, raw_ostream &O,
231 const MachineOperand &BaseReg = MI->getOperand(Op+X86::AddrBaseReg);
232 const MachineOperand &IndexReg = MI->getOperand(Op+X86::AddrIndexReg);
233 const MachineOperand &DispSpec = MI->getOperand(Op+X86::AddrDisp);
267 printOperand(P, MI, Op+X86::AddrBaseReg, O, Modifier);
271 printOperand(P, MI, Op+X86::AddrIndexReg, O, Modifier);
272 unsigned ScaleVal = MI->getOperand(Op+X86::AddrScaleAmt).getImm();
281 unsigned Op, raw_ostream &O,
283 assert(isMem(*MI, Op) && "Invalid memory reference!");
284 const MachineOperand &Segment = MI->getOperand(Op
228 printLeaMemReference(X86AsmPrinter &P, const MachineInstr *MI, unsigned Op, raw_ostream &O, const char *Modifier = nullptr) argument
280 printMemReference(X86AsmPrinter &P, const MachineInstr *MI, unsigned Op, raw_ostream &O, const char *Modifier = nullptr) argument
292 printIntelMemReference(X86AsmPrinter &P, const MachineInstr *MI, unsigned Op, raw_ostream &O, const char *Modifier = nullptr, unsigned AsmVariant = 1) argument
[all...]
H A DX86ExpandPseudo.cpp109 unsigned Op = (Opcode == X86::TCRETURNdi) local
112 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, DL, TII->get(Op));
122 unsigned Op = (Opcode == X86::TCRETURNmi) local
125 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, DL, TII->get(Op));
H A DX86InstrBuilder.h91 MachineOperand &Op = MI->getOperand(Operand); local
92 if (Op.isReg()) {
94 AM.Base.Reg = Op.getReg();
97 AM.Base.FrameIndex = Op.getIndex();
99 Op = MI->getOperand(Operand + 1);
100 if (Op.isImm())
101 AM.Scale = Op.getImm();
102 Op = MI->getOperand(Operand + 2);
103 if (Op.isImm())
104 AM.IndexReg = Op
[all...]
H A DX86InstrInfo.h121 inline static bool isLeaMem(const MachineInstr &MI, unsigned Op) { argument
122 if (MI.getOperand(Op).isFI())
124 return Op + X86::AddrSegmentReg <= MI.getNumOperands() &&
125 MI.getOperand(Op + X86::AddrBaseReg).isReg() &&
126 isScale(MI.getOperand(Op + X86::AddrScaleAmt)) &&
127 MI.getOperand(Op + X86::AddrIndexReg).isReg() &&
128 (MI.getOperand(Op + X86::AddrDisp).isImm() ||
129 MI.getOperand(Op + X86::AddrDisp).isGlobal() ||
130 MI.getOperand(Op + X86::AddrDisp).isCPI() ||
131 MI.getOperand(Op
134 isMem(const MachineInstr &MI, unsigned Op) argument
[all...]
/external/llvm/lib/Target/XCore/
H A DXCoreISelDAGToDAG.cpp67 bool SelectInlineAsmMemoryOperand(const SDValue &Op, unsigned ConstraintID,
111 SelectInlineAsmMemoryOperand(const SDValue &Op, unsigned ConstraintID, argument
117 switch (Op.getOpcode()) {
128 OutOps.push_back(Op.getOperand(0));
/external/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp243 std::function<ConstantRange(ArrayRef<ConstantRange>)> Op; local
252 Op = [](ArrayRef<ConstantRange> Ops) {
259 Op = [](ArrayRef<ConstantRange> Ops) {
266 Op = [](ArrayRef<ConstantRange> Ops) {
278 Op = [](ArrayRef<ConstantRange> Ops) {
285 Op = [](ArrayRef<ConstantRange> Ops) {
343 seen(I, Op(OpRanges));
/external/llvm/utils/PerfectShuffle/
H A DPerfectShuffle.cpp88 Operator *Op; // The Operation used to generate this value. member in struct:ShuffleVal
147 static const char *getZeroCostOpName(unsigned short Op) { argument
148 if (ShufTab[Op].Arg0 == 0x0123)
150 else if (ShufTab[Op].Arg0 == 0x4567)
162 std::cerr << " = " << ShufTab[ThisOp].Op->getName() << "(";
176 if (!ShufTab[Vals[ValNo]].Op->isOnlyLHSOperator()) {
222 ShufTab[0x0123].Op = nullptr;
225 ShufTab[0x4567].Op = nullptr;
304 Operator *Op = TheOperators[opnum];
307 unsigned ResultMask = Op
[all...]
/external/skia/include/core/
H A DSkRegion.h241 enum Op { enum in class:SkRegion
256 * Set this region to the result of applying the Op to this region and the
260 bool op(const SkIRect& rect, Op op) {
271 * Set this region to the result of applying the Op to this region and the
275 bool op(int left, int top, int right, int bottom, Op op) {
282 * Set this region to the result of applying the Op to this region and the
286 bool op(const SkRegion& rgn, Op op) { return this->op(*this, rgn, op); }
289 * Set this region to the result of applying the Op to the specified
293 bool op(const SkIRect& rect, const SkRegion& rgn, Op);
296 * Set this region to the result of applying the Op t
[all...]
/external/skia/include/private/
H A DGrAuditTrail.h107 struct Op { struct in struct:GrAuditTrail::OpInfo
114 SkTArray<Op> fOps;
126 struct Op { struct in class:GrAuditTrail
135 typedef SkTArray<std::unique_ptr<Op>, true> OpPool;
137 typedef SkTArray<Op*> Ops;
/external/skia/samplecode/
H A DSampleCCPRGeometry.cpp56 class Op;
75 class CCPRGeometryView::Op : public GrDrawOp { class in class:CCPRGeometryView
79 Op(CCPRGeometryView* view) : INHERITED(ClassID()), fView(view) { function in class:CCPRGeometryView::Op
83 const char* name() const override { return "[Testing/Sample code] CCPRGeometryView::Op"; }
160 rtc->priv().testingOnly_addDrawOp(skstd::make_unique<Op>(this));
245 void CCPRGeometryView::Op::onExecute(GrOpFlushState* state) {
/external/skia/src/pathops/
H A DSkPathOpsOp.cpp322 bool Op(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result) { function
/external/skqp/include/core/
H A DSkRegion.h241 enum Op { enum in class:SkRegion
256 * Set this region to the result of applying the Op to this region and the
260 bool op(const SkIRect& rect, Op op) {
271 * Set this region to the result of applying the Op to this region and the
275 bool op(int left, int top, int right, int bottom, Op op) {
282 * Set this region to the result of applying the Op to this region and the
286 bool op(const SkRegion& rgn, Op op) { return this->op(*this, rgn, op); }
289 * Set this region to the result of applying the Op to the specified
293 bool op(const SkIRect& rect, const SkRegion& rgn, Op);
296 * Set this region to the result of applying the Op t
[all...]
/external/skqp/include/private/
H A DGrAuditTrail.h107 struct Op { struct in struct:GrAuditTrail::OpInfo
114 SkTArray<Op> fOps;
126 struct Op { struct in class:GrAuditTrail
135 typedef SkTArray<std::unique_ptr<Op>, true> OpPool;
137 typedef SkTArray<Op*> Ops;
/external/skqp/samplecode/
H A DSampleCCPRGeometry.cpp56 class Op;
75 class CCPRGeometryView::Op : public GrDrawOp { class in class:CCPRGeometryView
79 Op(CCPRGeometryView* view) : INHERITED(ClassID()), fView(view) { function in class:CCPRGeometryView::Op
83 const char* name() const override { return "[Testing/Sample code] CCPRGeometryView::Op"; }
160 rtc->priv().testingOnly_addDrawOp(skstd::make_unique<Op>(this));
245 void CCPRGeometryView::Op::onExecute(GrOpFlushState* state) {
/external/skqp/src/pathops/
H A DSkPathOpsOp.cpp322 bool Op(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result) { function
/external/spirv-llvm/lib/SPIRV/
H A DSPIRVLowerOCLBlocks.cpp371 auto Op = Load->getPointerOperand(); local
372 if (auto GV = dyn_cast<GlobalVariable>(Op)) {
H A DSPIRVToOCL20.cpp90 void visitCallSPIRVAtomicBuiltin(CallInst *CI, Op OC);
107 void visitCallSPIRVGroupBuiltin(CallInst *CI, Op OC);
115 void visitCallSPIRVPipeBuiltin(CallInst *CI, Op OC);
119 void visitCallSPIRVBuiltin(CallInst *CI, Op OC);
167 Op OC = OpNop;
335 void SPIRVToOCL20::visitCallSPIRVAtomicBuiltin(CallInst* CI, Op OC) {
399 void SPIRVToOCL20::visitCallSPIRVBuiltin(CallInst* CI, Op OC) {
406 void SPIRVToOCL20::visitCallSPIRVGroupBuiltin(CallInst* CI, Op OC) {
417 StringRef Op = DemangledName; local
418 Op
[all...]
/external/swiftshader/third_party/LLVM/include/llvm/MC/
H A DMCInst.h98 MCOperand Op; local
99 Op.Kind = kRegister;
100 Op.RegVal = Reg;
101 return Op;
104 MCOperand Op; local
105 Op.Kind = kImmediate;
106 Op.ImmVal = Val;
107 return Op;
110 MCOperand Op; local
111 Op
116 MCOperand Op; local
135 setOpcode(unsigned Op) argument
143 addOperand(const MCOperand &Op) argument
153 insert(iterator I, const MCOperand &Op) argument
[all...]
/external/swiftshader/third_party/LLVM/include/llvm/Support/
H A DConstantFolder.h155 Constant *CreateCast(Instruction::CastOps Op, Constant *C, argument
157 return ConstantExpr::getCast(Op, C, DestTy);
H A DTargetFolder.h167 Constant *CreateCast(Instruction::CastOps Op, Constant *C, argument
171 return Fold(ConstantExpr::getCast(Op, C, DestTy));
/external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/
H A DValueEnumerator.cpp368 const Value *Op = C->getOperand(i); local
372 if (isa<BasicBlock>(Op)) continue;
374 EnumerateOperandType(Op);

Completed in 684 milliseconds

1234567891011>>