Home
last modified time | relevance | path

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

/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/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
DCloning.cpp224 Instruction *SubInst = cast<Instruction>(Builder2.CreateSub(MulInst, V)); in TEST_F() local
229 auto Split = DuplicateInstructionsInSplitBetween(BB2, BB1, SubInst, Mapping); in TEST_F()
271 Instruction *SubInst = cast<Instruction>(Builder2.CreateSub(MulInst, V)); in TEST_F() local
282 EXPECT_TRUE(Mapping.find(SubInst) != Mapping.end()); in TEST_F()
296 auto SubSplit = dyn_cast<Instruction>(Mapping[SubInst]); in TEST_F()
322 Instruction *SubInst = cast<Instruction>(Builder2.CreateSub(MulInst, V)); in TEST_F() local
327 auto Split = DuplicateInstructionsInSplitBetween(BB2, BB2, SubInst, Mapping); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DBasicBlockTest.cpp120 Instruction *SubInst = cast<Instruction>(Builder1.CreateSub(MulInst, V)); in TEST() local
123 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp639 MCInst *SubInst = new (getParser().getContext()) MCInst; in MatchAndEmitInstruction() local
640 if (matchOneInstruction(*SubInst, IDLoc, Operands, ErrorInfo, in MatchAndEmitInstruction()
647 getParser().getContext(), MII, MCB, *SubInst); in MatchAndEmitInstruction()
648 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()