Searched defs:Op (Results 276 - 300 of 519) sorted by relevance

<<11121314151617181920>>

/external/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp892 NVPTXTargetLowering::LowerGlobalAddress(SDValue Op, SelectionDAG &DAG) const { argument
893 SDLoc dl(Op);
894 const GlobalValue *GV = cast<GlobalAddressSDNode>(Op)->getGlobal();
896 Op = DAG.getTargetGlobalAddress(GV, dl, PtrVT);
897 return DAG.getNode(NVPTXISD::Wrapper, dl, PtrVT, Op);
1435 // Op to just print "call"
1680 NVPTXTargetLowering::LowerCONCAT_VECTORS(SDValue Op, SelectionDAG &DAG) const {
1681 SDNode *Node = Op.getNode();
1703 SDValue NVPTXTargetLowering::LowerShiftRightParts(SDValue Op,
1705 assert(Op
[all...]
/external/llvm/lib/Target/Sparc/AsmParser/
H A DSparcAsmParser.cpp58 unsigned validateTargetOperandClass(MCParsedAsmOperand &Op,
342 auto Op = make_unique<SparcOperand>(k_Token); local
343 Op->Tok.Data = Str.data();
344 Op->Tok.Length = Str.size();
345 Op->StartLoc = S;
346 Op->EndLoc = S;
347 return Op;
352 auto Op = make_unique<SparcOperand>(k_Register); local
353 Op->Reg.RegNum = RegNum;
354 Op
362 auto Op = make_unique<SparcOperand>(k_Immediate); local
369 MorphToIntPairReg(SparcOperand &Op) argument
388 MorphToDoubleReg(SparcOperand &Op) argument
399 MorphToQuadReg(SparcOperand &Op) argument
422 MorphToCoprocPairReg(SparcOperand &Op) argument
436 MorphToMEMrr(unsigned Base, std::unique_ptr<SparcOperand> Op) argument
447 auto Op = make_unique<SparcOperand>(k_MemoryReg); local
457 MorphToMEMri(unsigned Base, std::unique_ptr<SparcOperand> Op) argument
805 std::unique_ptr<SparcOperand> Op; local
814 std::unique_ptr<SparcOperand> Op; local
827 parseSparcAsmOperand(std::unique_ptr<SparcOperand> &Op, bool isCall) argument
1279 SparcOperand &Op = (SparcOperand &)GOp; local
[all...]
/external/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp119 RxSBGOperands(unsigned Op, SDValue N) argument
120 : Opcode(Op), BitSize(N.getValueType().getSizeInBits()),
269 // Check whether (or Op (and X InsertMask)) is effectively an insertion
270 // of X into bits InsertMask of some Y != Op. Return true if so and
271 // set Op to that Y.
272 bool detectOrAndInsertion(SDValue &Op, uint64_t InsertMask) const;
348 bool SelectInlineAsmMemoryOperand(const SDValue &Op, unsigned ConstraintID,
693 bool SystemZDAGToDAGISel::detectOrAndInsertion(SDValue &Op, argument
696 // of Op, rather than into Op itsel
1342 SelectInlineAsmMemoryOperand(const SDValue &Op, unsigned ConstraintID, std::vector<SDValue> &OutOps) argument
[all...]
/external/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp236 const Value *Op = GTI.getOperand(); local
239 unsigned Idx = cast<ConstantInt>(Op)->getZExtValue();
244 if (const ConstantInt *CI = dyn_cast<ConstantInt>(Op)) {
251 Addr.setReg(getRegForValue(Op));
254 if (canFoldAddIntoGEP(U, Op)) {
257 cast<ConstantInt>(cast<AddOperator>(Op)->getOperand(1));
260 Op = cast<AddOperator>(Op)->getOperand(0);
793 const Value *Op = ZExt->getOperand(0); local
794 MVT::SimpleValueType From = getSimpleType(Op
807 const Value *Op = SExt->getOperand(0); local
[all...]
/external/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCCodeEmitter.cpp57 /// a 16-bit memory operand. Op specifies the operand # of the memoperand.
58 bool Is16BitMemOperand(const MCInst &MI, unsigned Op, argument
60 const MCOperand &BaseReg = MI.getOperand(Op+X86::AddrBaseReg);
61 const MCOperand &IndexReg = MI.getOperand(Op+X86::AddrIndexReg);
62 const MCOperand &Disp = MI.getOperand(Op+X86::AddrDisp);
125 void emitMemModRMByte(const MCInst &MI, unsigned Op, unsigned RegOpcodeField,
204 /// a 32-bit memory operand. Op specifies the operand # of the memoperand.
205 static bool Is32BitMemOperand(const MCInst &MI, unsigned Op) {
206 const MCOperand &BaseReg = MI.getOperand(Op+X86::AddrBaseReg);
207 const MCOperand &IndexReg = MI.getOperand(Op
348 emitMemModRMByte(const MCInst &MI, unsigned Op, unsigned RegOpcodeField, uint64_t TSFlags, bool Rex, unsigned &CurByte, raw_ostream &OS, SmallVectorImpl<MCFixup> &Fixups, const MCSubtargetInfo &STI) const argument
[all...]
/external/llvm/lib/Target/X86/
H A DX86FloatingPoint.cpp965 MachineOperand &Op = MI.getOperand(i); local
966 if (!Op.isReg() || Op.getReg() < X86::FP0 || Op.getReg() > X86::FP6)
970 assert(Op.isUse() &&
971 (Op.isKill() || // Marked kill.
972 getFPReg(Op) == FirstFPRegOp || // Second instance.
973 MI.killsRegister(Op.getReg())) && // Later use is marked kill.
977 FirstFPRegOp = getFPReg(Op);
980 SecondFPRegOp = getFPReg(Op);
1546 MachineOperand &Op = MI.getOperand(i); local
1572 MachineOperand &Op = MI.getOperand(i); local
[all...]
H A DX86MCInstLower.cpp1135 const MachineOperand &Op) {
1136 if (!Op.isCPI())
1142 Constants[Op.getIndex()];
1134 getConstantFromPool(const MachineInstr &MI, const MachineOperand &Op) argument
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp408 static void detectLog2OfHalf(Value *&Op, Value *&Y, IntrinsicInst *&Log2) { argument
409 if (!Op->hasOneUse())
412 IntrinsicInst *II = dyn_cast<IntrinsicInst>(Op);
H A DInstCombineVectorOps.cpp114 Value *Op = InsertNewInstWith( local
120 scalarPHI, Op, B0), *B0);
/external/llvm/lib/Transforms/Scalar/
H A DLoopDistribute.cpp837 const MDOperand *Op = *Value; local
838 assert(Op && mdconst::hasa<ConstantInt>(*Op) && "invalid metadata");
839 IsForced = mdconst::extract<ConstantInt>(*Op)->getZExtValue();
H A DReassociate.cpp60 << *Ops[0].Op->getType() << '\t';
63 Ops[i].Op->printAsOperand(dbgs(), false, M);
451 SmallVector<std::pair<BinaryOperator*, APInt>, 8> Worklist; // (Op, Weight)
482 Value *Op = I->getOperand(OpIdx); local
484 DEBUG(dbgs() << "OPERAND: " << *Op << " (" << Weight << ")\n");
485 assert(!Op->use_empty() && "No uses, so how did we get to it?!");
489 if (BinaryOperator *BO = isReassociableOp(Op, Opcode)) {
490 assert(Visited.insert(Op).second && "Not first visit!");
491 DEBUG(dbgs() << "DIRECT ADD: " << *Op << " (" << Weight << ")\n");
497 LeafMap::iterator It = Leaves.find(Op);
628 BinaryOperator *Op = I; local
[all...]
H A DScalarizer.cpp292 // Replace Op with the gathered form of the components in CV. Defer the
293 // deletion of Op and creation of the gathered form to the end of the pass,
294 // so that we can avoid creating the gathered form if all uses of Op are
296 void Scalarizer::gather(Instruction *Op, const ValueVector &CV) { argument
297 // Since we're not deleting Op yet, stub out its operands, so that it
299 for (unsigned I = 0, E = Op->getNumOperands(); I != E; ++I)
300 Op->setOperand(I, UndefValue::get(Op->getOperand(I)->getType()));
302 transferMetadata(Op, CV);
304 // If we already have a scattered form of Op (create
337 transferMetadata(Instruction *Op, const ValueVector &CV) argument
585 Scatterer Op = scatter(&PHI, PHI.getIncomingValue(I)); local
653 Instruction *Op = GMI.first; local
[all...]
/external/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp212 Metadata &getFwdReference(MDNode &Op);
269 /// If \c Op is already mapped, return the mapping. If it's not an \a
273 /// \return None if \c Op is an unmapped uniqued \a MDNode.
274 /// \post getMappedOp(Op) only returns None if this returns None.
275 Optional<Metadata *> tryToMapOperand(const Metadata *Op);
287 Optional<Metadata *> getMappedOp(const Metadata *Op) const;
431 Value *Op = C->getOperand(OpNo); local
432 Mapped = mapValueOrNull(Op);
435 if (Mapped != Op)
516 Optional<Metadata *> MDNodeMapper::tryToMapOperand(const Metadata *Op) { argument
572 getFwdReference(MDNode &Op) argument
603 MDNode::op_iterator Op; ///< Current operand of \\c N. member in struct:__anon14809::POTWorklistEntry
648 Metadata *Op = *I++; // Increment even on early return. local
[all...]
/external/llvm/tools/llvm-ar/
H A Dllvm-ar.cpp384 static bool shouldCreateArchive(ArchiveOperation Op) { argument
385 switch (Op) {
/external/llvm/utils/TableGen/
H A DAsmWriterEmitter.cpp186 for (unsigned Op = 1; ; ++Op) {
191 if (FirstInst.Operands.size() == Op)
199 return OtherInst.Operands.size() == Op ||
200 OtherInst.Operands[Op] != FirstInst.Operands[Op];
207 FirstInst.Operands[Op].getCode(PassSubtarget) + "\n";
613 void addOperand(StringRef Op, int OpIdx, int PrintMethodIdx = -1) { argument
617 OpMap[Op] = std::make_pair(OpIdx, PrintMethodIdx);
620 bool isOpMapped(StringRef Op) { retur argument
621 getOpIndex(StringRef Op) argument
622 getOpData(StringRef Op) argument
772 const DefInit *Op = cast<DefInit>(DI->getOperator()); local
824 std::string Op = "MI->getOperand(" + llvm::utostr(MIOpNum) + ")"; local
[all...]
/external/skia/src/core/
H A DSkLiteDL.cpp43 // Helper for getting back at arrays which have been copy_v'd together after an Op.
65 struct Op { struct in namespace:__anon20677
69 static_assert(sizeof(Op) == 4, "");
71 struct SetDrawFilter final : Op {
84 struct Flush final : Op {
89 struct Save final : Op {
93 struct Restore final : Op {
97 struct SaveLayer final : Op {
121 struct Concat final : Op {
127 struct SetMatrix final : Op {
[all...]
/external/skqp/src/core/
H A DSkLiteDL.cpp43 // Helper for getting back at arrays which have been copy_v'd together after an Op.
65 struct Op { struct in namespace:__anon21345
69 static_assert(sizeof(Op) == 4, "");
71 struct SetDrawFilter final : Op {
84 struct Flush final : Op {
89 struct Save final : Op {
93 struct Restore final : Op {
97 struct SaveLayer final : Op {
121 struct Concat final : Op {
127 struct SetMatrix final : Op {
[all...]
/external/spirv-llvm/lib/SPIRV/libSPIRV/
H A DSPIRVEntry.cpp66 SPIRVEntry::create(Op OpCode) {
69 Op Opn;
71 operator std::pair<const Op, SPIRVFactoryTy>() {
77 #define _SPIRV_OP(x,...) {Op##x, &SPIRV::create<SPIRV##x>},
82 typedef std::map<Op, SPIRVFactoryTy> OpToFactoryMapTy;
96 SPIRVEntry::create_unique(Op OC) {
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp124 char Op; member in class:BinaryExprAST
128 : Op(op), LHS(lhs), RHS(rhs) {}
478 switch (Op) {
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp139 char Op; member in class:BinaryExprAST
143 : Op(op), LHS(lhs), RHS(rhs) {}
574 switch (Op) {
588 Function *F = TheModule->getFunction(std::string("binary")+Op);
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
H A DScheduleDAG.h591 SUnitIterator(SUnit *N, unsigned Op) : Node(N), Operand(Op) {} argument
H A DSelectionDAG.h453 /// getAnyExtOrTrunc - Convert Op, which must be of integer type, to the
455 SDValue getAnyExtOrTrunc(SDValue Op, DebugLoc DL, EVT VT);
457 /// getSExtOrTrunc - Convert Op, which must be of integer type, to the
459 SDValue getSExtOrTrunc(SDValue Op, DebugLoc DL, EVT VT);
461 /// getZExtOrTrunc - Convert Op, which must be of integer type, to the
463 SDValue getZExtOrTrunc(SDValue Op, DebugLoc DL, EVT VT);
465 /// getZeroExtendInReg - Return the expression required to zero extend the Op
467 SDValue getZeroExtendInReg(SDValue Op, DebugLoc DL, EVT SrcTy);
475 SDValue getCALLSEQ_START(SDValue Chain, SDValue Op) { argument
477 SDValue Ops[] = { Chain, Op };
[all...]
/external/swiftshader/third_party/LLVM/include/llvm/MC/
H A DMCExpr.h238 Opcode Op; member in class:llvm::MCUnaryExpr
242 : MCExpr(MCExpr::Unary), Op(_Op), Expr(_Expr) {}
248 static const MCUnaryExpr *Create(Opcode Op, const MCExpr *Expr,
268 Opcode getOpcode() const { return Op; }
310 Opcode Op; member in class:llvm::MCBinaryExpr
314 : MCExpr(MCExpr::Binary), Op(_Op), LHS(_LHS), RHS(_RHS) {}
320 static const MCBinaryExpr *Create(Opcode Op, const MCExpr *LHS,
400 Opcode getOpcode() const { return Op; }
/external/swiftshader/third_party/LLVM/lib/Analysis/
H A DBasicAliasAnalysis.cpp268 const Operator *Op = dyn_cast<Operator>(V); local
269 if (Op == 0) {
280 if (Op->getOpcode() == Instruction::BitCast) {
281 V = Op->getOperand(0);
285 const GEPOperator *GEPOp = dyn_cast<GEPOperator>(Op);
H A DConstantFolding.cpp761 if (Constant *Op = dyn_cast<Constant>(*i))
762 Ops.push_back(Op);
1146 static Constant *ConstantFoldConvertToInt(ConstantFP *Op, bool roundTowardZero, argument
1148 assert(Op && "Called with NULL operand");
1149 APFloat Val(Op->getValueAPF());
1177 if (ConstantFP *Op = dyn_cast<ConstantFP>(Operands[0])) {
1179 APFloat Val(Op->getValueAPF());
1193 if (Op->getValueAPF().isNaN() || Op->getValueAPF().isInfinity())
1200 double V = Ty->isFloatTy() ? (double)Op
[all...]

Completed in 2148 milliseconds

<<11121314151617181920>>