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

1 2 3 4 5 6 7 8 91011>>

  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
PhiValues.h 35 class PHINode;
54 const ValueSet &getValuesForPhi(const PHINode *PN);
75 using PhiSet = SmallPtrSet<const PHINode *, 4>;
83 DenseMap<const PHINode *, unsigned int> DepthMap;
96 void processPhi(const PHINode *PN, SmallVector<const PHINode *, 8> &Stack);
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
PhiValues.cpp 40 void PhiValues::processPhi(const PHINode *Phi,
41 SmallVector<const PHINode *, 8> &Stack) {
50 if (PHINode *PhiPhiOp = dyn_cast<PHINode>(PhiOp)) {
73 const PHINode *ComponentPhi = Stack.pop_back_val();
77 if (PHINode *PhiOp = dyn_cast<PHINode>(Op)) {
95 if (!isa<PHINode>(V))
101 const PhiValues::ValueSet &PhiValues::getValuesForPhi(const PHINode *PN) {
103 SmallVector<const PHINode *, 8> Stack
    [all...]
  /external/llvm/include/llvm/Transforms/Utils/
SimplifyIndVar.h 28 class PHINode;
49 bool simplifyUsersOfIV(PHINode *CurrIV, ScalarEvolution *SE, DominatorTree *DT,
SSAUpdater.h 27 class PHINode;
55 SmallVectorImpl<PHINode*> *InsertedPHIs;
60 explicit SSAUpdater(SmallVectorImpl<PHINode*> *InsertedPHIs = nullptr);
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
SimplifyIndVar.h 27 class PHINode;
49 bool simplifyUsersOfIV(PHINode *CurrIV, ScalarEvolution *SE, DominatorTree *DT,
SSAUpdaterBulk.h 25 class PHINode;
87 SmallVectorImpl<PHINode *> *InsertedPHIs = nullptr);
SSAUpdater.h 26 class PHINode;
55 SmallVectorImpl<PHINode *> *InsertedPHIs;
60 explicit SSAUpdater(SmallVectorImpl<PHINode *> *InsertedPHIs = nullptr);
  /external/llvm/lib/Target/PowerPC/
PPCBoolRetToInt.cpp 82 if (PHINode *P = dyn_cast<PHINode>(V)) {
86 PHINode *Q =
87 PHINode::Create(Int32Ty, P->getNumIncomingValues(), P->getName(), P);
102 typedef SmallPtrSet<const PHINode *, 8> PHINodeSet;
104 // A PHINode is Promotable if:
106 // 2. All of its uses are ReturnInt, CallInst, PHINode, or DbgInfoIntrinsic
109 // CallInst or PHINode AND
110 // 4. All of its PHINode uses are Promotable AND
111 // 5. All of its PHINode operands are Promotabl
    [all...]
  /external/llvm/lib/Transforms/Utils/
SSAUpdater.cpp 38 SSAUpdater::SSAUpdater(SmallVectorImpl<PHINode*> *NewPHI)
65 static bool IsEquivalentPHI(PHINode *PHI,
100 if (PHINode *SomePhi = dyn_cast<PHINode>(BB->begin())) {
138 if (isa<PHINode>(BB->begin())) {
141 PHINode *SomePHI;
143 (SomePHI = dyn_cast<PHINode>(It)); ++It) {
150 PHINode *InsertedPHI = PHINode::Create(ProtoType, PredValues.size(),
182 if (PHINode *UserPN = dyn_cast<PHINode>(User)
    [all...]
BreakCriticalEdges.cpp 92 PHINode *PN = dyn_cast<PHINode>(I); ++I) {
98 if (const PHINode *VP = dyn_cast<PHINode>(V))
103 PHINode *NewPN = PHINode::Create(
149 for (BasicBlock::iterator I = DestBB->begin(); isa<PHINode>(I); ++I) {
153 PHINode *PN = cast<PHINode>(I);
196 if (PHINode *PN = dyn_cast<PHINode>(DestBB->begin()))
    [all...]
LCSSA.cpp 80 if (PHINode *PN = dyn_cast<PHINode>(User))
103 SmallVector<PHINode *, 16> AddedPHIs;
104 SmallVector<PHINode *, 8> PostProcessPHIs;
119 PHINode *PN = PHINode::Create(Inst.getType(), PredCache.size(ExitBB),
162 if (PHINode *PN = dyn_cast<PHINode>(User))
165 if (isa<PHINode>(UserBB->begin()) && isExitBlock(UserBB, ExitBlocks)) {
197 for (PHINode *PN : AddedPHIs
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
SSAUpdater.cpp 38 SSAUpdater::SSAUpdater(SmallVectorImpl<PHINode*> *NewPHI)
73 static bool IsEquivalentPHI(PHINode *PHI,
129 if (PHINode *SomePhi = dyn_cast<PHINode>(BB->begin())) {
167 if (isa<PHINode>(BB->begin())) {
170 PHINode *SomePHI;
172 (SomePHI = dyn_cast<PHINode>(It)); ++It) {
179 PHINode *InsertedPHI = PHINode::Create(ProtoType, PredValues.size(),
209 if (PHINode *UserPN = dyn_cast<PHINode>(User)
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
SSAUpdater.cpp 47 SSAUpdater::SSAUpdater(SmallVectorImpl<PHINode *> *NewPHI)
79 static bool IsEquivalentPHI(PHINode *PHI,
114 if (PHINode *SomePhi = dyn_cast<PHINode>(BB->begin())) {
152 if (isa<PHINode>(BB->begin())) {
155 for (PHINode &SomePHI : BB->phis()) {
162 PHINode *InsertedPHI = PHINode::Create(ProtoType, PredValues.size(),
194 if (PHINode *UserPN = dyn_cast<PHINode>(User)
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombinePHI.cpp 28 Instruction *InstCombiner::FoldPHIArgBinOpIntoPHI(PHINode &PN) {
69 PHINode *NewLHS = nullptr, *NewRHS = nullptr;
71 NewLHS = PHINode::Create(LHSType, PN.getNumIncomingValues(),
79 NewRHS = PHINode::Create(RHSType, PN.getNumIncomingValues(),
121 Instruction *InstCombiner::FoldPHIArgGEPIntoPHI(PHINode &PN) {
192 SmallVector<PHINode*, 16> OperandPhis(FixedOperands.size());
198 PHINode *NewPN = PHINode::Create(FirstOp->getType(), e,
216 if (PHINode *OpPhi = OperandPhis[op])
276 Instruction *InstCombiner::FoldPHIArgLoadIntoPHI(PHINode &PN)
    [all...]
  /external/swiftshader/third_party/LLVM/lib/VMCore/
BasicBlock.cpp 133 // which is not a PHINode. If we have an invalid basic
136 while (isa<PHINode>(i)) ++i;
143 // which is not a PHINode. If we have an invalid basic
146 while (isa<PHINode>(i) || isa<DbgInfoIntrinsic>(i)) ++i;
152 // which is not a PHINode. If we have an invalid basic
157 if (isa<PHINode>(i) || isa<DbgInfoIntrinsic>(i))
223 PHINode *APN = dyn_cast<PHINode>(&front());
250 while (PHINode *PN = dyn_cast<PHINode>(&front()))
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
PPCBoolRetToInt.cpp 99 if (auto *P = dyn_cast<PHINode>(V)) {
103 PHINode *Q =
104 PHINode::Create(IntTy, P->getNumIncomingValues(), P->getName(), P);
119 typedef SmallPtrSet<const PHINode *, 8> PHINodeSet;
121 // A PHINode is Promotable if:
123 // 2. All of its uses are ReturnInt, CallInst, PHINode, or DbgInfoIntrinsic
126 // CallInst or PHINode AND
127 // 4. All of its PHINode uses are Promotable AND
128 // 5. All of its PHINode operands are Promotable
134 if (const auto *P = dyn_cast<PHINode>(&I)
    [all...]
  /external/llvm/lib/Transforms/ObjCARC/
ProvenanceAnalysis.h 34 class PHINode;
59 bool relatedPHI(const PHINode *A, const Value *B);
ProvenanceAnalysis.cpp 48 bool ProvenanceAnalysis::relatedPHI(const PHINode *A,
54 if (const PHINode *PNB = dyn_cast<PHINode>(B))
150 if (const PHINode *PN = dyn_cast<PHINode>(A))
152 if (const PHINode *PN = dyn_cast<PHINode>(B))
  /external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
InstCombinePHI.cpp 24 Instruction *InstCombiner::FoldPHIArgBinOpIntoPHI(PHINode &PN) {
81 PHINode *NewLHS = 0, *NewRHS = 0;
83 NewLHS = PHINode::Create(LHSType, PN.getNumIncomingValues(),
91 NewRHS = PHINode::Create(RHSType, PN.getNumIncomingValues(),
130 Instruction *InstCombiner::FoldPHIArgGEPIntoPHI(PHINode &PN) {
201 SmallVector<PHINode*, 16> OperandPhis(FixedOperands.size());
207 PHINode *NewPN = PHINode::Create(FirstOp->getType(), e,
225 if (PHINode *OpPhi = OperandPhis[op])
287 Instruction *InstCombiner::FoldPHIArgLoadIntoPHI(PHINode &PN)
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/ObjCARC/
ProvenanceAnalysis.h 37 class PHINode;
64 bool relatedPHI(const PHINode *A, const Value *B);
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
InstCombinePHI.cpp 33 void InstCombiner::PHIArgMergedDebugLoc(Instruction *Inst, PHINode &PN) {
96 Instruction *InstCombiner::FoldIntegerTypedPHI(PHINode &PN) {
159 if (isa<PHINode>(Arg)) {
182 PHINode *MatchingPtrPHI = nullptr;
189 PHINode *PtrPHI = dyn_cast<PHINode>(II);
230 PHINode *NewPtrPHI = PHINode::Create(
246 assert((isa<PHINode>(IncomingVal) ||
266 if (isa<PHINode>(IncomingI)
    [all...]
  /external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/
Local.h 30 class PHINode;
71 bool RecursivelyDeleteDeadPHINode(PHINode *PN);
149 AllocaInst *DemotePHIToStack(PHINode *P, Instruction *AllocaPoint = 0);
SSAUpdater.h 21 class PHINode;
49 SmallVectorImpl<PHINode*> *InsertedPHIs;
54 explicit SSAUpdater(SmallVectorImpl<PHINode*> *InsertedPHIs = 0);
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Scalar/
SROA.h 33 class PHINode;
103 SetVector<PHINode *, SmallVector<PHINode *, 2>> SpeculatablePHIs;
  /external/llvm/unittests/Transforms/Utils/
Local.cpp 29 PHINode *phi = builder.CreatePHI(Type::getInt32Ty(C), 2);
75 AssertingVH<PHINode> P1 = B.CreatePHI(Type::getInt32Ty(C), 2);
78 PHINode *P2 = B.CreatePHI(Type::getInt32Ty(C), 2);
81 AssertingVH<PHINode> P3 = B.CreatePHI(Type::getInt32Ty(C), 2);
85 PHINode *P4 = B.CreatePHI(Type::getInt32Ty(C), 2);

Completed in 2418 milliseconds

1 2 3 4 5 6 7 8 91011>>