Lines Matching refs:Srcs
93 auto buildOp = [Op](ArrayRef<Value *> Srcs, Instruction *Inst) { in binOpDescriptor() argument
94 return BinaryOperator::Create(Op, Srcs[0], Srcs[1], "B", Inst); in binOpDescriptor()
126 auto buildOp = [CmpOp, Pred](ArrayRef<Value *> Srcs, Instruction *Inst) { in cmpOpDescriptor() argument
127 return CmpInst::Create(CmpOp, Pred, Srcs[0], Srcs[1], "C", Inst); in cmpOpDescriptor()
141 auto buildSplitBlock = [](ArrayRef<Value *> Srcs, Instruction *Inst) { in splitBlockDescriptor() argument
152 BranchInst::Create(Block, Next, Srcs[0], Block->getTerminator()); in splitBlockDescriptor()
171 auto buildGEP = [](ArrayRef<Value *> Srcs, Instruction *Inst) { in gepDescriptor() argument
172 Type *Ty = cast<PointerType>(Srcs[0]->getType())->getElementType(); in gepDescriptor()
173 auto Indices = makeArrayRef(Srcs).drop_front(1); in gepDescriptor()
174 return GetElementPtrInst::Create(Ty, Srcs[0], Indices, "G", Inst); in gepDescriptor()
212 auto buildExtract = [](ArrayRef<Value *> Srcs, Instruction *Inst) { in extractValueDescriptor() argument
214 unsigned Idx = cast<ConstantInt>(Srcs[1])->getZExtValue(); in extractValueDescriptor()
215 return ExtractValueInst::Create(Srcs[0], {Idx}, "E", Inst); in extractValueDescriptor()
271 auto buildInsert = [](ArrayRef<Value *> Srcs, Instruction *Inst) { in insertValueDescriptor() argument
273 unsigned Idx = cast<ConstantInt>(Srcs[2])->getZExtValue(); in insertValueDescriptor()
274 return InsertValueInst::Create(Srcs[0], Srcs[1], {Idx}, "I", Inst); in insertValueDescriptor()
283 auto buildExtract = [](ArrayRef<Value *> Srcs, Instruction *Inst) { in extractElementDescriptor() argument
284 return ExtractElementInst::Create(Srcs[0], Srcs[1], "E", Inst); in extractElementDescriptor()
291 auto buildInsert = [](ArrayRef<Value *> Srcs, Instruction *Inst) { in insertElementDescriptor() argument
292 return InsertElementInst::Create(Srcs[0], Srcs[1], Srcs[2], "I", Inst); in insertElementDescriptor()
316 auto buildShuffle = [](ArrayRef<Value *> Srcs, Instruction *Inst) { in shuffleVectorDescriptor() argument
317 return new ShuffleVectorInst(Srcs[0], Srcs[1], Srcs[2], "S", Inst); in shuffleVectorDescriptor()