search for: caseblock

Displaying 2 results from an estimated 2 matches for "caseblock".

Did you mean: can_block
2006 May 17
0
[LLVMdev] Obfuscation with LLVM
...getCondition()->getType(), 0, "switch_test_val", entryBB->getTerminator() ); new StoreInst( switchInst->getCondition(), testValuePtr, false, switchInst ); // Replace the switch instruction by basic blocks with conditional branches. BasicBlock* caseBlock = ProcessCase( switchInst, 1, basicBlock, testValuePtr ); switchInst->eraseFromParent(); new BranchInst( caseBlock, basicBlock ); } } } BasicBlock* MakeDispatcherPass::ProcessCase( SwitchInst* switchInst, int caseIdx, BasicBlock* prevBB, Value* testValuePtr...
2006 Dec 19
3
[LLVMdev] alias-aware scheduling
...rand> PendingLoads; /// Case - A pair of values to record the Value for a switch case, and the @@ -412,6 +421,7 @@ // implemented with a libcall, etc. TargetLowering &TLI; SelectionDAG &DAG; + AliasAnalysis &AA; const TargetData *TD; /// SwitchCases - Vector of CaseBlock structures used to communicate @@ -424,8 +434,9 @@ FunctionLoweringInfo &FuncInfo; SelectionDAGLowering(SelectionDAG &dag, TargetLowering &tli, + AliasAnalysis &aa, FunctionLoweringInfo &funcinfo) - : TLI(tli), DAG(dag), T...