Lines Matching refs:Res
388 ValueVector Res; in splitBinary() local
389 Res.resize(NumElems); in splitBinary()
391 Res[Elem] = Split(Builder, Op0[Elem], Op1[Elem], in splitBinary()
393 gather(&I, Res); in splitBinary()
408 ValueVector Res; in visitSelectInst() local
409 Res.resize(NumElems); in visitSelectInst()
415 Res[I] = Builder.CreateSelect(Op0[I], Op1[I], Op2[I], in visitSelectInst()
420 Res[I] = Builder.CreateSelect(Op0, Op1[I], Op2[I], in visitSelectInst()
423 gather(&SI, Res); in visitSelectInst()
455 ValueVector Res; in visitGetElementPtrInst() local
456 Res.resize(NumElems); in visitGetElementPtrInst()
462 Res[I] = Builder.CreateGEP(GEPI.getSourceElementType(), Base[I], Indices, in visitGetElementPtrInst()
465 if (GetElementPtrInst *NewGEPI = dyn_cast<GetElementPtrInst>(Res[I])) in visitGetElementPtrInst()
468 gather(&GEPI, Res); in visitGetElementPtrInst()
481 ValueVector Res; in visitCastInst() local
482 Res.resize(NumElems); in visitCastInst()
484 Res[I] = Builder.CreateCast(CI.getOpcode(), Op0[I], VT->getElementType(), in visitCastInst()
486 gather(&CI, Res); in visitCastInst()
500 ValueVector Res; in visitBitCastInst() local
501 Res.resize(DstNumElems); in visitBitCastInst()
505 Res[I] = Builder.CreateBitCast(Op0[I], DstVT->getElementType(), in visitBitCastInst()
524 Res[ResI++] = Mid[MidI]; in visitBitCastInst()
537 Res[ResI] = Builder.CreateBitCast(V, DstVT->getElementType(), in visitBitCastInst()
541 gather(&BCI, Res); in visitBitCastInst()
553 ValueVector Res; in visitShuffleVectorInst() local
554 Res.resize(NumElems); in visitShuffleVectorInst()
559 Res[I] = UndefValue::get(VT->getElementType()); in visitShuffleVectorInst()
561 Res[I] = Op0[Selector]; in visitShuffleVectorInst()
563 Res[I] = Op1[Selector - Op0.size()]; in visitShuffleVectorInst()
565 gather(&SVI, Res); in visitShuffleVectorInst()
576 ValueVector Res; in visitPHINode() local
577 Res.resize(NumElems); in visitPHINode()
581 Res[I] = Builder.CreatePHI(VT->getElementType(), NumOps, in visitPHINode()
588 cast<PHINode>(Res[J])->addIncoming(Op[J], IncomingBlock); in visitPHINode()
590 gather(&PHI, Res); in visitPHINode()
608 ValueVector Res; in visitLoadInst() local
609 Res.resize(NumElems); in visitLoadInst()
612 Res[I] = Builder.CreateAlignedLoad(Ptr[I], Layout.getElemAlign(I), in visitLoadInst()
614 gather(&LI, Res); in visitLoadInst()
659 Value *Res = UndefValue::get(Ty); in finish() local
666 Res = Builder.CreateInsertElement(Res, CV[I], Builder.getInt32(I), in finish()
668 Res->takeName(Op); in finish()
669 Op->replaceAllUsesWith(Res); in finish()