reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/Transforms/Utils/CloningTest.cpp
   35   void SetUp() override { V = nullptr; }
   56     if (V)
   57       V->deleteValue();
   68   V = new Argument(Type::getInt32Ty(context));
   70   BinaryOperator *Add = BinaryOperator::Create(Instruction::Add, V, V);
   70   BinaryOperator *Add = BinaryOperator::Create(Instruction::Add, V, V);
   71   BinaryOperator *Sub = BinaryOperator::Create(Instruction::Sub, V, V);
   71   BinaryOperator *Sub = BinaryOperator::Create(Instruction::Sub, V, V);
   72   BinaryOperator *Mul = BinaryOperator::Create(Instruction::Mul, V, V);
   72   BinaryOperator *Mul = BinaryOperator::Create(Instruction::Mul, V, V);
  138   V = new Argument(Type::getInt32PtrTy(context));
  144       GetElementPtrInst::Create(Type::getInt32Ty(context), V, ops);
  152   V = new Argument(Type::getInt32Ty(context));
  154   BinaryOperator *SDiv = BinaryOperator::Create(Instruction::SDiv, V, V);
  154   BinaryOperator *SDiv = BinaryOperator::Create(Instruction::SDiv, V, V);
  212   V = new Argument(Type::getInt32Ty(context));
  224   Instruction *AddInst = cast<Instruction>(Builder2.CreateAdd(V, V));
  224   Instruction *AddInst = cast<Instruction>(Builder2.CreateAdd(V, V));
  225   Instruction *MulInst = cast<Instruction>(Builder2.CreateMul(AddInst, V));
  226   Instruction *SubInst = cast<Instruction>(Builder2.CreateSub(MulInst, V));
  242   EXPECT_EQ(AddSplit->getOperand(0), V);
  243   EXPECT_EQ(AddSplit->getOperand(1), V);
  249   EXPECT_EQ(MulSplit->getOperand(1), V);
  261   V = new Argument(Type::getInt32Ty(context));
  273   Instruction *AddInst = cast<Instruction>(Builder2.CreateAdd(V, V));
  273   Instruction *AddInst = cast<Instruction>(Builder2.CreateAdd(V, V));
  274   Instruction *MulInst = cast<Instruction>(Builder2.CreateMul(AddInst, V));
  275   Instruction *SubInst = cast<Instruction>(Builder2.CreateSub(MulInst, V));
  292   EXPECT_EQ(AddSplit->getOperand(0), V);
  293   EXPECT_EQ(AddSplit->getOperand(1), V);
  299   EXPECT_EQ(MulSplit->getOperand(1), V);
  314   V = new Argument(Type::getInt32Ty(context));
  326   Instruction *AddInst = cast<Instruction>(Builder2.CreateAdd(V, V));
  326   Instruction *AddInst = cast<Instruction>(Builder2.CreateAdd(V, V));
  327   Instruction *MulInst = cast<Instruction>(Builder2.CreateMul(AddInst, V));
  328   Instruction *SubInst = cast<Instruction>(Builder2.CreateSub(MulInst, V));
  344   EXPECT_EQ(AddSplit->getOperand(0), V);
  345   EXPECT_EQ(AddSplit->getOperand(1), V);
  351   EXPECT_EQ(MulSplit->getOperand(1), V);