Lines Matching defs:ReflectFunction
48 Function *ReflectFunction;
52 NVVMReflect() : ModulePass(ID), ReflectFunction(0) {
58 : ModulePass(ID), ReflectFunction(0) {
125 ReflectFunction = M.getFunction(NVVM_REFLECT_FUNCTION);
129 if (ReflectFunction == 0)
133 assert(ReflectFunction->isDeclaration() &&
135 assert(ReflectFunction->getReturnType()->isIntegerTy() &&
140 // Go through the uses of ReflectFunction in this Function.
146 for (Value::use_iterator I = ReflectFunction->use_begin(),
147 E = ReflectFunction->use_end();