Lines Matching defs:bool
467 static inline bool has_side_effect(Op op) {
470 static inline bool touches_varying_memory(Op op) {
473 static inline bool is_always_varying(Op op) {
476 static inline bool is_trace(Op op) {
499 bool operator!=(Ptr a, Ptr b);
504 explicit operator bool() const { return id != NA; }
511 explicit operator bool() const { return id != NA; }
517 explicit operator bool() const { return r && g && b && a; }
523 explicit operator bool() const { return h && s && l && a; }
529 explicit operator bool() const { return x && y; }
588 bool operator==(const Instruction&, const Instruction&);
599 bool can_hoist;
603 bool fma = false;
604 bool fp16 = false;
613 Program done(const char* debug_name = nullptr, bool allow_jit=true) const;
638 void trace_var(I32 mask, int slot, bool b);
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 {
1019 const char* debug_name, bool allow_jit);
1044 bool empty() const;
1046 bool hasJIT() const; // Has this Program been JITted?
1056 bool jit(const std::vector<OptimizedInstruction>&,