Home
last modified time | relevance | path

Searched refs:isTrue (Results 1 – 9 of 9) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/stdcpp/
H A Dallocator.d219 import core.internal.traits : isTrue; in allocator_traits()
233 …enum propagate_on_container_copy_assignment = isTrue!(allocator_type, "propagate_on_container_copy… in allocator_traits()
235 …enum propagate_on_container_move_assignment = isTrue!(allocator_type, "propagate_on_container_move… in allocator_traits()
237 enum propagate_on_container_swap = isTrue!(allocator_type, "propagate_on_container_swap"); in allocator_traits()
239 enum is_always_equal = isTrue!(allocator_type, "is_always_equal"); in allocator_traits()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/
H A Dtraits.d782 enum isTrue(Type, string member) = __traits(compiles, { static if (__traits(getMember, Type, member…
798 static assert( isTrue!(T, "a"));
799 static assert(!isTrue!(T, "b"));
800 static assert( isTrue!(T, "c"));
801 static assert( isTrue!(T, "d"));
802 static assert( isTrue!(T, "e"));
803 static assert( isTrue!(T, "f"));
804 static assert(!isTrue!(T, "g"));
805 static assert(!isTrue!(T, "h"));
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCChecker.cpp67 bool &isTrue) { in initReg() argument
71 isTrue = HexagonMCInstrInfo::isPredicatedTrue(MCII, MCI); in initReg()
92 bool isTrue = false; in init() local
97 initReg(MCI, MCI.getOperand(i).getReg(), PredReg, isTrue); in init()
99 initReg(MCI, MCID.getImplicitUses()[i], PredReg, isTrue); in init()
127 Defs[R].insert(PredSense(PredReg, isTrue)); in init()
182 Defs[*SRI].insert(PredSense(PredReg, isTrue)); in init()
H A DHexagonMCChecker.h81 void initReg(MCInst const &, unsigned, unsigned &PredReg, bool &isTrue);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DCFG.cpp391 bool isTrue() const { return X == 1; } in isTrue() function in __anon654da8e80211::TryResult
406 return TryResult(R1.isTrue() && R2.isTrue()); in bothKnownTrue()
1119 AlwaysTrue &= (Res1.isTrue() && Res2.isTrue()); in checkIncorrectLogicOperator()
1120 AlwaysFalse &= !(Res1.isTrue() && Res2.isTrue()); in checkIncorrectLogicOperator()
1122 AlwaysTrue &= (Res1.isTrue() || Res2.isTrue()); in checkIncorrectLogicOperator()
1123 AlwaysFalse &= !(Res1.isTrue() || Res2.isTrue()); in checkIncorrectLogicOperator()
1126 LHSAlwaysTrue &= Res1.isTrue(); in checkIncorrectLogicOperator()
1128 RHSAlwaysTrue &= Res2.isTrue(); in checkIncorrectLogicOperator()
1234 if (LHS.isTrue() == (Bop->getOpcode() == BO_LOr)) in evaluateAsBooleanConditionNoCache()
1235 return LHS.isTrue(); in evaluateAsBooleanConditionNoCache()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
H A DInclusionRewriter.cpp474 bool isTrue = IsIfAtLocationTrue(RawToken.getLocation()); in Process() local
498 OS << (elif ? "#elif " : "#if ") << (isTrue ? "1" : "0") in Process()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DExpr.h4474 void setIsConditionTrue(bool isTrue) { CondIsTrue = isTrue; } in setIsConditionTrue() argument
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp6618 SelectInst *SI, bool isTrue, in getTrueOrFalseValue() argument
6626 V = (isTrue ? DefSI->getTrueValue() : DefSI->getFalseValue()); in getTrueOrFalseValue()
/netbsd-src/external/public-domain/sqlite/dist/
H A Dsqlite3.c113133 int isTrue; /* IS TRUE or IS NOT TRUE */
113137 isTrue = sqlite3ExprTruthValue(pExpr->pRight);
113139 testcase( isTrue && bNormal);
113140 testcase( !isTrue && bNormal);
113141 sqlite3VdbeAddOp4Int(v, OP_IsTrue, r1, inReg, !isTrue, isTrue ^ bNormal);
113964 int isTrue; /* IS TRUE or IS NOT TRUE */
113967 isTrue = sqlite3ExprTruthValue(pExpr->pRight);
113968 testcase( isTrue && isNot );
113969 testcase( !isTrue && isNot );
113970 if( isTrue ^ isNot ){
[all …]