Lines Matching refs:CBI
831 CallBrInst::CallBrInst(const CallBrInst &CBI)
832 : CallBase(CBI.Attrs, CBI.FTy, CBI.getType(), Instruction::CallBr,
833 OperandTraits<CallBase>::op_end(this) - CBI.getNumOperands(),
834 CBI.getNumOperands()) {
835 setCallingConv(CBI.getCallingConv());
836 std::copy(CBI.op_begin(), CBI.op_end(), op_begin());
837 std::copy(CBI.bundle_op_info_begin(), CBI.bundle_op_info_end(),
839 SubclassOptionalData = CBI.SubclassOptionalData;
840 NumIndirectDests = CBI.NumIndirectDests;
843 CallBrInst *CallBrInst::Create(CallBrInst *CBI, ArrayRef<OperandBundleDef> OpB,
845 std::vector<Value *> Args(CBI->arg_begin(), CBI->arg_end());
847 auto *NewCBI = CallBrInst::Create(CBI->getFunctionType(),
848 CBI->getCalledValue(),
849 CBI->getDefaultDest(),
850 CBI->getIndirectDests(),
851 Args, OpB, CBI->getName(), InsertPt);
852 NewCBI->setCallingConv(CBI->getCallingConv());
853 NewCBI->SubclassOptionalData = CBI->SubclassOptionalData;
854 NewCBI->setAttributes(CBI->getAttributes());
855 NewCBI->setDebugLoc(CBI->getDebugLoc());
856 NewCBI->NumIndirectDests = CBI->NumIndirectDests;