HomeSort by relevance Sort by last modified time
    Searched refs:BasicBlock (Results 1 - 25 of 1785) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /prebuilts/ndk/r13/sources/third_party/shaderc/third_party/spirv-tools/source/val/
BasicBlock.cpp 27 #include "BasicBlock.h"
36 BasicBlock::BasicBlock(uint32_t label_id)
45 void BasicBlock::SetImmediateDominator(BasicBlock* dom_block) {
49 void BasicBlock::SetImmediatePostDominator(BasicBlock* pdom_block) {
53 const BasicBlock* BasicBlock::immediate_dominator() const {
57 const BasicBlock* BasicBlock::immediate_post_dominator() const
    [all...]
BasicBlock.h 52 class BasicBlock {
54 /// Constructor for a BasicBlock
57 explicit BasicBlock(uint32_t id);
59 /// Returns the id of the BasicBlock
62 /// Returns the predecessors of the BasicBlock
63 const std::vector<BasicBlock*>* predecessors() const {
67 /// Returns the predecessors of the BasicBlock
68 std::vector<BasicBlock*>* predecessors() { return &predecessors_; }
70 /// Returns the successors of the BasicBlock
71 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-3957855/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-3960126/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-3977809/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-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-3957855/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-3960126/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-3977809/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-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...]
  /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-3957855/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-3960126/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-3977809/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-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/linux-x86/clang-3957855/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/linux-x86/clang-3960126/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/linux-x86/clang-3977809/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/linux-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-3957855/prebuilt_include/llvm/include/llvm/Transforms/Scalar/
JumpThreading.h 37 typedef SmallVectorImpl<std::pair<Constant *, BasicBlock *>> PredValueInfo;
38 typedef SmallVector<std::pair<Constant *, BasicBlock *>, 8> PredValueInfoTy;
70 SmallPtrSet<const BasicBlock *, 16> LoopHeaders;
72 SmallSet<AssertingVH<const BasicBlock>, 16> LoopHeaders;
74 DenseSet<std::pair<Value *, BasicBlock *>> RecursionSet;
80 DenseSet<std::pair<Value *, BasicBlock *>> &TheSet;
81 std::pair<Value *, BasicBlock *> ThePair;
83 RecursionSetRemover(DenseSet<std::pair<Value *, BasicBlock *>> &S,
84 std::pair<Value *, BasicBlock *> P)
107 bool ProcessBlock(BasicBlock *BB)
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Transforms/Scalar/
JumpThreading.h 37 typedef SmallVectorImpl<std::pair<Constant *, BasicBlock *>> PredValueInfo;
38 typedef SmallVector<std::pair<Constant *, BasicBlock *>, 8> PredValueInfoTy;
70 SmallPtrSet<const BasicBlock *, 16> LoopHeaders;
72 SmallSet<AssertingVH<const BasicBlock>, 16> LoopHeaders;
74 DenseSet<std::pair<Value *, BasicBlock *>> RecursionSet;
80 DenseSet<std::pair<Value *, BasicBlock *>> &TheSet;
81 std::pair<Value *, BasicBlock *> ThePair;
83 RecursionSetRemover(DenseSet<std::pair<Value *, BasicBlock *>> &S,
84 std::pair<Value *, BasicBlock *> P)
107 bool ProcessBlock(BasicBlock *BB)
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Transforms/Scalar/
JumpThreading.h 37 typedef SmallVectorImpl<std::pair<Constant *, BasicBlock *>> PredValueInfo;
38 typedef SmallVector<std::pair<Constant *, BasicBlock *>, 8> PredValueInfoTy;
70 SmallPtrSet<const BasicBlock *, 16> LoopHeaders;
72 SmallSet<AssertingVH<const BasicBlock>, 16> LoopHeaders;
74 DenseSet<std::pair<Value *, BasicBlock *>> RecursionSet;
80 DenseSet<std::pair<Value *, BasicBlock *>> &TheSet;
81 std::pair<Value *, BasicBlock *> ThePair;
83 RecursionSetRemover(DenseSet<std::pair<Value *, BasicBlock *>> &S,
84 std::pair<Value *, BasicBlock *> P)
107 bool ProcessBlock(BasicBlock *BB)
    [all...]

Completed in 642 milliseconds

1 2 3 4 5 6 7 8 91011>>