Home | History | Annotate | Download | only in libSPIRV

Lines Matching refs:addInstruction

269   virtual SPIRVInstruction *addInstruction(SPIRVInstruction *Inst,
932 return BB->addInstruction
940 return BB->addInstruction(new SPIRVSwitch(Select, Default, Pairs, BB));
954 SPIRVModuleImpl::addInstruction(SPIRVInstruction *Inst, SPIRVBasicBlock *BB) {
956 return BB->addInstruction(Inst);
965 return addInstruction(new SPIRVLoad(getId(), Source->getId(),
972 return addInstruction(new SPIRVPhi(Type, getId(), IncomingPairs, BB), BB);
979 return addInstruction(new SPIRVExtInst(TheType, getId(),
987 return addInstruction(new SPIRVExtInst(TheType, getId(),
994 return addInstruction(new SPIRVFunctionCall(getId(), TheFunction,
1001 return addInstruction(SPIRVInstTemplateBase::create(TheOpCode, Type, getId(),
1007 return addInstruction(new SPIRVReturn(BB), BB);
1012 return addInstruction(new SPIRVReturnValue(ReturnValue, BB), BB);
1018 return addInstruction(SPIRVInstTemplateBase::create(TheOpCode,
1025 return addInstruction(new SPIRVVectorExtractDynamic(getId(), TheVector,
1032 return addInstruction(new SPIRVVectorInsertDynamic(getId(), TheVector,
1040 return addInstruction(new SPIRVVectorShuffle(getId(), Type, Vec1, Vec2,
1046 return addInstruction(new SPIRVBranch(TargetLabel, BB), BB);
1052 return addInstruction(new SPIRVBranchConditional(Condition, TrueLabel,
1059 return addInstruction(SPIRVInstTemplateBase::create(TheOpCode,
1066 return addInstruction(
1073 return addInstruction(SPIRVInstTemplateBase::create(OpMemoryBarrier,
1081 return addInstruction(new SPIRVSelect(getId(), Condition->getId(),
1088 return addInstruction(SPIRVInstTemplateBase::create(
1098 return addInstruction(new SPIRVGroupAsyncCopy(Scope, getId(), Dest, Src,
1105 return addInstruction(new SPIRVCompositeExtract(Type, getId(), TheVector,
1113 return addInstruction(new SPIRVCompositeInsert(getId(), Object, Composite,
1120 return addInstruction(new SPIRVCopyObject(TheType, getId(), Operand, BB), BB);
1127 return addInstruction(new SPIRVCopyMemory(TheTarget, TheSource,
1135 return addInstruction(new SPIRVCopyMemorySized(TheTarget, TheSource, TheSize,
1147 return addInstruction(Variable, BB);
1491 BB->addInstruction(Ins);
1501 BB->addInstruction(Ins);