Home
last modified time | relevance | path

Searched refs:RHS (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/include/utils/
DDebug.h38 template<bool C, typename LSH, typename RHS> struct CompileTimeIfElse;
39 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
371 GetConstantValue(CE->getOperand(1), RHS); 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.h41 static const uint32_t RHS = 0x6; // 0b110 variable
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.cpp139 const std::pair<const Value*, unsigned> &RHS) { in operator ()()
141 if (LHS.first->getType() != RHS.first->getType()) in operator ()()
143 VE.getTypeID(RHS.first->getType()); in operator ()()
145 return LHS.second > RHS.second; in operator ()()
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp1337 Constant *RHS = ValueList.getConstantFwdRef(Record[2], CurTy); in ParseConstants() local
1356 V = ConstantExpr::get(Opc, LHS, RHS, Flags); in ParseConstants()
2159 Value *LHS, *RHS; in ParseFunctionBody() local
2161 getValue(Record, OpNum, LHS->getType(), RHS) || in ParseFunctionBody()
2167 I = BinaryOperator::Create((Instruction::BinaryOps)Opc, LHS, RHS); in ParseFunctionBody()
2358 Value *LHS, *RHS; in ParseFunctionBody() local
2360 getValue(Record, OpNum, LHS->getType(), RHS) || in ParseFunctionBody()
2365 I = new FCmpInst((FCmpInst::Predicate)Record[OpNum], LHS, RHS); in ParseFunctionBody()
2367 I = new ICmpInst((ICmpInst::Predicate)Record[OpNum], LHS, RHS); in ParseFunctionBody()
/frameworks/compile/slang/
Dslang_rs_object_ref_count.cpp830 clang::Expr *RHS,
994 clang::Expr *RHS, in CreateStructRSSetObject() argument
1044 RHS, in CreateStructRSSetObject()
1088 new(C) clang::BinaryOperator(LHS, RHS, clang::BO_Assign, QT, in CreateStructRSSetObject()
Dslang_rs_export_type.cpp1232 const RSExportConstantArrayType *RHS = in equals() local
1234 return ((getSize() == RHS->getSize()) && in equals()
1235 (getElementType()->equals(RHS->getElementType()))); in equals()