Lines Matching refs:transValue

298   Value *transValue(SPIRVValue *, Function *F, BasicBlock *,
305 std::vector<Value *> transValue(const std::vector<SPIRVValue *>&, Function *F,
858 SPIRVToLLVM::transValue(const std::vector<SPIRVValue *> &BV, Function *F, in transValue() function in SPIRV::SPIRVToLLVM
862 V.push_back(transValue(I, F, BB)); in transValue()
900 SPIRVToLLVM::transValue(SPIRVValue *BV, Function *F, BasicBlock *BB, in transValue() function in SPIRV::SPIRVToLLVM
929 auto Src = transValue(BC->getOperand(0), F, BB, BB ? true : false); in transConvertInst()
971 transValue(BBN->getOperand(0), F, BB), in transShiftLogicalBitwiseInst()
972 transValue(BBN->getOperand(1), F, BB), BV->getName(), BB); in transShiftLogicalBitwiseInst()
988 transValue(BC->getOperand(0), F, BB), in transCmpInst()
989 transValue(BC->getOperand(1), F, BB)); in transCmpInst()
992 transValue(BC->getOperand(0), F, BB), in transCmpInst()
993 transValue(BC->getOperand(1), F, BB)); in transCmpInst()
1378 CV.push_back(dyn_cast<Constant>(transValue(I, F, BB))); in transValueWithoutDecoration()
1425 return mapValue(BV, transValue(BI, nullptr, nullptr, false)); in transValueWithoutDecoration()
1439 Initializer = dyn_cast<Constant>(transValue(Init, F, BB, false)); in transValueWithoutDecoration()
1512 dyn_cast<BasicBlock>(transValue(BR->getTargetLabel(), F, BB)), BB)); in transValueWithoutDecoration()
1519 dyn_cast<BasicBlock>(transValue(BR->getTrueLabel(), F, BB)), in transValueWithoutDecoration()
1520 dyn_cast<BasicBlock>(transValue(BR->getFalseLabel(), F, BB)), in transValueWithoutDecoration()
1521 transValue(BR->getCondition(), F, BB), BB)); in transValueWithoutDecoration()
1531 auto Translated = transValue(IncomingV, F, BB); in transValueWithoutDecoration()
1533 dyn_cast<BasicBlock>(transValue(IncomingBB, F, BB))); in transValueWithoutDecoration()
1545 transValue(RV->getReturnValue(), F, BB), BB)); in transValueWithoutDecoration()
1550 StoreInst *SI = new StoreInst(transValue(BS->getSrc(), F, BB), in transValueWithoutDecoration()
1551 transValue(BS->getDst(), F, BB), in transValueWithoutDecoration()
1561 LoadInst *LI = new LoadInst(transValue(BL->getSrc(), F, BB), BV->getName(), in transValueWithoutDecoration()
1599 Value *Arg[] = { transValue(BC->getTarget(), Func, BB), in transValueWithoutDecoration()
1600 transValue(BC->getSource(), Func, BB), in transValueWithoutDecoration()
1601 dyn_cast<llvm::ConstantInt>(transValue(BC->getSize(), in transValueWithoutDecoration()
1613 SelectInst::Create(transValue(BS->getCondition(), F, BB), in transValueWithoutDecoration()
1614 transValue(BS->getTrueValue(), F, BB), in transValueWithoutDecoration()
1615 transValue(BS->getFalseValue(), F, BB), in transValueWithoutDecoration()
1621 auto Select = transValue(BS->getSelect(), F, BB); in transValueWithoutDecoration()
1623 Select, dyn_cast<BasicBlock>(transValue(BS->getDefault(), F, BB)), in transValueWithoutDecoration()
1629 dyn_cast<BasicBlock>(transValue(Label, F, BB))); in transValueWithoutDecoration()
1639 auto Base = transValue(AC->getBase(), F, BB); in transValueWithoutDecoration()
1640 auto Index = transValue(AC->getIndices(), F, BB); in transValueWithoutDecoration()
1665 transValue(CE->getComposite(), F, BB), in transValueWithoutDecoration()
1671 transValue(CE->getComposite(), F, BB), in transValueWithoutDecoration()
1678 BV, ExtractElementInst::Create(transValue(CE->getVector(), F, BB), in transValueWithoutDecoration()
1679 transValue(CE->getIndex(), F, BB), in transValueWithoutDecoration()
1689 transValue(CI->getComposite(), F, BB), in transValueWithoutDecoration()
1690 transValue(CI->getObject(), F, BB), in transValueWithoutDecoration()
1696 transValue(CI->getComposite(), F, BB), in transValueWithoutDecoration()
1697 transValue(CI->getObject(), F, BB), in transValueWithoutDecoration()
1704 BV, InsertElementInst::Create(transValue(CI->getVector(), F, BB), in transValueWithoutDecoration()
1705 transValue(CI->getComponent(), F, BB), in transValueWithoutDecoration()
1706 transValue(CI->getIndex(), F, BB), in transValueWithoutDecoration()
1721 new ShuffleVectorInst(transValue(VS->getVector1(), F, BB), in transValueWithoutDecoration()
1722 transValue(VS->getVector2(), F, BB), in transValueWithoutDecoration()
1730 transValue(BC->getArgumentValues(), F, BB), in transValueWithoutDecoration()
1749 BV, BinaryOperator::CreateNSWNeg(transValue(BC->getOperand(0), F, BB), in transValueWithoutDecoration()
1756 BV, BinaryOperator::CreateFNeg(transValue(BC->getOperand(0), F, BB), in transValueWithoutDecoration()
1763 BV, BinaryOperator::CreateNot(transValue(BC->getOperand(0), F, BB), in transValueWithoutDecoration()
1874 transValue(BF->getBasicBlock(I), F, nullptr); in transFunction()
1879 BasicBlock *BB = dyn_cast<BasicBlock>(transValue(BBB, F, nullptr)); in transFunction()
1882 transValue(BInst, F, BB, false); in transFunction()
1998 transValue(Ops, BB->getParent(), BB), "", BB); in transBuiltinFromInst()
2085 transValue(BV, nullptr, nullptr); in translate()
2397 auto Args = transValue(BC->getValues(BArgs), F, BB); in transOCLBuiltinFromExtInst()