projects/p3/C/licm.c
int isDead(LLVMValueRef I) {
    // check if the instruction has any use 
    if (LLVMGetFirstUse(I)!=NULL)
        return 0;
    return noSideEffect(I);
}
// check if the instruction can be eliminated as dead instructions
check if the instruction can be eliminated as dead instructions
check if the instruction can be eliminated as dead instructions
int isDead(LLVMValueRef I) {
    if (LLVMGetFirstUse(I)!=NULL)
        return 0;
    return noSideEffect(I);
}
int isDead ( LLVMValueRef I ) { if ( LLVMGetFirstUse ( I ) != NULL ) return 0 ; return noSideEffect ( I ) ; }
check if the instruction can be eliminated as dead instructions
check if the instruction can be eliminated as dead instructions
// check if the instruction has any use 