Lines Matching defs:inst
234 Instruction *inst = m->lookupByName("__GPUBlock");
235 if (inst == nullptr) {
239 VariableInst *bufferVar = static_cast<VariableInst *>(inst);
319 Instruction *inst = m->lookupByName(A.VarName.c_str());
320 if (inst == nullptr) {
323 VariableInst *bufferVar = static_cast<VariableInst *>(inst);
346 void visit(TypePointerInst *inst) override {
347 matchAndReplace(inst->mOperand1);
350 void visit(TypeForwardPointerInst *inst) override {
351 matchAndReplace(inst->mOperand2);
354 void visit(VariableInst *inst) override { matchAndReplace(inst->mOperand1); }