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

References

lib/Bitcode/Reader/BitcodeReader.cpp
 3830       I = getLastInstruction();
 3832       if (!I)
 3834       I->setDebugLoc(LastLoc);
 3835       I = nullptr;
 3839       I = getLastInstruction();
 3840       if (!I || Record.size() < 4)
 3861       I->setDebugLoc(LastLoc);
 3862       I = nullptr;
 3875       I = UnaryOperator::Create((Instruction::UnaryOps)Opc, LHS);
 3876       InstructionList.push_back(I);
 3878         if (isa<FPMathOperator>(I)) {
 3881             I->setFastMathFlags(FMF);
 3897       I = BinaryOperator::Create((Instruction::BinaryOps)Opc, LHS, RHS);
 3898       InstructionList.push_back(I);
 3905             cast<BinaryOperator>(I)->setHasNoSignedWrap(true);
 3907             cast<BinaryOperator>(I)->setHasNoUnsignedWrap(true);
 3913             cast<BinaryOperator>(I)->setIsExact(true);
 3914         } else if (isa<FPMathOperator>(I)) {
 3917             I->setFastMathFlags(FMF);
 3936       if ((I = UpgradeBitCastInst(Opc, Op, ResTy, Temp))) {
 3945         I = CastInst::Create(CastOp, Op, ResTy);
 3947       InstructionList.push_back(I);
 3987       I = GetElementPtrInst::Create(Ty, BasePtr, GEPIdx);
 3988       FullTy = GetElementPtrInst::getGEPReturnType(FullTy, I, GEPIdx);
 3990       InstructionList.push_back(I);
 3992         cast<GetElementPtrInst>(I)->setIsInBounds(true);
 4029       I = ExtractValueInst::Create(Agg, EXTRACTVALIdx);
 4030       InstructionList.push_back(I);
 4074       I = InsertValueInst::Create(Agg, Val, INSERTVALIdx);
 4075       InstructionList.push_back(I);
 4089       I = SelectInst::Create(Cond, TrueVal, FalseVal);
 4090       InstructionList.push_back(I);
 4116       I = SelectInst::Create(Cond, TrueVal, FalseVal);
 4117       InstructionList.push_back(I);
 4118       if (OpNum < Record.size() && isa<FPMathOperator>(I)) {
 4121           I->setFastMathFlags(FMF);
 4134       I = ExtractElementInst::Create(Vec, Idx);
 4136       InstructionList.push_back(I);
 4151       I = InsertElementInst::Create(Vec, Elt, Idx);
 4152       InstructionList.push_back(I);
 4167       I = new ShuffleVectorInst(Vec1, Vec2, Mask);
 4170       InstructionList.push_back(I);
 4201         I = new FCmpInst((FCmpInst::Predicate)PredVal, LHS, RHS);
 4203         I = new ICmpInst((ICmpInst::Predicate)PredVal, LHS, RHS);
 4206         I->setFastMathFlags(FMF);
 4207       InstructionList.push_back(I);
 4215           I = ReturnInst::Create(Context);
 4216           InstructionList.push_back(I);
 4227         I = ReturnInst::Create(Context, Op);
 4228         InstructionList.push_back(I);
 4239         I = BranchInst::Create(TrueDest);
 4240         InstructionList.push_back(I);
 4248         I = BranchInst::Create(TrueDest, FalseDest, Cond);
 4249         InstructionList.push_back(I);
 4268       I = CleanupReturnInst::Create(CleanupPad, UnwindDest);
 4269       InstructionList.push_back(I);
 4284       I = CatchReturnInst::Create(CatchPad, BB);
 4285       InstructionList.push_back(I);
 4322       I = CatchSwitch;
 4323       InstructionList.push_back(I);
 4351         I = CleanupPadInst::Create(ParentPad, Args);
 4353         I = CatchPadInst::Create(ParentPad, Args);
 4354       InstructionList.push_back(I);
 4415         I = SI;
 4441       I = SI;
 4462       I = IBI;
 4530       I = InvokeInst::Create(FTy, Callee, NormalBB, UnwindBB, Ops,
 4534       InstructionList.push_back(I);
 4535       cast<InvokeInst>(I)->setCallingConv(
 4537       cast<InvokeInst>(I)->setAttributes(PAL);
 4538       propagateByValTypes(cast<CallBase>(I), ArgsFullTys);
 4547       I = ResumeInst::Create(Val);
 4548       InstructionList.push_back(I);
 4617       I = CallBrInst::Create(FTy, Callee, DefaultDest, IndirectDests, Args,
 4621       InstructionList.push_back(I);
 4622       cast<CallBrInst>(I)->setCallingConv(
 4624       cast<CallBrInst>(I)->setAttributes(PAL);
 4628       I = new UnreachableInst(Context);
 4629       InstructionList.push_back(I);
 4664       I = PN;
 4668         assert(isa<FPMathOperator>(I) && "Unexpected phi type");
 4671           I->setFastMathFlags(FMF);
 4727       I = LP;
 4728       InstructionList.push_back(I);
 4767       I = AI;
 4769       InstructionList.push_back(I);
 4795       I = new LoadInst(Ty, Op, "", Record[OpNum + 1], Align);
 4796       InstructionList.push_back(I);
 4832       I = new LoadInst(Ty, Op, "", Record[OpNum + 1], Align, Ordering, SSID);
 4833       InstructionList.push_back(I);
 4854       I = new StoreInst(Val, Ptr, Record[OpNum + 1], Align);
 4855       InstructionList.push_back(I);
 4887       I = new StoreInst(Val, Ptr, Record[OpNum + 1], Align, Ordering, SSID);
 4888       InstructionList.push_back(I);
 4931       I = new AtomicCmpXchgInst(Ptr, Cmp, New, SuccessOrdering, FailureOrdering,
 4934       cast<AtomicCmpXchgInst>(I)->setVolatile(Record[OpNum]);
 4940         CurBB->getInstList().push_back(I);
 4941         I = ExtractValueInst::Create(I, 0);
 4941         I = ExtractValueInst::Create(I, 0);
 4944         cast<AtomicCmpXchgInst>(I)->setWeak(Record[OpNum+4]);
 4947       InstructionList.push_back(I);
 4969       I = new AtomicRMWInst(Operation, Ptr, Val, Ordering, SSID);
 4971       cast<AtomicRMWInst>(I)->setVolatile(Record[OpNum+1]);
 4972       InstructionList.push_back(I);
 4984       I = new FenceInst(Context, Ordering, SSID);
 4985       InstructionList.push_back(I);
 5062       I = CallInst::Create(FTy, Callee, Args, OperandBundles);
 5065       InstructionList.push_back(I);
 5066       cast<CallInst>(I)->setCallingConv(
 5075       cast<CallInst>(I)->setTailCallKind(TCK);
 5076       cast<CallInst>(I)->setAttributes(PAL);
 5077       propagateByValTypes(cast<CallBase>(I), ArgsFullTys);
 5079         if (!isa<FPMathOperator>(I))
 5082         I->setFastMathFlags(FMF);
 5095       I = new VAArgInst(Op, ResTy);
 5096       InstructionList.push_back(I);
 5126       I->deleteValue();
 5130       I->deleteValue();
 5133     CurBB->getInstList().push_back(I);
 5136     if (I->isTerminator()) {
 5142     if (I && !I->getType()->isVoidTy()) {
 5142     if (I && !I->getType()->isVoidTy()) {
 5144         FullTy = I->getType();
 5155       assert(I->getType() == flattenPointerTypes(FullTy) &&
 5157       ValueList.assignValue(I, NextValueNo++, FullTy);