/prebuilts/ndk/r16/sources/third_party/shaderc/third_party/spirv-tools/source/val/ |
basic_block.cpp | 25 BasicBlock::BasicBlock(uint32_t label_id) 34 void BasicBlock::SetImmediateDominator(BasicBlock* dom_block) { 38 void BasicBlock::SetImmediatePostDominator(BasicBlock* pdom_block) { 42 const BasicBlock* BasicBlock::immediate_dominator() const { 46 const BasicBlock* BasicBlock::immediate_post_dominator() const [all...] |
basic_block.h | 41 class BasicBlock { 43 /// Constructor for a BasicBlock 46 explicit BasicBlock(uint32_t id); 48 /// Returns the id of the BasicBlock 51 /// Returns the predecessors of the BasicBlock 52 const std::vector<BasicBlock*>* predecessors() const { 56 /// Returns the predecessors of the BasicBlock 57 std::vector<BasicBlock*>* predecessors() { return &predecessors_; } 59 /// Returns the successors of the BasicBlock 60 const std::vector<BasicBlock*>* successors() const { return &successors_; [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
BranchProbabilityInfo.h | 36 typedef std::pair<const BasicBlock *, const BasicBlock *> Edge; 41 uint32_t getSumForBlock(const BasicBlock *BB) const; 56 uint32_t getEdgeWeight(const BasicBlock *Src, const BasicBlock *Dst) const; 59 void setEdgeWeight(const BasicBlock *Src, const BasicBlock *Dst, 63 bool isEdgeHot(const BasicBlock *Src, const BasicBlock *Dst) const; 66 BasicBlock *getHotSucc(BasicBlock *BB) const [all...] |
/external/llvm/include/llvm/Analysis/ |
IteratedDominanceFrontier.h | 30 #include "llvm/IR/BasicBlock.h" 43 /// The template parameters should be either BasicBlock* or Inverse<BasicBlock 49 IDFCalculator(DominatorTreeBase<BasicBlock> &DT) : DT(DT), useLiveIn(false) {} 56 void setDefiningBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 66 void setLiveInBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 84 void calculate(SmallVectorImpl<BasicBlock *> &IDFBlocks); 87 DominatorTreeBase<BasicBlock> &DT; 90 const SmallPtrSetImpl<BasicBlock *> *LiveInBlocks; 91 const SmallPtrSetImpl<BasicBlock *> *DefBlocks [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Analysis/ |
IteratedDominanceFrontier.h | 30 #include "llvm/IR/BasicBlock.h" 43 /// The template parameters should be either BasicBlock* or Inverse<BasicBlock 49 IDFCalculator(DominatorTreeBase<BasicBlock> &DT) : DT(DT), useLiveIn(false) {} 56 void setDefiningBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 66 void setLiveInBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 84 void calculate(SmallVectorImpl<BasicBlock *> &IDFBlocks); 87 DominatorTreeBase<BasicBlock> &DT; 90 const SmallPtrSetImpl<BasicBlock *> *LiveInBlocks; 91 const SmallPtrSetImpl<BasicBlock *> *DefBlocks [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Analysis/ |
IteratedDominanceFrontier.h | 30 #include "llvm/IR/BasicBlock.h" 43 /// The template parameters should be either BasicBlock* or Inverse<BasicBlock 49 IDFCalculator(DominatorTreeBase<BasicBlock> &DT) : DT(DT), useLiveIn(false) {} 56 void setDefiningBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 66 void setLiveInBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 84 void calculate(SmallVectorImpl<BasicBlock *> &IDFBlocks); 87 DominatorTreeBase<BasicBlock> &DT; 90 const SmallPtrSetImpl<BasicBlock *> *LiveInBlocks; 91 const SmallPtrSetImpl<BasicBlock *> *DefBlocks [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Analysis/ |
IteratedDominanceFrontier.h | 30 #include "llvm/IR/BasicBlock.h" 43 /// The template parameters should be either BasicBlock* or Inverse<BasicBlock 49 IDFCalculator(DominatorTreeBase<BasicBlock> &DT) : DT(DT), useLiveIn(false) {} 56 void setDefiningBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 66 void setLiveInBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 84 void calculate(SmallVectorImpl<BasicBlock *> &IDFBlocks); 87 DominatorTreeBase<BasicBlock> &DT; 90 const SmallPtrSetImpl<BasicBlock *> *LiveInBlocks; 91 const SmallPtrSetImpl<BasicBlock *> *DefBlocks [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Analysis/ |
IteratedDominanceFrontier.h | 30 #include "llvm/IR/BasicBlock.h" 43 /// The template parameters should be either BasicBlock* or Inverse<BasicBlock 48 IDFCalculator(DominatorTreeBase<BasicBlock, IsPostDom> &DT) 56 void setDefiningBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 66 void setLiveInBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 84 void calculate(SmallVectorImpl<BasicBlock *> &IDFBlocks); 87 DominatorTreeBase<BasicBlock, IsPostDom> &DT; 89 const SmallPtrSetImpl<BasicBlock *> *LiveInBlocks; 90 const SmallPtrSetImpl<BasicBlock *> *DefBlocks [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Analysis/ |
IteratedDominanceFrontier.h | 30 #include "llvm/IR/BasicBlock.h" 43 /// The template parameters should be either BasicBlock* or Inverse<BasicBlock 48 IDFCalculator(DominatorTreeBase<BasicBlock, IsPostDom> &DT) 56 void setDefiningBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 66 void setLiveInBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 84 void calculate(SmallVectorImpl<BasicBlock *> &IDFBlocks); 87 DominatorTreeBase<BasicBlock, IsPostDom> &DT; 89 const SmallPtrSetImpl<BasicBlock *> *LiveInBlocks; 90 const SmallPtrSetImpl<BasicBlock *> *DefBlocks [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Analysis/ |
IteratedDominanceFrontier.h | 30 #include "llvm/IR/BasicBlock.h" 43 /// The template parameters should be either BasicBlock* or Inverse<BasicBlock 48 IDFCalculator(DominatorTreeBase<BasicBlock, IsPostDom> &DT) 56 void setDefiningBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 66 void setLiveInBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 84 void calculate(SmallVectorImpl<BasicBlock *> &IDFBlocks); 87 DominatorTreeBase<BasicBlock, IsPostDom> &DT; 89 const SmallPtrSetImpl<BasicBlock *> *LiveInBlocks; 90 const SmallPtrSetImpl<BasicBlock *> *DefBlocks [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Analysis/ |
IteratedDominanceFrontier.h | 30 #include "llvm/IR/BasicBlock.h" 43 /// The template parameters should be either BasicBlock* or Inverse<BasicBlock 48 IDFCalculator(DominatorTreeBase<BasicBlock, IsPostDom> &DT) 56 void setDefiningBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 66 void setLiveInBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 84 void calculate(SmallVectorImpl<BasicBlock *> &IDFBlocks); 87 DominatorTreeBase<BasicBlock, IsPostDom> &DT; 89 const SmallPtrSetImpl<BasicBlock *> *LiveInBlocks; 90 const SmallPtrSetImpl<BasicBlock *> *DefBlocks [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Analysis/ |
IteratedDominanceFrontier.h | 30 #include "llvm/IR/BasicBlock.h" 43 /// The template parameters should be either BasicBlock* or Inverse<BasicBlock 49 IDFCalculator(DominatorTreeBase<BasicBlock> &DT) : DT(DT), useLiveIn(false) {} 56 void setDefiningBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 66 void setLiveInBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 84 void calculate(SmallVectorImpl<BasicBlock *> &IDFBlocks); 87 DominatorTreeBase<BasicBlock> &DT; 90 const SmallPtrSetImpl<BasicBlock *> *LiveInBlocks; 91 const SmallPtrSetImpl<BasicBlock *> *DefBlocks [all...] |
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Analysis/ |
IteratedDominanceFrontier.h | 30 #include "llvm/IR/BasicBlock.h" 43 /// The template parameters should be either BasicBlock* or Inverse<BasicBlock 49 IDFCalculator(DominatorTreeBase<BasicBlock> &DT) : DT(DT), useLiveIn(false) {} 56 void setDefiningBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 66 void setLiveInBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 84 void calculate(SmallVectorImpl<BasicBlock *> &IDFBlocks); 87 DominatorTreeBase<BasicBlock> &DT; 90 const SmallPtrSetImpl<BasicBlock *> *LiveInBlocks; 91 const SmallPtrSetImpl<BasicBlock *> *DefBlocks [all...] |
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/Analysis/ |
IteratedDominanceFrontier.h | 30 #include "llvm/IR/BasicBlock.h" 43 /// The template parameters should be either BasicBlock* or Inverse<BasicBlock 49 IDFCalculator(DominatorTreeBase<BasicBlock> &DT) : DT(DT), useLiveIn(false) {} 56 void setDefiningBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 66 void setLiveInBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 84 void calculate(SmallVectorImpl<BasicBlock *> &IDFBlocks); 87 DominatorTreeBase<BasicBlock> &DT; 90 const SmallPtrSetImpl<BasicBlock *> *LiveInBlocks; 91 const SmallPtrSetImpl<BasicBlock *> *DefBlocks [all...] |
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/Analysis/ |
IteratedDominanceFrontier.h | 30 #include "llvm/IR/BasicBlock.h" 43 /// The template parameters should be either BasicBlock* or Inverse<BasicBlock 48 IDFCalculator(DominatorTreeBase<BasicBlock, IsPostDom> &DT) 56 void setDefiningBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 66 void setLiveInBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 84 void calculate(SmallVectorImpl<BasicBlock *> &IDFBlocks); 87 DominatorTreeBase<BasicBlock, IsPostDom> &DT; 89 const SmallPtrSetImpl<BasicBlock *> *LiveInBlocks; 90 const SmallPtrSetImpl<BasicBlock *> *DefBlocks [all...] |
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/Analysis/ |
IteratedDominanceFrontier.h | 30 #include "llvm/IR/BasicBlock.h" 43 /// The template parameters should be either BasicBlock* or Inverse<BasicBlock 48 IDFCalculator(DominatorTreeBase<BasicBlock, IsPostDom> &DT) 56 void setDefiningBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 66 void setLiveInBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 84 void calculate(SmallVectorImpl<BasicBlock *> &IDFBlocks); 87 DominatorTreeBase<BasicBlock, IsPostDom> &DT; 89 const SmallPtrSetImpl<BasicBlock *> *LiveInBlocks; 90 const SmallPtrSetImpl<BasicBlock *> *DefBlocks [all...] |
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/Analysis/ |
IteratedDominanceFrontier.h | 30 #include "llvm/IR/BasicBlock.h" 43 /// The template parameters should be either BasicBlock* or Inverse<BasicBlock 48 IDFCalculator(DominatorTreeBase<BasicBlock, IsPostDom> &DT) 56 void setDefiningBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 66 void setLiveInBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 84 void calculate(SmallVectorImpl<BasicBlock *> &IDFBlocks); 87 DominatorTreeBase<BasicBlock, IsPostDom> &DT; 89 const SmallPtrSetImpl<BasicBlock *> *LiveInBlocks; 90 const SmallPtrSetImpl<BasicBlock *> *DefBlocks [all...] |
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/Analysis/ |
IteratedDominanceFrontier.h | 30 #include "llvm/IR/BasicBlock.h" 43 /// The template parameters should be either BasicBlock* or Inverse<BasicBlock 48 IDFCalculator(DominatorTreeBase<BasicBlock, IsPostDom> &DT) 56 void setDefiningBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 66 void setLiveInBlocks(const SmallPtrSetImpl<BasicBlock *> &Blocks) { 84 void calculate(SmallVectorImpl<BasicBlock *> &IDFBlocks); 87 DominatorTreeBase<BasicBlock, IsPostDom> &DT; 89 const SmallPtrSetImpl<BasicBlock *> *LiveInBlocks; 90 const SmallPtrSetImpl<BasicBlock *> *DefBlocks [all...] |
/external/llvm/include/llvm/IR/ |
PredIteratorCache.h | 30 DenseMap<BasicBlock *, BasicBlock **> BlockToPredsMap; 31 DenseMap<BasicBlock *, unsigned> BlockToPredCountMap; 39 /// for (BasicBlock **PI = PredCache->GetPreds(BB); *PI; ++PI) 43 BasicBlock **GetPreds(BasicBlock *BB) { 44 BasicBlock **&Entry = BlockToPredsMap[BB]; 48 SmallVector<BasicBlock *, 32> PredCache(pred_begin(BB), pred_end(BB)); 53 Entry = Memory.Allocate<BasicBlock *>(PredCache.size()); 58 unsigned GetNumPreds(BasicBlock *BB) [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/ |
BasicBlockUtils.h | 1 //===-- Transform/Utils/BasicBlockUtils.h - BasicBlock Utils ----*- C++ -*-===// 18 // FIXME: Move to this file: BasicBlock::removePredecessor, BB::splitBasicBlock 20 #include "llvm/BasicBlock.h" 33 void DeleteDeadBlock(BasicBlock *BB); 40 void FoldSingleEntryPHINodes(BasicBlock *BB, Pass *P = 0); 47 bool DeleteDeadPHIs(BasicBlock *BB); 51 bool MergeBlockIntoPredecessor(BasicBlock *BB, Pass *P = 0); 56 void ReplaceInstWithValue(BasicBlock::InstListType &BIL, 57 BasicBlock::iterator &BI, Value *V); 63 void ReplaceInstWithInst(BasicBlock::InstListType &BIL [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Transforms/Utils/ |
UnifyFunctionExitNodes.h | 27 BasicBlock *ReturnBlock = nullptr; 28 BasicBlock *UnwindBlock = nullptr; 29 BasicBlock *UnreachableBlock; 43 BasicBlock *getReturnBlock() const { return ReturnBlock; } 44 BasicBlock *getUnwindBlock() const { return UnwindBlock; } 45 BasicBlock *getUnreachableBlock() const { return UnreachableBlock; }
|
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Transforms/Utils/ |
UnifyFunctionExitNodes.h | 27 BasicBlock *ReturnBlock = nullptr; 28 BasicBlock *UnwindBlock = nullptr; 29 BasicBlock *UnreachableBlock; 43 BasicBlock *getReturnBlock() const { return ReturnBlock; } 44 BasicBlock *getUnwindBlock() const { return UnwindBlock; } 45 BasicBlock *getUnreachableBlock() const { return UnreachableBlock; }
|
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Transforms/Utils/ |
UnifyFunctionExitNodes.h | 27 BasicBlock *ReturnBlock = nullptr; 28 BasicBlock *UnwindBlock = nullptr; 29 BasicBlock *UnreachableBlock; 43 BasicBlock *getReturnBlock() const { return ReturnBlock; } 44 BasicBlock *getUnwindBlock() const { return UnwindBlock; } 45 BasicBlock *getUnreachableBlock() const { return UnreachableBlock; }
|
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Transforms/Utils/ |
UnifyFunctionExitNodes.h | 27 BasicBlock *ReturnBlock = nullptr; 28 BasicBlock *UnwindBlock = nullptr; 29 BasicBlock *UnreachableBlock; 43 BasicBlock *getReturnBlock() const { return ReturnBlock; } 44 BasicBlock *getUnwindBlock() const { return UnwindBlock; } 45 BasicBlock *getUnreachableBlock() const { return UnreachableBlock; }
|
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Transforms/Utils/ |
UnifyFunctionExitNodes.h | 27 BasicBlock *ReturnBlock = nullptr; 28 BasicBlock *UnwindBlock = nullptr; 29 BasicBlock *UnreachableBlock; 43 BasicBlock *getReturnBlock() const { return ReturnBlock; } 44 BasicBlock *getUnwindBlock() const { return UnwindBlock; } 45 BasicBlock *getUnreachableBlock() const { return UnreachableBlock; }
|