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

1234567891011

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/InstPrinter/
H A DAMDGPUInstPrinter.cpp17 const MCOperand &Op = MI->getOperand(OpNo); local
18 if (Op.isReg()) {
19 O << getRegisterName(Op.getReg());
20 } else if (Op.isImm()) {
21 O << Op.getImm();
22 } else if (Op.isFPImm()) {
23 O << Op.getFPImm();
/external/mesa3d/src/gallium/drivers/radeon/InstPrinter/
H A DAMDGPUInstPrinter.cpp17 const MCOperand &Op = MI->getOperand(OpNo); local
18 if (Op.isReg()) {
19 O << getRegisterName(Op.getReg());
20 } else if (Op.isImm()) {
21 O << Op.getImm();
22 } else if (Op.isFPImm()) {
23 O << Op.getFPImm();
/external/clang/lib/StaticAnalyzer/Checkers/
H A DDivZeroChecker.cpp50 BinaryOperator::Opcode Op = B->getOpcode(); local
51 if (Op != BO_Div &&
52 Op != BO_Rem &&
53 Op != BO_DivAssign &&
54 Op != BO_RemAssign)
/external/llvm/lib/Target/MSP430/InstPrinter/
H A DMSP430InstPrinter.cpp37 const MCOperand &Op = MI->getOperand(OpNo); local
38 if (Op.isImm())
39 O << Op.getImm();
41 assert(Op.isExpr() && "unknown pcrel immediate operand");
42 O << *Op.getExpr();
49 const MCOperand &Op = MI->getOperand(OpNo); local
50 if (Op.isReg()) {
51 O << getRegisterName(Op.getReg());
52 } else if (Op.isImm()) {
53 O << '#' << Op
[all...]
/external/llvm/include/llvm/IR/
H A DUser.h83 template <int Idx> Use &Op() { function in class:llvm::User
86 template <int Idx> const Use &Op() const { function in class:llvm::User
/external/llvm/lib/Target/XCore/InstPrinter/
H A DXCoreInstPrinter.cpp74 const MCOperand &Op = MI->getOperand(OpNo); local
75 if (Op.isReg()) {
76 printRegName(O, Op.getReg());
80 if (Op.isImm()) {
81 O << Op.getImm();
85 assert(Op.isExpr() && "unknown operand kind in printOperand");
86 printExpr(Op.getExpr(), O);
/external/llvm/lib/Transforms/ObjCARC/
H A DObjCARCAPElim.cpp157 Value *Op = *OI; local
160 Function *F = dyn_cast<Function>(cast<ConstantStruct>(Op)->getOperand(1));
H A DDependencyAnalysis.cpp59 const Value *Op = *I; local
60 if (IsPotentialRetainableObjPtr(Op, *PA.getAA()) && PA.related(Ptr, Op))
91 const Value *Op = *OI; local
92 if (IsPotentialRetainableObjPtr(Op, *PA.getAA()) && PA.related(Ptr, Op))
99 const Value *Op = GetUnderlyingObjCPtr(SI->getPointerOperand()); local
102 return IsPotentialRetainableObjPtr(Op, *PA.getAA()) && PA.related(Op, Ptr);
108 const Value *Op local
[all...]
/external/llvm/unittests/IR/
H A DMDBuilderTest.cpp39 Value *Op = MD1->getOperand(0); local
40 EXPECT_TRUE(isa<ConstantFP>(Op));
41 EXPECT_TRUE(Op->getType()->isFloatingPointTy());
42 ConstantFP *Val = cast<ConstantFP>(Op);
/external/chromium_org/third_party/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/Analysis/
H A DThreadSafetyTIL.cpp18 StringRef getUnaryOpcodeString(TIL_UnaryOpcode Op) { argument
19 switch (Op) {
28 StringRef getBinaryOpcodeString(TIL_BinaryOpcode Op) { argument
29 switch (Op) {
/external/llvm/include/llvm/Transforms/Utils/
H A DLocal.h204 Value *Op = *i; local
206 if (Constant *OpC = dyn_cast<Constant>(Op)) {
232 if (Op->getType() != IntPtrTy)
233 Op = Builder->CreateIntCast(Op, IntPtrTy, true, Op->getName()+".c");
236 Op = Builder->CreateMul(Op, ConstantInt::get(IntPtrTy, Size),
241 Result = Builder->CreateAdd(Op, Result, GEP->getName()+".offs");
/external/llvm/lib/Target/NVPTX/
H A DNVPTXReplaceImageHandles.cpp38 void replaceImageHandle(MachineOperand &Op, MachineFunction &MF);
315 replaceImageHandle(MachineOperand &Op, MachineFunction &MF) { argument
319 MachineInstr *MI = MRI.getVRegDef(Op.getReg());
336 Op.ChangeToImmediate(
346 Op.ChangeToImmediate(MFI->getImageHandleSymbolIndex(GV->getName().data()));
/external/llvm/lib/Transforms/IPO/
H A DGlobalDCE.cpp245 Constant *Op = dyn_cast<Constant>(*I); local
246 if (Op && SeenConstants.insert(Op))
247 MarkUsedGlobalsAsNeeded(Op);
/external/llvm/lib/Transforms/Utils/
H A DModuleUtils.cpp90 Value *Op = Init->getOperand(I); local
91 GlobalValue *G = cast<GlobalValue>(Op->stripPointerCastsNoFollowAliases());
H A DValueMapper.cpp86 Value *Op = MD->getOperand(i); local
87 if (!Op)
90 Value *Mapped_Op = MapValue(Op, VM, Flags, TypeMapper, Materializer);
94 Mapped_Op = Op;
131 Value *Op = C->getOperand(OpNo); local
132 Mapped = MapValue(Op, VM, Flags, TypeMapper, Materializer);
/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/StaticAnalyzer/Core/
H A DBasicValueFactory.cpp146 BasicValueFactory::evalAPSInt(BinaryOperator::Opcode Op, argument
149 switch (Op) {
H A DSVals.cpp196 BinaryOperator::Opcode Op,
199 svalBuilder.getBasicValueFactory().evalAPSInt(Op, getValue(), R.getValue());
222 BinaryOperator::Opcode Op,
225 assert(BinaryOperator::isComparisonOp(Op) || Op == BO_Sub);
227 const llvm::APSInt *X = BasicVals.evalAPSInt(Op, getValue(), R.getValue());
195 evalBinOp(SValBuilder &svalBuilder, BinaryOperator::Opcode Op, const nonloc::ConcreteInt& R) const argument
221 evalBinOp(BasicValueFactory& BasicVals, BinaryOperator::Opcode Op, const loc::ConcreteInt& R) const argument
/external/clang/test/CodeGenCXX/
H A Dvisibility-inlines-hidden.cpp141 template <int> inline void Op();
144 Op<0>();
147 template <int Idx_nocapture> void Op() { function in namespace:test5
/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/Bitcode/Reader/
H A DBitstreamReader.cpp85 void BitstreamCursor::readAbbreviatedLiteral(const BitCodeAbbrevOp &Op, argument
87 assert(Op.isLiteral() && "Not a literal");
89 Vals.push_back(Op.getLiteralValue());
92 void BitstreamCursor::readAbbreviatedField(const BitCodeAbbrevOp &Op, argument
94 assert(!Op.isLiteral() && "Use ReadAbbreviatedLiteral for literals!");
97 switch (Op.getEncoding()) {
102 Vals.push_back(Read((unsigned)Op.getEncodingData()));
105 Vals.push_back(ReadVBR64((unsigned)Op.getEncodingData()));
113 void BitstreamCursor::skipAbbreviatedField(const BitCodeAbbrevOp &Op) { argument
114 assert(!Op
150 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); local
217 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); local
[all...]
/external/llvm/lib/IR/
H A DMDBuilder.cpp28 Value *Op = ConstantFP::get(Type::getFloatTy(Context), Accuracy); local
29 return MDNode::get(Context, Op);
/external/llvm/lib/Target/ARM/InstPrinter/
H A DARMInstPrinter.cpp301 const MCOperand &Op = MI->getOperand(OpNo); local
302 if (Op.isReg()) {
303 unsigned Reg = Op.getReg();
305 } else if (Op.isImm()) {
307 << '#' << formatImm(Op.getImm())
310 assert(Op.isExpr() && "unknown operand kind in printOperand");
311 const MCExpr *Expr = Op.getExpr();
408 void ARMInstPrinter::printAM2PreOrOffsetIndexOp(const MCInst *MI, unsigned Op,
410 const MCOperand &MO1 = MI->getOperand(Op);
411 const MCOperand &MO2 = MI->getOperand(Op
[all...]
/external/llvm/lib/Target/Hexagon/
H A DHexagonPeephole.cpp269 unsigned Op = MI->getOpcode(); local
273 switch (Op) {
278 NewOp = Op;

Completed in 1627 milliseconds

1234567891011