Home
last modified time | relevance | path

Searched refs:SubInst (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/llvm/unittests/Transforms/Utils/
DCodeMoverUtilsTest.cpp581 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()
DCloningTest.cpp227 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/
DHexagonMCELFStreamer.cpp60 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/
DBasicBlockTest.cpp122 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/
DLoopIdiomRecognize.cpp1044 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/
DHexagonAsmParser.cpp644 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/
DHexagonAsmParser.cpp637 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/
DHexagonAsmParser.cpp849 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()