Searched defs:Op (Results 1 - 25 of 183) sorted by relevance

12345678

/external/clang/lib/StaticAnalyzer/Checkers/
H A DDivZeroChecker.cpp53 BinaryOperator::Opcode Op = B->getOpcode(); local
54 if (Op != BO_Div &&
55 Op != BO_Rem &&
56 Op != BO_DivAssign &&
57 Op != BO_RemAssign)
/external/llvm/lib/Target/MBlaze/InstPrinter/
H A DMBlazeInstPrinter.cpp37 const MCOperand &Op = MI->getOperand(OpNo); local
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/
H A DMSP430InstPrinter.cpp36 const MCOperand &Op = MI->getOperand(OpNo); local
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); local
49 if (Op.isReg()) {
50 O << getRegisterName(Op.getReg());
51 } else if (Op.isImm()) {
52 O << '#' << Op
[all...]
/external/llvm/include/llvm/
H A DUser.h81 template <int Idx> Use &Op() { function in class:llvm::User
84 template <int Idx> const Use &Op() const { function in class:llvm::User
/external/llvm/unittests/Support/
H A DMDBuilderTest.cpp37 Value *Op = MD1->getOperand(0); local
38 EXPECT_TRUE(isa<ConstantFP>(Op));
39 EXPECT_TRUE(Op->getType()->isFloatingPointTy());
40 ConstantFP *Val = cast<ConstantFP>(Op);
/external/llvm/include/llvm/Support/
H A DMDBuilder.h48 Value *Op = ConstantFP::get(Type::getFloatTy(Context), Accuracy); local
49 return MDNode::get(Context, Op);
/external/llvm/lib/Target/Mips/InstPrinter/
H A DMipsInstPrinter.cpp130 const MCOperand &Op = MI->getOperand(OpNo); local
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/
H A DPTXFPRoundingModePass.cpp169 MachineOperand &Op = MI.getOperand(Desc.first); local
171 if (Op.getImm() == PTXRoundingMode::RndDefault) {
172 Op.setImm(Desc.second);
/external/llvm/lib/Target/X86/InstPrinter/
H A DX86ATTInstPrinter.cpp53 void X86ATTInstPrinter::printSSECC(const MCInst *MI, unsigned Op, argument
55 switch (MI->getOperand(Op).getImm()) {
98 const MCOperand &Op = MI->getOperand(OpNo); local
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); local
121 if (Op
136 printMemReference(const MCInst *MI, unsigned Op, raw_ostream &O) argument
[all...]
H A DX86IntelInstPrinter.cpp45 void X86IntelInstPrinter::printSSECC(const MCInst *MI, unsigned Op, argument
47 switch (MI->getOperand(Op).getImm()) {
89 const MCOperand &Op = MI->getOperand(OpNo); local
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); local
117 if (Op
127 printMemReference(const MCInst *MI, unsigned Op, raw_ostream &O) argument
[all...]
/external/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp72 Value *Op = MD->getOperand(i); local
73 Elts.push_back(Op ? MapValue(Op, VM, Flags, TypeMapper) : 0);
108 Value *Op = C->getOperand(OpNo); local
109 Mapped = MapValue(Op, VM, Flags, TypeMapper);
/external/llvm/utils/TableGen/
H A DDAGISelEmitter.cpp32 Record *Op = P->getOperator(); local
33 if (Op->isSubClassOf("Instruction")) {
35 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op);
51 Record *Op = P->getOperator(); local
52 if (Op->isSubClassOf("Instruction")) {
53 Cost += Op->getValueAsInt("CodeSize");
/external/regex-re2/re2/
H A Dprefilter.h23 enum Op { enum in class:re2::Prefilter
31 explicit Prefilter(Op op);
34 Op op() { return op_; }
69 static Prefilter* AndOr(Op op, Prefilter* a, Prefilter* b);
82 Op op_;
/external/clang/lib/AST/
H A DExprClassification.cpp213 const Expr *Op = cast<UnaryOperator>(E)->getSubExpr()->IgnoreParens(); local
214 Cl::Kinds K = ClassifyInternal(Ctx, Op);
217 if (isa<ObjCPropertyRefExpr>(Op))
/external/clang/lib/StaticAnalyzer/Core/
H A DBasicValueFactory.cpp149 BasicValueFactory::evalAPSInt(BinaryOperator::Opcode Op, argument
152 switch (Op) {
H A DSVals.cpp188 BinaryOperator::Opcode Op,
191 svalBuilder.getBasicValueFactory().evalAPSInt(Op, getValue(), R.getValue());
214 BinaryOperator::Opcode Op,
217 assert (Op == BO_Add || Op == BO_Sub ||
218 (Op >= BO_LT && Op <= BO_NE));
220 const llvm::APSInt* X = BasicVals.evalAPSInt(Op, getValue(), R.getValue());
187 evalBinOp(SValBuilder &svalBuilder, BinaryOperator::Opcode Op, const nonloc::ConcreteInt& R) const argument
213 evalBinOp(BasicValueFactory& BasicVals, BinaryOperator::Opcode Op, const loc::ConcreteInt& R) const argument
/external/llvm/include/llvm/Analysis/
H A DIVUsers.h62 void setOperandValToReplace(Value *Op) { argument
63 OperandValToReplace = Op;
/external/llvm/include/llvm/MC/
H A DMCWin64EH.h36 MCWin64EHInstruction(OpType Op, MCSymbol *L, unsigned Reg) argument
37 : Operation(Op), Label(L), Offset(0), Register(Reg) {
38 assert(Op == Win64EH::UOP_PushNonVol);
43 MCWin64EHInstruction(OpType Op, MCSymbol *L, unsigned Reg, unsigned Off) argument
44 : Operation(Op), Label(L), Offset(Off), Register(Reg) {
45 assert(Op == Win64EH::UOP_SetFPReg ||
46 Op == Win64EH::UOP_SaveNonVol ||
47 Op == Win64EH::UOP_SaveNonVolBig ||
48 Op == Win64EH::UOP_SaveXMM128 ||
49 Op
51 MCWin64EHInstruction(OpType Op, MCSymbol *L, bool Code) argument
[all...]
/external/llvm/lib/Target/Hexagon/
H A DHexagonPeephole.cpp210 unsigned Op = MI->getOpcode(); local
214 switch (Op) {
219 NewOp = Op;
/external/llvm/lib/Target/MBlaze/
H A DMBlazeISelDAGToDAG.cpp112 static bool isIntS32Immediate(SDValue Op, int32_t &Imm) { argument
113 return isIntS32Immediate(Op.getNode(), Imm);
/external/llvm/lib/Target/MBlaze/MCTargetDesc/
H A DMBlazeAsmBackend.cpp69 static unsigned getRelaxedOpcode(unsigned Op) { argument
70 switch (Op) {
71 default: return Op;
/external/llvm/lib/Target/PTX/InstPrinter/
H A DPTXInstPrinter.cpp170 const MCOperand &Op = MI->getOperand(OpNo); local
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
210 const MCOperand &Op = MI->getOperand(OpNo); local
[all...]
/external/llvm/lib/Target/PowerPC/InstPrinter/
H A DPPCInstPrinter.cpp243 const MCOperand &Op = MI->getOperand(OpNo); local
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/Sparc/
H A DSparcISelDAGToDAG.cpp52 virtual bool SelectInlineAsmMemoryOperand(const SDValue &Op,
189 SparcDAGToDAGISel::SelectInlineAsmMemoryOperand(const SDValue &Op, argument
196 if (!SelectADDRrr(Op, Op0, Op1))
197 SelectADDRri(Op, Op0, Op1);
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h413 SVal evalBinOp(ProgramStateRef ST, BinaryOperator::Opcode Op, argument
415 return svalBuilder.evalBinOp(ST, Op, LHS, RHS, T);

Completed in 6937 milliseconds

12345678