src/function_dumper.cpp
void FunctionDumper::addPHIDeclaration(llvm::PHINode *phi) {
    string name = localNames.getOrCreateName(phi);
    string declaration = typeDumper->dumpType(phi->getType()) + " " + name;
    phiDeclarationsByName[name] = declaration;
}
// adds declaratoin of the phi, to the start of hte functoin (via currentFunctionPhiDeclarationsByName)
// the address space should be correct on phi by the time this function is called
adds declaratoin of the phi, to the start of hte functoin (via currentFunctionPhiDeclarationsByName)
the address space should be correct on phi by the time this function is called
adds declaratoin of the phi to the start of hte functoin ( via currentFunctionPhiDeclarationsByName ) the address space should be correct on phi by the time this function is called
void FunctionDumper::addPHIDeclaration(llvm::PHINode *phi) {
    string name = localNames.getOrCreateName(phi);
    string declaration = typeDumper->dumpType(phi->getType()) + " " + name;
    phiDeclarationsByName[name] = declaration;
}
void FunctionDumper :: addPHIDeclaration ( llvm :: PHINode * phi ) { string name = localNames . getOrCreateName ( phi ) ; string declaration = typeDumper -> dumpType ( phi -> getType ( ) ) + " " + name ; phiDeclarationsByName [ name ] = declaration ; }
adds declaratoin of the phi, to the start of hte functoin (via currentFunctionPhiDeclarationsByName)
the address space should be correct on phi by the time this function is called
adds declaratoin of the phi to the start of hte functoin ( via currentFunctionPhiDeclarationsByName ) the address space should be correct on phi by the time this function is called