/external/llvm/lib/Transforms/Scalar/ |
D | EarlyCSE.cpp | 140 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst; in isEqual() local 143 return LHSI == RHSI; in isEqual() 145 if (LHSI->getOpcode() != RHSI->getOpcode()) in isEqual() 147 if (LHSI->isIdenticalToWhenDefined(RHSI)) in isEqual() 155 assert(isa<BinaryOperator>(RHSI) && in isEqual() 157 BinaryOperator *RHSBinOp = cast<BinaryOperator>(RHSI); in isEqual() 164 assert(isa<CmpInst>(RHSI) && in isEqual() 166 CmpInst *RHSCmp = cast<CmpInst>(RHSI); in isEqual() 230 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst; in isEqual() local 232 return LHSI == RHSI; in isEqual() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | InstructionSelector.cpp | 67 MachineInstr *RHSI = MRI.getVRegDef(RHS.getReg()); in isBaseWithConstantOffset() local 68 if (RHSI->getOpcode() != TargetOpcode::G_CONSTANT) in isBaseWithConstantOffset()
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | InstructionSelector.cpp | 67 MachineInstr *RHSI = MRI.getVRegDef(RHS.getReg()); in isBaseWithConstantOffset() local 68 if (RHSI->getOpcode() != TargetOpcode::G_CONSTANT) in isBaseWithConstantOffset()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | EarlyCSE.cpp | 304 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst; in isEqualImpl() local 307 return LHSI == RHSI; in isEqualImpl() 309 if (LHSI->getOpcode() != RHSI->getOpcode()) in isEqualImpl() 311 if (LHSI->isIdenticalToWhenDefined(RHSI)) in isEqualImpl() 319 assert(isa<BinaryOperator>(RHSI) && in isEqualImpl() 321 BinaryOperator *RHSBinOp = cast<BinaryOperator>(RHSI); in isEqualImpl() 328 assert(isa<CmpInst>(RHSI) && in isEqualImpl() 330 CmpInst *RHSCmp = cast<CmpInst>(RHSI); in isEqualImpl() 343 matchSelectWithOptionalNotCond(RHSI, CondR, RHSA, RHSB, RSPF)) { in isEqualImpl() 461 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst; in isEqual() local [all …]
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | EarlyCSE.cpp | 302 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst; in isEqualImpl() local 305 return LHSI == RHSI; in isEqualImpl() 307 if (LHSI->getOpcode() != RHSI->getOpcode()) in isEqualImpl() 309 if (LHSI->isIdenticalToWhenDefined(RHSI)) in isEqualImpl() 317 assert(isa<BinaryOperator>(RHSI) && in isEqualImpl() 319 BinaryOperator *RHSBinOp = cast<BinaryOperator>(RHSI); in isEqualImpl() 326 assert(isa<CmpInst>(RHSI) && in isEqualImpl() 328 CmpInst *RHSCmp = cast<CmpInst>(RHSI); in isEqualImpl() 337 auto *RII = dyn_cast<IntrinsicInst>(RHSI); in isEqualImpl() 350 matchSelectWithOptionalNotCond(RHSI, CondR, RHSA, RHSB, RSPF)) { in isEqualImpl() [all …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/llvm/ |
D | IncludeOrderCheck.cpp | 126 [&FileDirectives](unsigned LHSI, unsigned RHSI) { in EndOfMainFile() argument 128 IncludeDirective &RHS = FileDirectives[RHSI]; in EndOfMainFile()
|
/external/llvm-project/llvm/utils/TableGen/ |
D | SearchableTableEmitter.cpp | 226 Init *RHSI = RHS->getValueInit(Field.Name); in compareBy() local 230 int64_t RHSi = getAsInt(RHSI); in compareBy() 237 CodeGenIntrinsic &RHSi = getIntrinsic(RHSI); in compareBy() 247 Record *RHSr = cast<DefInit>(RHSI)->getDef(); in compareBy() 263 auto RHSr = cast<DefInit>(RHSI)->getDef(); in compareBy() 272 std::string RHSs = primaryRepresentation(Index.Loc, Field, RHSI); in compareBy()
|
/external/clang/lib/Format/ |
D | SortJavaScriptImports.cpp | 147 [&](unsigned LHSI, unsigned RHSI) { in analyze() argument 148 return References[LHSI] < References[RHSI]; in analyze()
|
D | Format.cpp | 1227 Indices.begin(), Indices.end(), [&](unsigned LHSI, unsigned RHSI) { in sortCppIncludes() argument 1229 std::tie(Includes[RHSI].Category, Includes[RHSI].Filename); in sortCppIncludes()
|
/external/llvm-project/clang/lib/Format/ |
D | SortJavaScriptImports.cpp | 144 llvm::stable_sort(Indices, [&](unsigned LHSI, unsigned RHSI) { in analyze() argument 145 return References[LHSI] < References[RHSI]; in analyze()
|
D | Format.cpp | 2171 llvm::stable_sort(Indices, [&](unsigned LHSI, unsigned RHSI) { in sortCppIncludes() argument 2173 std::tie(Includes[RHSI].Priority, Includes[RHSI].Filename); in sortCppIncludes() 2186 [&](unsigned LHSI, unsigned RHSI) { in sortCppIncludes() argument 2188 Includes[RHSI].Text.trim(); in sortCppIncludes() 2355 llvm::sort(Indices, [&](unsigned LHSI, unsigned RHSI) { in sortJavaImports() argument 2360 std::make_tuple(!Imports[RHSI].IsStatic ^ in sortJavaImports() 2362 JavaImportGroups[RHSI], Imports[RHSI].Identifier); in sortJavaImports() 2367 [&](unsigned LHSI, unsigned RHSI) { in sortJavaImports() argument 2368 return Imports[LHSI].Text == Imports[RHSI].Text; in sortJavaImports()
|