/external/capstone/arch/ARM/ |
ARMAddressingModes.h | 38 static inline char *ARM_AM_getAddrOpcStr(ARM_AM_AddrOpc Op) 40 return Op == ARM_AM_sub ? "-" : ""; 43 static inline char *ARM_AM_getShiftOpcStr(ARM_AM_ShiftOpc Op) 45 switch (Op) { 55 static inline unsigned ARM_AM_getShiftOpcEncoding(ARM_AM_ShiftOpc Op) 57 switch (Op) { 120 static inline unsigned getSORegOffset(unsigned Op) 122 return Op >> 3; 125 static inline ARM_AM_ShiftOpc ARM_AM_getSORegShOp(unsigned Op) 127 return (ARM_AM_ShiftOpc)(Op & 7) [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
TestAfterDivZeroChecker.cpp | 108 BinaryOperator::Opcode Op = BO->getOpcode(); 109 if (Op == BO_Div || Op == BO_Rem || Op == BO_DivAssign || 110 Op == BO_RemAssign) { 205 BinaryOperator::Opcode Op = B->getOpcode(); 206 if (Op == BO_Div || Op == BO_Rem || Op == BO_DivAssign || 207 Op == BO_RemAssign) [all...] |
/external/spirv-llvm/lib/SPIRV/libSPIRV/ |
SPIRVValue.h | 36 /// This file defines the values defined in SPIR-V spec with op codes. 38 /// The name of the SPIR-V values follow the op code name in the spec. 59 SPIRVValue(SPIRVModule *M, unsigned TheWordCount, Op TheOpCode, 65 SPIRVValue(SPIRVModule *M, unsigned TheWordCount, Op TheOpCode, 72 SPIRVValue(SPIRVModule *M, unsigned TheWordCount, Op TheOpCode, 79 SPIRVValue(SPIRVModule *M, unsigned TheWordCount, Op TheOpCode) 86 SPIRVValue(Op TheOpCode):SPIRVEntry(TheOpCode), Type(NULL) {} 194 template<Op OC> 211 template<Op OC> 303 const static Op OC = OpConstantSampler [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/ |
ARMAddressingModes.h | 40 static inline const char *getAddrOpcStr(AddrOpc Op) { 41 return Op == sub ? "-" : ""; 44 static inline const char *getShiftOpcStr(ShiftOpc Op) { 45 switch (Op) { 55 static inline unsigned getShiftOpcEncoding(ShiftOpc Op) { 56 switch (Op) { 114 static inline unsigned getSORegOffset(unsigned Op) { 115 return Op >> 3; 117 static inline ShiftOpc getSORegShOp(unsigned Op) { 118 return (ShiftOpc)(Op & 7) [all...] |
/external/llvm/lib/Target/Mips/ |
MipsISelLowering.cpp | 543 // Returns Op if setcc is not a floating point comparison. 544 static SDValue createFPCmp(SelectionDAG &DAG, const SDValue &Op) { 546 if (Op.getOpcode() != ISD::SETCC) 547 return Op; 549 SDValue LHS = Op.getOperand(0); 552 return Op; 554 SDValue RHS = Op.getOperand(1); 555 SDLoc DL(Op); 559 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(2))->get(); 694 // Op's first operand must be a shift right [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonISelLowering.cpp | 521 HexagonTargetLowering::LowerINTRINSIC_WO_CHAIN(SDValue Op, SelectionDAG &DAG) [all...] |
/external/eigen/unsupported/Eigen/CXX11/src/util/ |
CXX11Meta.h | 139 template<typename, typename> class op, 143 struct h_apply_op_helper { typedef type_list<typename op<values, additional_param>::type...> type; }; 145 template<typename, typename> class op, 149 struct h_apply_op_helper<true, op, additional_param, values...> { typedef type_list<typename op<additional_param, values>::type...> type; }; 153 template<typename, typename> class op, 159 constexpr static typename h_apply_op_helper<from_left, op, additional_param, values...>::type helper(type_list<values...>) 160 { return typename h_apply_op_helper<from_left, op, additional_param, values...>::type(); } 164 template<typename, typename> class op, 168 struct apply_op_from_left { typedef decltype(h_apply_op<true, op, additional_param>::helper(a())) type; } [all...] |
/external/llvm/lib/Target/AMDGPU/InstPrinter/ |
AMDGPUInstPrinter.cpp | 373 const MCOperand &Op = MI->getOperand(OpNo); 374 if (Op.isReg()) { 375 switch (Op.getReg()) { 381 printRegOperand(Op.getReg(), O, MRI); 384 } else if (Op.isImm()) { 390 printImmediate32(Op.getImm(), O); 392 printImmediate64(Op.getImm(), O); 396 printImmediate32(Op.getImm(), O); 401 O << formatDec(Op.getImm()); 403 } else if (Op.isFPImm()) [all...] |
/external/llvm/utils/TableGen/ |
AsmWriterEmitter.cpp | 186 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) { 617 OpMap[Op] = std::make_pair(OpIdx, PrintMethodIdx); 620 bool isOpMapped(StringRef Op) { return OpMap.find(Op) != OpMap.end(); [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
Scalarizer.cpp | 194 void gather(Instruction *Op, const ValueVector &CV); 196 void transferMetadata(Instruction *Op, const ValueVector &CV); 326 // Replace Op with the gathered form of the components in CV. Defer the 327 // deletion of Op and creation of the gathered form to the end of the pass, 328 // so that we can avoid creating the gathered form if all uses of Op are 330 void Scalarizer::gather(Instruction *Op, const ValueVector &CV) { 331 // Since we're not deleting Op yet, stub out its operands, so that it 333 for (unsigned I = 0, E = Op->getNumOperands(); I != E; ++I) 334 Op->setOperand(I, UndefValue::get(Op->getOperand(I)->getType())) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
PredicateInfo.cpp | 260 // Convert the uses of Op into a vector of uses, associating global and local 263 Value *Op, SmallVectorImpl<ValueDFS> &DFSOrderedSet) { 264 for (auto &U : Op->uses()) { 310 // Add Op, PB to the list of value infos for Op, and mark Op to be renamed. 311 void PredicateInfo::addInfoFor(SmallPtrSetImpl<Value *> &OpsToRename, Value *Op, 313 OpsToRename.insert(Op); 314 auto &OperandInfo = getOrCreateValueInfo(Op); 342 for (auto *Op : CmpOperands) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/ |
AsmWriterEmitter.cpp | 205 for (unsigned Op = 1; ; ++Op) { 210 if (FirstInst.Operands.size() == Op) 218 return OtherInst.Operands.size() == Op || 219 OtherInst.Operands[Op] != FirstInst.Operands[Op]; 226 FirstInst.Operands[Op].getCode(PassSubtarget) + "\n"; 623 void addOperand(StringRef Op, int OpIdx, int PrintMethodIdx = -1) { 627 OpMap[Op] = std::make_pair(OpIdx, PrintMethodIdx); 630 bool isOpMapped(StringRef Op) { return OpMap.find(Op) != OpMap.end(); [all...] |
/external/capstone/arch/X86/ |
X86ATTInstPrinter.c | 49 static void printMemReference(MCInst *MI, unsigned Op, SStream *O); 164 static void printSSECC(MCInst *MI, unsigned Op, SStream *OS) 166 int64_t Imm = MCOperand_getImm(MCInst_getOperand(MI, Op)) & 7; 188 static void printAVXCC(MCInst *MI, unsigned Op, SStream *O) 190 int64_t Imm = MCOperand_getImm(MCInst_getOperand(MI, Op)) & 0x1f; 228 static void printRoundingControl(MCInst *MI, unsigned Op, SStream *O) 230 int64_t Imm = MCOperand_getImm(MCInst_getOperand(MI, Op)) & 0x3; 247 MCOperand *Op = MCInst_getOperand(MI, OpNo); 248 if (MCOperand_isReg(Op)) { 249 printRegName(O, MCOperand_getReg(Op)); [all...] |
X86IntelInstPrinter.c | 48 static void printMemReference(MCInst *MI, unsigned Op, SStream *O); 186 static void printSSECC(MCInst *MI, unsigned Op, SStream *OS) 188 int64_t Imm = MCOperand_getImm(MCInst_getOperand(MI, Op)) & 7; 210 static void printAVXCC(MCInst *MI, unsigned Op, SStream *O) 212 int64_t Imm = MCOperand_getImm(MCInst_getOperand(MI, Op)) & 0x1f; 250 static void printRoundingControl(MCInst *MI, unsigned Op, SStream *O) 252 int64_t Imm = MCOperand_getImm(MCInst_getOperand(MI, Op)) & 0x3; 273 MCOperand *Op = MCInst_getOperand(MI, OpNo); 274 if (MCOperand_isReg(Op)) { 275 printRegName(O, MCOperand_getReg(Op)); [all...] |
/external/skia/src/core/ |
SkLiteDL.cpp | 44 // Helper for getting back at arrays which have been copy_v'd together after an Op. 46 static const D* pod(const T* op, size_t offset = 0) { 47 return SkTAddOffset<const D>(op+1, offset); 66 struct Op { 70 static_assert(sizeof(Op) == 4, ""); 72 struct Flush final : Op { 77 struct Save final : Op { 81 struct Restore final : Op { 85 struct SaveLayer final : Op { 108 struct SaveBehind final : Op { 145 SkClipOp op; member in struct:__anon38094::final 153 SkClipOp op; member in struct:__anon38094::final 161 SkClipOp op; member in struct:__anon38094::final 169 SkClipOp op; member in struct:__anon38094::final [all...] |
SkRasterClip.cpp | 18 static MutateResult mutate_conservative_op(SkRegion::Op* op, bool inverseFilled) { 20 switch (*op) { 33 *op = SkRegion::kReplace_Op; 39 switch (*op) { 49 // To reverse, we swap in the bounds with a replace op. 51 *op = SkRegion::kReplace_Op; 56 *op = SkRegion::kUnion_Op; 60 SkASSERT(false); // unknown op 65 const SkIRect& devBounds, SkRegion::Op op, bool doAA) 121 result.op(SkRegion(fBounds), SkRegion(devRect), op); local 215 SkRegion::Op op; local 244 bool SkRasterClip::op(const SkRRect& rrect, const SkMatrix& matrix, const SkIRect& devBounds, function in class:SkRasterClip 255 bool SkRasterClip::op(const SkPath& path, const SkMatrix& matrix, const SkIRect& devBounds, function in class:SkRasterClip 306 bool SkRasterClip::op(const SkIRect& rect, SkRegion::Op op) { function in class:SkRasterClip 313 bool SkRasterClip::op(const SkRegion& rgn, SkRegion::Op op) { function in class:SkRasterClip 326 bool SkRasterClip::op(const SkRasterClip& clip, SkRegion::Op op) { function in class:SkRasterClip 363 bool SkRasterClip::op(const SkRect& localRect, const SkMatrix& matrix, const SkIRect& devBounds, function in class:SkRasterClip [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
ARMCodeEmitter.cpp | 172 unsigned getAdrLabelOpValue(const MachineInstr &MI, unsigned Op) 174 unsigned getThumbAdrLabelOpValue(const MachineInstr &MI, unsigned Op) 176 unsigned getThumbBLTargetOpValue(const MachineInstr &MI, unsigned Op) 178 unsigned getThumbBLXTargetOpValue(const MachineInstr &MI, unsigned Op) 180 unsigned getThumbBRTargetOpValue(const MachineInstr &MI, unsigned Op) 182 unsigned getThumbBCCTargetOpValue(const MachineInstr &MI, unsigned Op) 184 unsigned getThumbCBTargetOpValue(const MachineInstr &MI, unsigned Op) 186 unsigned getBranchTargetOpValue(const MachineInstr &MI, unsigned Op) 189 unsigned Op) const { return 0; } 190 unsigned getARMBranchTargetOpValue(const MachineInstr &MI, unsigned Op) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/ |
AVRISelLowering.cpp | 270 SDValue AVRTargetLowering::LowerShifts(SDValue Op, SelectionDAG &DAG) const { 274 const SDNode *N = Op.getNode(); 275 EVT VT = Op.getValueType(); 280 switch (Op.getOpcode()) { 304 switch (Op.getOpcode()) { 331 SDValue AVRTargetLowering::LowerDivRem(SDValue Op, SelectionDAG &DAG) const { 332 unsigned Opcode = Op->getOpcode(); 336 EVT VT = Op->getValueType(0); 364 for (SDValue const &Value : Op->op_values()) { 377 SDLoc dl(Op); [all...] |
/external/skqp/src/core/ |
SkRasterClip.cpp | 18 static MutateResult mutate_conservative_op(SkRegion::Op* op, bool inverseFilled) { 20 switch (*op) { 33 *op = SkRegion::kReplace_Op; 39 switch (*op) { 49 // To reverse, we swap in the bounds with a replace op. 51 *op = SkRegion::kReplace_Op; 56 *op = SkRegion::kUnion_Op; 60 SkASSERT(false); // unknown op 65 const SkIRect& devBounds, SkRegion::Op op, bool doAA) 121 result.op(SkRegion(fBounds), SkRegion(devRect), op); local 215 SkRegion::Op op; local 244 bool SkRasterClip::op(const SkRRect& rrect, const SkMatrix& matrix, const SkIRect& devBounds, function in class:SkRasterClip 255 bool SkRasterClip::op(const SkPath& path, const SkMatrix& matrix, const SkIRect& devBounds, function in class:SkRasterClip 306 bool SkRasterClip::op(const SkIRect& rect, SkRegion::Op op) { function in class:SkRasterClip 313 bool SkRasterClip::op(const SkRegion& rgn, SkRegion::Op op) { function in class:SkRasterClip 326 bool SkRasterClip::op(const SkRasterClip& clip, SkRegion::Op op) { function in class:SkRasterClip 363 bool SkRasterClip::op(const SkRect& localRect, const SkMatrix& matrix, const SkIRect& devBounds, function in class:SkRasterClip [all...] |
SkLiteDL.cpp | 44 // Helper for getting back at arrays which have been copy_v'd together after an Op. 46 static const D* pod(const T* op, size_t offset = 0) { 47 return SkTAddOffset<const D>(op+1, offset); 66 struct Op { 70 static_assert(sizeof(Op) == 4, ""); 72 struct Flush final : Op { 77 struct Save final : Op { 81 struct Restore final : Op { 85 struct SaveLayer final : Op { 108 struct SaveBehind final : Op { 145 SkClipOp op; member in struct:__anon38897::final 153 SkClipOp op; member in struct:__anon38897::final 161 SkClipOp op; member in struct:__anon38897::final 169 SkClipOp op; member in struct:__anon38897::final [all...] |
/external/tensorflow/tensorflow/core/framework/ |
variant_op_registry.h | 112 // Add a unary op function to the registry. 113 void RegisterUnaryOpFn(VariantUnaryOp op, const string& device, 117 // Returns nullptr if no unary op function was found for the given 118 // op, device, and TypeName. 119 VariantUnaryOpFn* GetUnaryOpFn(VariantUnaryOp op, StringPiece device, 122 // Add a binary op function to the registry. 123 void RegisterBinaryOpFn(VariantBinaryOp op, const string& device, 127 // Returns nullptr if no binary op function was found for the given 128 // op, device and TypeName. 129 VariantBinaryOpFn* GetBinaryOpFn(VariantBinaryOp op, StringPiece device [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/ARM/AsmParser/ |
ARMAsmParser.cpp | 150 StringRef Op, int Low, int High); [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
MipsISelLowering.cpp | 638 // Returns Op if setcc is not a floating point comparison. 639 static SDValue createFPCmp(SelectionDAG &DAG, const SDValue &Op) { 641 if (Op.getOpcode() != ISD::SETCC) 642 return Op; 644 SDValue LHS = Op.getOperand(0); 647 return Op; 649 SDValue RHS = Op.getOperand(1); 650 SDLoc DL(Op); 654 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(2))->get(); [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/ |
InstrTypes.h | 96 : Instruction(Ty, iType, &Op<0>(), 1, IB) { 97 Op<0>() = V; 100 : Instruction(Ty, iType, &Op<0>(), 1, IAE) { 101 Op<0>() = V; 163 static BinaryOperator *Create(BinaryOps Op, Value *S1, Value *S2, 171 static BinaryOperator *Create(BinaryOps Op, Value *S1, Value *S2, 289 static BinaryOperator *CreateNeg(Value *Op, const Twine &Name = "", 291 static BinaryOperator *CreateNeg(Value *Op, const Twine &Name, 293 static BinaryOperator *CreateNSWNeg(Value *Op, const Twine &Name = "", 295 static BinaryOperator *CreateNSWNeg(Value *Op, const Twine &Name [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/MCTargetDesc/ |
ARMMCCodeEmitter.cpp | 278 unsigned getCCOutOpValue(const MCInst &MI, unsigned Op, 283 return MI.getOperand(Op).getReg() == ARM::CPSR; 287 unsigned getSOImmOpValue(const MCInst &MI, unsigned Op, 290 const MCOperand &MO = MI.getOperand(Op); 320 unsigned getModImmOpValue(const MCInst &MI, unsigned Op, 323 const MCOperand &MO = MI.getOperand(Op); 339 unsigned getT2SOImmOpValue(const MCInst &MI, unsigned Op, 342 const MCOperand &MO = MI.getOperand(Op); 369 unsigned getSORegRegOpValue(const MCInst &MI, unsigned Op, 372 unsigned getSORegImmOpValue(const MCInst &MI, unsigned Op, [all...] |