Lines Matching defs:const

49         size_t size() const;
79 void bytes(const void*, int);
409 void imm_byte_after_operand(const Operand&, int byte);
483 static const Val NA = -1;
504 explicit operator bool() const { return id != NA; }
505 Builder* operator->() const { return builder; }
511 explicit operator bool() const { return id != NA; }
512 Builder* operator->() const { return builder; }
517 explicit operator bool() const { return r && g && b && a; }
518 Builder* operator->() const { return a.operator->(); }
523 explicit operator bool() const { return h && s && l && a; }
524 Builder* operator->() const { return a.operator->(); }
529 explicit operator bool() const { return x && y; }
530 Builder* operator->() const { return x.operator->(); }
554 Uniform pushPtr(const void* ptr) {
588 bool operator==(const Instruction&, const Instruction&);
590 uint32_t operator()(const Instruction&, uint32_t seed=0) const;
613 Program done(const char* debug_name = nullptr, bool allow_jit=true) const;
616 std::vector<Instruction> program() const { return fProgram; }
617 std::vector<OptimizedInstruction> optimize() const;
950 void dump(SkWStream* = nullptr) const;
952 uint64_t hash() const;
956 bool allImm() const { return true; }
959 bool allImm(Val id, T* imm, Rest... rest) const {
968 bool allUniform() const { return true; }
971 bool allUniform(Val id, Uniform* uni, Rest... rest) const {
990 bool isImm(Val id, T want) const {
998 const Features fFeatures;
1017 Program(const std::vector<OptimizedInstruction>& instructions,
1018 const std::vector<int>& strides,
1019 const char* debug_name, bool allow_jit);
1027 Program(const Program&) = delete;
1028 Program& operator=(const Program&) = delete;
1030 void eval(int n, void* args[]) const;
1033 void eval(int n, T*... arg) const {
1040 std::vector<InterpreterInstruction> instructions() const;
1041 int nargs() const;
1042 int nregs() const;
1043 int loop () const;
1044 bool empty() const;
1046 bool hasJIT() const; // Has this Program been JITted?
1048 void dump(SkWStream* = nullptr) const;
1049 void disassemble(SkWStream* = nullptr) const;
1052 void setupInterpreter(const std::vector<OptimizedInstruction>&);
1053 void setupJIT (const std::vector<OptimizedInstruction>&, const char* debug_name);
1054 void setupLLVM (const std::vector<OptimizedInstruction>&, const char* debug_name);
1056 bool jit(const std::vector<OptimizedInstruction>&,
1058 Assembler*) const;
1060 void waitForLLVM() const;