Home
last modified time | relevance | path

Searched refs:LHS (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/include/utils/
DDebug.h39 template<typename LHS, typename RHS>
40 struct CompileTimeIfElse<true, LHS, RHS> { typedef LHS TYPE; };
41 template<typename LHS, typename RHS>
42 struct CompileTimeIfElse<false, LHS, RHS> { typedef RHS TYPE; };
/frameworks/compile/libbcc/lib/CodeGen/
DCodeEmitter.cpp369 llvm::GenericValue LHS, RHS; in GetConstantValue() local
370 GetConstantValue(Op0, LHS); in GetConstantValue()
377 Result.IntVal = LHS.IntVal + RHS.IntVal; in GetConstantValue()
381 Result.IntVal = LHS.IntVal - RHS.IntVal; in GetConstantValue()
385 Result.IntVal = LHS.IntVal * RHS.IntVal; in GetConstantValue()
389 Result.IntVal = LHS.IntVal.udiv(RHS.IntVal); in GetConstantValue()
393 Result.IntVal = LHS.IntVal.sdiv(RHS.IntVal); in GetConstantValue()
397 Result.IntVal = LHS.IntVal.urem(RHS.IntVal); in GetConstantValue()
401 Result.IntVal = LHS.IntVal.srem(RHS.IntVal); in GetConstantValue()
405 Result.IntVal = LHS.IntVal & RHS.IntVal; in GetConstantValue()
[all …]
/frameworks/base/include/private/ui/
DRegionHelper.h40 static const uint32_t LHS = 0x5; // 0b101
43 op_nand = LHS & ~RHS,
44 op_and = LHS & RHS,
45 op_or = LHS | RHS,
46 op_xor = LHS ^ RHS
/frameworks/compile/slang/BitWriter_2_9/
DValueEnumerator.cpp138 bool operator()(const std::pair<const Value*, unsigned> &LHS, in operator ()()
141 if (LHS.first->getType() != RHS.first->getType()) in operator ()()
142 return VE.getTypeID(LHS.first->getType()) < in operator ()()
145 return LHS.second > RHS.second; in operator ()()
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp1336 Constant *LHS = ValueList.getConstantFwdRef(Record[1], CurTy); in ParseConstants() local
1356 V = ConstantExpr::get(Opc, LHS, RHS, Flags); in ParseConstants()
2159 Value *LHS, *RHS; in ParseFunctionBody() local
2160 if (getValueTypePair(Record, OpNum, NextValueNo, LHS) || in ParseFunctionBody()
2161 getValue(Record, OpNum, LHS->getType(), RHS) || in ParseFunctionBody()
2165 int Opc = GetDecodedBinaryOpcode(Record[OpNum++], LHS->getType()); in ParseFunctionBody()
2167 I = BinaryOperator::Create((Instruction::BinaryOps)Opc, LHS, RHS); in ParseFunctionBody()
2358 Value *LHS, *RHS; in ParseFunctionBody() local
2359 if (getValueTypePair(Record, OpNum, NextValueNo, LHS) || in ParseFunctionBody()
2360 getValue(Record, OpNum, LHS->getType(), RHS) || in ParseFunctionBody()
[all …]
/frameworks/compile/slang/
Dslang_rs_object_ref_count.cpp829 clang::Expr *LHS,
993 clang::Expr *LHS, in CreateStructRSSetObject() argument
997 clang::QualType QT = LHS->getType(); in CreateStructRSSetObject()
1031 LHS, in CreateStructRSSetObject()
1088 new(C) clang::BinaryOperator(LHS, RHS, clang::BO_Assign, QT, in CreateStructRSSetObject()