/external/llvm-project/llvm/unittests/Transforms/Utils/ |
D | CodeMoverUtilsTest.cpp | 581 Instruction *SubInst = getInstructionByName(F, "sub"); in TEST() local 584 EXPECT_FALSE(isSafeToMoveBefore(*AddInst, *SubInst, DT, &PDT, &DI)); in TEST() 588 EXPECT_FALSE(isSafeToMoveBefore(*SubInst, *AddInst, DT, &PDT, &DI)); in TEST() 646 Instruction *SubInst = getInstructionByName(F, "sub"); in TEST() local 649 EXPECT_FALSE(isSafeToMoveBefore(*AddInst, *SubInst, DT, &PDT, &DI)); in TEST() 653 EXPECT_FALSE(isSafeToMoveBefore(*SubInst, *AddInst, DT, &PDT, &DI)); in TEST()
|
D | CloningTest.cpp | 227 Instruction *SubInst = cast<Instruction>(Builder2.CreateSub(MulInst, V)); in TEST_F() local 234 DuplicateInstructionsInSplitBetween(BB2, BB1, SubInst, Mapping, DTU); in TEST_F() 276 Instruction *SubInst = cast<Instruction>(Builder2.CreateSub(MulInst, V)); in TEST_F() local 289 EXPECT_TRUE(Mapping.find(SubInst) != Mapping.end()); in TEST_F() 303 auto SubSplit = dyn_cast<Instruction>(Mapping[SubInst]); in TEST_F() 329 Instruction *SubInst = cast<Instruction>(Builder2.CreateSub(MulInst, V)); in TEST_F() local 336 DuplicateInstructionsInSplitBetween(BB2, BB2, SubInst, Mapping, DTU); in TEST_F()
|
/external/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonMCELFStreamer.cpp | 60 MCInst *SubInst = const_cast<MCInst *>(MCI->getOperand(1).getInst()); in EmitInstruction() local 61 HexagonMCInstrInfo::clampExtended(*MCII, getContext(), *SubInst); in EmitInstruction()
|
/external/llvm-project/llvm/unittests/IR/ |
D | BasicBlockTest.cpp | 122 Instruction *SubInst = cast<Instruction>(Builder1.CreateSub(MulInst, V)); in TEST() local 125 SmallVector<Instruction *, 4> Exp = {Var, AddInst, MulInst, SubInst}; in TEST()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopIdiomRecognize.cpp | 1044 Instruction *SubInst = cast<Instruction>(SubOneOp); in detectPopcountIdiom() local 1045 ConstantInt *Dec = dyn_cast<ConstantInt>(SubInst->getOperand(1)); in detectPopcountIdiom() 1047 !((SubInst->getOpcode() == Instruction::Sub && Dec->isOne()) || in detectPopcountIdiom() 1048 (SubInst->getOpcode() == Instruction::Add && in detectPopcountIdiom()
|
/external/llvm-project/llvm/lib/Target/Hexagon/AsmParser/ |
D | HexagonAsmParser.cpp | 644 MCInst *SubInst = getParser().getContext().createMCInst(); in MatchAndEmitInstruction() local 645 if (matchOneInstruction(*SubInst, IDLoc, Operands, ErrorInfo, in MatchAndEmitInstruction() 652 getParser().getContext(), MII, MCB, *SubInst); in MatchAndEmitInstruction() 653 MCB.addOperand(MCOperand::createInst(SubInst)); in MatchAndEmitInstruction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/AsmParser/ |
D | HexagonAsmParser.cpp | 637 MCInst *SubInst = new (getParser().getContext()) MCInst; in MatchAndEmitInstruction() local 638 if (matchOneInstruction(*SubInst, IDLoc, Operands, ErrorInfo, in MatchAndEmitInstruction() 645 getParser().getContext(), MII, MCB, *SubInst); in MatchAndEmitInstruction() 646 MCB.addOperand(MCOperand::createInst(SubInst)); in MatchAndEmitInstruction()
|
/external/llvm/lib/Target/Hexagon/AsmParser/ |
D | HexagonAsmParser.cpp | 849 MCInst *SubInst = new (getParser().getContext()) MCInst; in MatchAndEmitInstruction() local 850 if (matchOneInstruction(*SubInst, IDLoc, Operands, ErrorInfo, in MatchAndEmitInstruction() 854 getParser().getContext(), MCII, MCB, *SubInst); in MatchAndEmitInstruction() 855 MCB.addOperand(MCOperand::createInst(SubInst)); in MatchAndEmitInstruction()
|