HomeSort by relevance Sort by last modified time
    Searched defs:Op (Results 1 - 25 of 158) sorted by null

1 2 3 4 5 6 7

  /external/llvm/lib/Target/MBlaze/InstPrinter/
MBlazeInstPrinter.cpp 37 const MCOperand &Op = MI->getOperand(OpNo);
38 if (Op.isReg()) {
39 O << getRegisterName(Op.getReg());
40 } else if (Op.isImm()) {
41 O << (int32_t)Op.getImm();
43 assert(Op.isExpr() && "unknown operand kind in printOperand");
44 O << *Op.getExpr();
  /external/llvm/lib/Target/MSP430/InstPrinter/
MSP430InstPrinter.cpp 36 const MCOperand &Op = MI->getOperand(OpNo);
37 if (Op.isImm())
38 O << Op.getImm();
40 assert(Op.isExpr() && "unknown pcrel immediate operand");
41 O << *Op.getExpr();
48 const MCOperand &Op = MI->getOperand(OpNo);
49 if (Op.isReg()) {
50 O << getRegisterName(Op.getReg());
51 } else if (Op.isImm()) {
52 O << '#' << Op.getImm()
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
DivZeroChecker.cpp 53 BinaryOperator::Opcode Op = B->getOpcode();
54 if (Op != BO_Div &&
55 Op != BO_Rem &&
56 Op != BO_DivAssign &&
57 Op != BO_RemAssign)
IdempotentOperationChecker.cpp 17 //|Operator | x op x | x op 1 | 1 op x | x op 0 | 0 op x | x op ~0 | ~0 op x |
155 BinaryOperator::Opcode Op = B->getOpcode();
158 switch (Op) {
184 // x op
    [all...]
  /external/llvm/include/llvm/Support/
MDBuilder.h 48 Value *Op = ConstantFP::get(Type::getFloatTy(Context), Accuracy);
49 return MDNode::get(Context, Op);
  /external/llvm/include/llvm/
User.h 81 template <int Idx> Use &Op() {
84 template <int Idx> const Use &Op() const {
  /external/llvm/lib/Target/Mips/InstPrinter/
MipsInstPrinter.cpp 130 const MCOperand &Op = MI->getOperand(OpNo);
131 if (Op.isReg()) {
132 printRegName(O, Op.getReg());
136 if (Op.isImm()) {
137 O << Op.getImm();
141 assert(Op.isExpr() && "unknown operand kind in printOperand");
142 printExpr(Op.getExpr(), O);
  /external/llvm/lib/Target/PTX/
PTXFPRoundingModePass.cpp 169 MachineOperand &Op = MI.getOperand(Desc.first);
171 if (Op.getImm() == PTXRoundingMode::RndDefault) {
172 Op.setImm(Desc.second);
  /external/llvm/lib/Target/X86/InstPrinter/
X86ATTInstPrinter.cpp 53 void X86ATTInstPrinter::printSSECC(const MCInst *MI, unsigned Op,
55 switch (MI->getOperand(Op).getImm()) {
98 const MCOperand &Op = MI->getOperand(OpNo);
99 if (Op.isImm())
100 O << Op.getImm();
102 assert(Op.isExpr() && "unknown pcrel immediate operand");
105 const MCConstantExpr *BranchTarget = dyn_cast<MCConstantExpr>(Op.getExpr());
113 O << *Op.getExpr();
120 const MCOperand &Op = MI->getOperand(OpNo);
121 if (Op.isReg())
    [all...]
X86IntelInstPrinter.cpp 45 void X86IntelInstPrinter::printSSECC(const MCInst *MI, unsigned Op,
47 switch (MI->getOperand(Op).getImm()) {
89 const MCOperand &Op = MI->getOperand(OpNo);
90 if (Op.isImm())
91 O << Op.getImm();
93 assert(Op.isExpr() && "unknown pcrel immediate operand");
96 const MCConstantExpr *BranchTarget = dyn_cast<MCConstantExpr>(Op.getExpr());
104 O << *Op.getExpr();
116 const MCOperand &Op = MI->getOperand(OpNo);
117 if (Op.isReg())
    [all...]
  /external/llvm/lib/Transforms/Utils/
ValueMapper.cpp 65 Value *OP = MD->getOperand(i);
66 if (OP == 0 || MapValue(OP, VM, Flags, TypeMapper) == OP) continue;
72 Value *Op = MD->getOperand(i);
73 Elts.push_back(Op ? MapValue(Op, VM, Flags, TypeMapper) : 0);
108 Value *Op = C->getOperand(OpNo);
109 Mapped = MapValue(Op, VM, Flags, TypeMapper);
163 for (User::op_iterator op = I->op_begin(), E = I->op_end(); op != E; ++op)
    [all...]
LoopUnroll.cpp 43 for (unsigned op = 0, E = I->getNumOperands(); op != E; ++op) {
44 Value *Op = I->getOperand(op);
45 ValueToValueMapTy::iterator It = VMap.find(Op);
47 I->setOperand(op, It->second);
  /external/llvm/unittests/Support/
MDBuilderTest.cpp 37 Value *Op = MD1->getOperand(0);
38 EXPECT_TRUE(isa<ConstantFP>(Op));
39 EXPECT_TRUE(Op->getType()->isFloatingPointTy());
40 ConstantFP *Val = cast<ConstantFP>(Op);
  /external/regex-re2/re2/
prefilter.h 23 enum Op {
31 explicit Prefilter(Op op);
34 Op op() { return op_; } function in class:re2::Prefilter
69 static Prefilter* AndOr(Op op, Prefilter* a, Prefilter* b);
82 Op op_;
  /external/clang/lib/AST/
ExprClassification.cpp 199 // C++ [expr.unary.op]p1: The unary * operator performs indirection:
213 const Expr *Op = cast<UnaryOperator>(E)->getSubExpr()->IgnoreParens();
214 Cl::Kinds K = ClassifyInternal(Ctx, Op);
217 if (isa<ObjCPropertyRefExpr>(Op))
  /external/llvm/lib/Target/PTX/InstPrinter/
PTXInstPrinter.cpp 170 const MCOperand &Op = MI->getOperand(OpNo);
171 if (Op.isImm()) {
172 O << Op.getImm();
173 } else if (Op.isFPImm()) {
174 double Imm = Op.getFPImm();
184 } else if (Op.isReg()) {
185 printRegName(O, Op.getReg());
187 assert(Op.isExpr() && "unknown operand kind in printOperand");
188 const MCExpr *Expr = Op.getExpr();
193 O << *Op.getExpr()
    [all...]
  /external/llvm/utils/TableGen/
DAGISelEmitter.cpp 32 Record *Op = P->getOperator();
33 if (Op->isSubClassOf("Instruction")) {
35 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op);
51 Record *Op = P->getOperator();
52 if (Op->isSubClassOf("Instruction")) {
53 Cost += Op->getValueAsInt("CodeSize");
  /external/llvm/lib/CodeGen/SelectionDAG/
InstrEmitter.cpp 72 SDValue Op(Node, ResNo);
74 VRBaseMap.erase(Op);
75 bool isNew = VRBaseMap.insert(std::make_pair(Op, SrcReg)).second;
107 SDValue Op = User->getOperand(i);
108 if (Op.getNode() != Node || Op.getResNo() != ResNo)
110 EVT VT = Node->getValueType(Op.getResNo());
161 SDValue Op(Node, ResNo);
163 VRBaseMap.erase(Op);
164 bool isNew = VRBaseMap.insert(std::make_pair(Op, VRBase)).second
    [all...]
SelectionDAGPrinter.cpp 93 SDValue Op = EI.getNode()->getOperand(EI.getOperand());
94 EVT VT = Op.getValueType();
  /external/llvm/lib/Target/Hexagon/
HexagonPeephole.cpp 210 unsigned Op = MI->getOpcode();
214 switch (Op) {
219 NewOp = Op;
  /external/llvm/lib/Target/PowerPC/InstPrinter/
PPCInstPrinter.cpp 89 assert(Modifier && "Must specify 'cc' or 'reg' as predicate op modifier!");
106 "Need to specify 'cc' or 'reg' as predicate op modifier!");
243 const MCOperand &Op = MI->getOperand(OpNo);
244 if (Op.isReg()) {
245 const char *RegName = getRegisterName(Op.getReg());
254 if (Op.isImm()) {
255 O << Op.getImm();
259 assert(Op.isExpr() && "unknown operand kind in printOperand");
260 O << *Op.getExpr();
  /external/llvm/lib/Target/X86/MCTargetDesc/
X86AsmBackend.cpp 124 static unsigned getRelaxedOpcodeBranch(unsigned Op) {
125 switch (Op) {
127 return Op;
149 static unsigned getRelaxedOpcodeArith(unsigned Op) {
150 switch (Op) {
152 return Op;
218 static unsigned getRelaxedOpcode(unsigned Op) {
219 unsigned R = getRelaxedOpcodeArith(Op);
220 if (R != Op)
222 return getRelaxedOpcodeBranch(Op);
    [all...]
  /external/llvm/utils/PerfectShuffle/
PerfectShuffle.cpp 89 Operator *Op; // The Operation used to generate this value.
147 static const char *getZeroCostOpName(unsigned short Op) {
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 = 0;
225 ShufTab[0x4567].Op = 0;
304 Operator *Op = TheOperators[opnum];
306 // Evaluate op(LHS,LHS
    [all...]
  /frameworks/compile/slang/BitWriter_2_9/
ValueEnumerator.cpp 368 const Value *Op = C->getOperand(i);
372 if (isa<BasicBlock>(Op)) continue;
374 EnumerateOperandType(Op);
  /frameworks/compile/slang/BitWriter_2_9_func/
ValueEnumerator.cpp 368 const Value *Op = C->getOperand(i);
372 if (isa<BasicBlock>(Op)) continue;
374 EnumerateOperandType(Op);

Completed in 492 milliseconds

1 2 3 4 5 6 7