Home
last modified time | relevance | path

Searched refs:LHSv (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/llvm/lib/TableGen/
DRecord.cpp1067 int64_t LHSv = LHSi->getValue(), RHSv = RHSi->getValue(); in Fold() local
1071 case ADD: Result = LHSv + RHSv; break; in Fold()
1072 case SUB: Result = LHSv - RHSv; break; in Fold()
1073 case MUL: Result = LHSv * RHSv; break; in Fold()
1074 case AND: Result = LHSv & RHSv; break; in Fold()
1075 case OR: Result = LHSv | RHSv; break; in Fold()
1076 case XOR: Result = LHSv ^ RHSv; break; in Fold()
1077 case SHL: Result = (uint64_t)LHSv << (uint64_t)RHSv; break; in Fold()
1078 case SRA: Result = LHSv >> RHSv; break; in Fold()
1079 case SRL: Result = (uint64_t)LHSv >> (uint64_t)RHSv; break; in Fold()
[all …]
/external/llvm/lib/TableGen/
DRecord.cpp872 int64_t LHSv = LHSi->getValue(), RHSv = RHSi->getValue(); in Fold() local
876 case ADD: Result = LHSv + RHSv; break; in Fold()
877 case AND: Result = LHSv & RHSv; break; in Fold()
878 case SHL: Result = LHSv << RHSv; break; in Fold()
879 case SRA: Result = LHSv >> RHSv; break; in Fold()
880 case SRL: Result = (uint64_t)LHSv >> (uint64_t)RHSv; break; in Fold()
1046 VarInit *LHSv = dyn_cast<VarInit>(LHS); in Fold() local
1063 if (LHSv && MHSv && RHSv) { in Fold()
1065 if (LHSv->getAsString() == RHSv->getAsString()) in Fold()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DRecord.cpp1025 int64_t LHSv = LHSi->getValue(), RHSv = RHSi->getValue(); in Fold() local
1029 case ADD: Result = LHSv + RHSv; break; in Fold()
1030 case MUL: Result = LHSv * RHSv; break; in Fold()
1031 case AND: Result = LHSv & RHSv; break; in Fold()
1032 case OR: Result = LHSv | RHSv; break; in Fold()
1033 case SHL: Result = LHSv << RHSv; break; in Fold()
1034 case SRA: Result = LHSv >> RHSv; break; in Fold()
1035 case SRL: Result = (uint64_t)LHSv >> (uint64_t)RHSv; break; in Fold()
1168 VarInit *LHSv = dyn_cast<VarInit>(LHS); in Fold() local
1185 if (LHSv && MHSv && RHSv) { in Fold()
[all …]
/external/llvm-project/llvm/utils/TableGen/
DSearchableTableEmitter.cpp264 int64_t LHSv = Field.Enum->EntryMap[LHSr]->second; in compareBy() local
266 if (LHSv < RHSv) in compareBy()
268 if (LHSv > RHSv) in compareBy()