Lines Matching refs:AssignCI
107 Type *AskTy = 0, CallInst *AssignCI = 0);
125 void updateAssignType(CallInst *AssignCI, Value *Arg, Value *OfType);
285 CallInst *AssignCI = buildIntrWithMD(Intrinsic::spv_assign_type, in buildAssignType() local
287 GR->addAssignPtrTypeInstr(Arg, AssignCI); in buildAssignType()
307 void SPIRVEmitIntrinsics::updateAssignType(CallInst *AssignCI, Value *Arg, in updateAssignType() argument
309 AssignCI->setArgOperand(1, buildMD(OfType)); in updateAssignType()
310 if (cast<IntrinsicInst>(AssignCI)->getIntrinsicID() != in updateAssignType()
316 GR->addDeducedElementType(AssignCI, ElemTy); in updateAssignType()
783 CallInst *AssignCI = AskCI ? AskCI : GR->findAssignPtrTypeInstr(Op); in deduceOperandElementType() local
784 if (AssignCI == nullptr) { in deduceOperandElementType()
792 updateAssignType(AssignCI, Op, OpTyVal); in deduceOperandElementType()
824 CallInst *AssignCI = in replaceMemInstrUses() local
826 GR->addAssignPtrTypeInstr(New, AssignCI); in replaceMemInstrUses()
1025 CallInst *AssignCI = GR->findAssignPtrTypeInstr(V); in insertAssignPtrTypeTargetExt() local
1026 if (!AssignCI) { in insertAssignPtrTypeTargetExt()
1033 cast<MetadataAsValue>(AssignCI->getOperand(1))->getMetadata()) in insertAssignPtrTypeTargetExt()
1047 updateAssignType(AssignCI, V, PoisonValue::get(AssignedType)); in insertAssignPtrTypeTargetExt()
1470 CallInst *AssignCI = in insertAssignTypeIntrs() local
1473 GR->addAssignPtrTypeInstr(Op, AssignCI); in insertAssignTypeIntrs()
1482 CallInst *AssignCI = buildIntrWithMD(Intrinsic::spv_assign_type, in insertAssignTypeIntrs() local
1484 GR->addAssignPtrTypeInstr(Op, AssignCI); in insertAssignTypeIntrs()
1718 CallInst *AssignCI = GR->findAssignPtrTypeInstr(*IB); in postprocessTypes() local
1720 if (!KnownTy || !AssignCI || !isa<Instruction>(AssignCI->getArgOperand(0))) in postprocessTypes()
1722 Instruction *I = cast<Instruction>(AssignCI->getArgOperand(0)); in postprocessTypes()
1727 deduceOperandElementType(Inst, I, KnownTy, AssignCI); in postprocessTypes()