Searched defs:Pred (Results 1 - 25 of 85) sorted by relevance

1234

/external/clang/lib/StaticAnalyzer/Core/
H A DAggExprVisitor.cpp31 ExplodedNode *Pred; member in class:__anon3104::AggExprVisitor
38 : Dest(dest), Pred(N), DstSet(dst), Eng(eng) {}
59 Eng.VisitCXXConstructExpr(E, Dest, Pred, DstSet);
63 Eng.Visit(E, Pred, DstSet);
67 ExplodedNode *Pred, ExplodedNodeSet &Dst) {
68 AggExprVisitor(Dest, Pred, Dst, *this).Visit(const_cast<Expr *>(E));
66 VisitAggExpr(const Expr *E, const MemRegion *Dest, ExplodedNode *Pred, ExplodedNodeSet &Dst) argument
H A DExprEngineCXX.cpp36 ExplodedNode *Pred, ExplodedNodeSet &Dst,
42 WorkList.push_back(CallExprWLItem(AI, Pred));
108 ExplodedNode *Pred,
111 const ProgramState *state = Pred->getState();
119 Pred->getLocationContext());
122 MakeNode(Dst, ME, Pred, state->BindExpr(ME, loc::MemRegionVal(R)));
127 ExplodedNode *Pred,
142 evalArguments(E->arg_begin(), E->arg_end(), FnType, Pred, argsEvaluated);
147 VisitAggExpr(E->getArg(0), destNodes, Pred, Dst);
150 destNodes.Add(Pred);
34 evalArguments(ConstExprIterator AI, ConstExprIterator AE, const FunctionProtoType *FnType, ExplodedNode *Pred, ExplodedNodeSet &Dst, bool FstArgAsLValue) argument
107 CreateCXXTemporaryObject(const MaterializeTemporaryExpr *ME, ExplodedNode *Pred, ExplodedNodeSet &Dst) argument
125 VisitCXXConstructExpr(const CXXConstructExpr *E, const MemRegion *Dest, ExplodedNode *Pred, ExplodedNodeSet &destNodes) argument
205 ExplodedNode *Pred = *i; local
217 VisitCXXDestructor(const CXXDestructorDecl *DD, const MemRegion *Dest, const Stmt *S, ExplodedNode *Pred, ExplodedNodeSet &Dst) argument
241 VisitCXXNewExpr(const CXXNewExpr *CNE, ExplodedNode *Pred, ExplodedNodeSet &Dst) argument
316 VisitCXXDeleteExpr(const CXXDeleteExpr *CDE, ExplodedNode *Pred,ExplodedNodeSet &Dst) argument
328 VisitCXXThisExpr(const CXXThisExpr *TE, ExplodedNode *Pred, ExplodedNodeSet &Dst) argument
[all...]
H A DExprEngineCallAndReturn.cpp40 const ExplodedNode *Pred = B.getPredecessor(); local
42 cast<StackFrameContext>(Pred->getLocationContext());
161 void ExprEngine::VisitCallExpr(const CallExpr *CE, ExplodedNode *Pred, argument
165 getCheckerManager().runCheckersForPreStmt(dstPreVisit, Pred, CE, *this);
175 virtual void expandGraph(ExplodedNodeSet &Dst, ExplodedNode *Pred) { argument
178 Eng.InlineCall(Dst, CE, Pred)) {
188 const ProgramState *state = Pred->getState();
210 const LocationContext *LC = Pred->getLocationContext();
214 Eng.MakeNode(Dst, CE, Pred, state);
232 void ExprEngine::VisitReturnStmt(const ReturnStmt *RS, ExplodedNode *Pred, argument
[all...]
H A DExprEngineObjC.cpp23 ExplodedNode *Pred,
26 const ProgramState *state = Pred->getState();
31 MakeNode(dstIvar, Ex, Pred, state->BindExpr(Ex, location));
39 ExplodedNode *Pred,
41 getCheckerManager().runCheckersForPreStmt(Dst, Pred, S, *this);
45 ExplodedNode *Pred,
74 const ProgramState *state = Pred->getState();
80 elementV = state->getLValue(elemD, Pred->getLocationContext());
87 evalLocation(dstLocation, elem, Pred, state, elementV, NULL, false);
94 Pred
22 VisitLvalObjCIvarRefExpr(const ObjCIvarRefExpr *Ex, ExplodedNode *Pred, ExplodedNodeSet &Dst) argument
38 VisitObjCAtSynchronizedStmt(const ObjCAtSynchronizedStmt *S, ExplodedNode *Pred, ExplodedNodeSet &Dst) argument
44 VisitObjCForCollectionStmt(const ObjCForCollectionStmt *S, ExplodedNode *Pred, ExplodedNodeSet &Dst) argument
129 VisitObjCMessage(const ObjCMessage &msg, ExplodedNode *Pred, ExplodedNodeSet &Dst) argument
144 ExplodedNode *Pred = *DI; local
237 evalObjCMessage(ExplodedNodeSet &Dst, const ObjCMessage &msg, ExplodedNode *Pred, const ProgramState *state) argument
[all...]
/external/llvm/lib/Target/ARM/
H A DThumb2RegisterInfo.cpp40 ARMCC::CondCodes Pred, unsigned PredReg,
35 emitLoadConstPool(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, DebugLoc dl, unsigned DestReg, unsigned SubIdx, int Val, ARMCC::CondCodes Pred, unsigned PredReg, unsigned MIFlags) const argument
H A DThumb2InstrInfo.cpp177 ARMCC::CondCodes Pred, unsigned PredReg,
192 .addImm((unsigned)Pred).addReg(PredReg).setMIFlags(MIFlags);
199 .addImm((unsigned)Pred).addReg(PredReg).setMIFlags(MIFlags);
208 .addImm((unsigned)Pred).addReg(PredReg).addReg(0)
214 .addImm((unsigned)Pred).addReg(PredReg).addReg(0)
174 emitT2RegPlusImmediate(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, DebugLoc dl, unsigned DestReg, unsigned BaseReg, int NumBytes, ARMCC::CondCodes Pred, unsigned PredReg, const ARMBaseInstrInfo &TII, unsigned MIFlags) argument
H A DMLxExpansionPass.cpp218 ARMCC::CondCodes Pred = (ARMCC::CondCodes)MI->getOperand(NextOp).getImm(); local
230 MIB.addImm(Pred).addReg(PredReg);
242 MIB.addImm(Pred).addReg(PredReg);
H A DThumb1RegisterInfo.cpp69 ARMCC::CondCodes Pred, unsigned PredReg,
79 .addConstantPoolIndex(Idx).addImm(Pred).addReg(PredReg)
64 emitLoadConstPool(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, DebugLoc dl, unsigned DestReg, unsigned SubIdx, int Val, ARMCC::CondCodes Pred, unsigned PredReg, unsigned MIFlags) const argument
/external/clang/lib/StaticAnalyzer/Checkers/
H A DUndefBranchChecker.cpp53 ExplodedNode *Pred, ExprEngine &Eng) const;
60 ExplodedNode *Pred,
62 const ProgramState *state = Pred->getState();
68 ProgramPoint PP = PostCondition(Condition, Pred->getLocationContext(), Tag);
72 Pred, true);
58 checkBranchCondition(const Stmt *Condition, NodeBuilder &Builder, ExplodedNode *Pred, ExprEngine &Eng) const argument
H A DOSAtomicChecker.cpp28 ExplodedNode *Pred, ExplodedNodeSet &Dst) const;
33 ExplodedNode *Pred,
37 ExplodedNode *Pred, const CallExpr *Statement,
44 ExplodedNode *Pred,
46 const ProgramState *state = Pred->getState();
63 return evalOSAtomicCompareAndSwap(CE, Eng, Pred, Dst);
70 ExplodedNode *Pred,
74 ExplodedNode *N = B.generateNode(Statement, State, Pred, this);
82 ExplodedNode *Pred,
118 const ProgramState *state = Pred
42 inlineCall(const CallExpr *CE, ExprEngine &Eng, ExplodedNode *Pred, ExplodedNodeSet &Dst) const argument
69 generateNode(const ProgramState *State, ExplodedNode *Pred, const CallExpr *Statement, StmtNodeBuilder &B, ExplodedNodeSet &Dst) const argument
80 evalOSAtomicCompareAndSwap(const CallExpr *CE, ExprEngine &Eng, ExplodedNode *Pred, ExplodedNodeSet &Dst) const argument
[all...]
/external/llvm/lib/CodeGen/
H A DLatencyPriorityQueue.cpp59 SUnit &Pred = *I->getSUnit(); local
60 if (!Pred.isScheduled) {
63 if (OnlyAvailablePred && OnlyAvailablePred != &Pred)
65 OnlyAvailablePred = &Pred;
H A DAnalysis.cpp151 ISD::CondCode llvm::getFCmpCondCode(FCmpInst::Predicate Pred) { argument
153 switch (Pred) {
184 ISD::CondCode llvm::getICmpCondCode(ICmpInst::Predicate Pred) { argument
185 switch (Pred) {
H A DLiveRangeCalc.cpp119 MachineBasicBlock *Pred = *PI; local
122 if (Seen.test(Pred->getNumber())) {
123 if (VNInfo *VNI = LiveOut[Pred].first) {
132 tie(Start, End) = Indexes->getMBBRange(Pred);
134 // First time we see Pred. Try to determine the live-out value, but set
135 // it as null if Pred is live-through with an unknown value.
137 setLiveOutValue(Pred, VNI);
145 // No, we need a live-in value for Pred as well
146 if (Pred != KillMBB)
147 WorkList.push_back(Pred);
[all...]
H A DCodePlacementOpt.cpp166 MachineBasicBlock *Pred = *PI; local
167 if (Pred == TopMBB) continue;
168 if (HasFallthrough(Pred)) continue;
169 if (!L->contains(Pred)) continue;
173 if (Pred == MF.begin())
175 if (!HasAnalyzableTerminator(Pred))
177 if (!HasAnalyzableTerminator(prior(MachineFunction::iterator(Pred))))
181 DEBUG(dbgs() << "CGP: Moving blocks starting at BB#" << Pred->getNumber()
187 MachineFunction::iterator Begin = Pred;
/external/llvm/lib/Target/PowerPC/
H A DPPCBranchSelector.cpp144 PPC::Predicate Pred = (PPC::Predicate)I->getOperand(0).getImm(); local
152 .addImm(PPC::InvertPredicate(Pred)).addReg(CRReg).addImm(2);
/external/llvm/lib/Target/Sparc/
H A DSparcAsmPrinter.cpp233 const MachineBasicBlock *Pred = *PI; local
235 if (!Pred->isLayoutSuccessor(MBB))
239 MachineBasicBlock::const_iterator I = Pred->end();
240 while (I != Pred->begin() && !(--I)->getDesc().isTerminator())
242 return I == Pred->end() || !I->getDesc().isBarrier();
/external/llvm/utils/TableGen/
H A DFastISelEmitter.cpp48 unsigned getIDFor(TreePredicateFn Pred) { argument
49 unsigned &Entry = ImmIDs[Pred.getOrigPatFragRecord()];
51 PredsByName.push_back(Pred);
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerContext.h28 ExplodedNode *Pred; member in class:clang::ento::CheckerContext
47 Pred(pred),
54 assert(!(ST && ST != Pred->getState()));
75 ExplodedNode *&getPredecessor() { return Pred; }
76 const ProgramState *getState() { return ST ? ST : Pred->getState(); }
151 return Pred->getLocationContext()->getAnalysisContext();
162 pred ? pred : Pred, markAsSink);
H A DExprEngine.h136 ExplodedNode *Pred);
139 ExplodedNode *Pred);
142 ExplodedNode *Pred);
145 ExplodedNode *Pred);
148 StmtNodeBuilder &builder, ExplodedNode *Pred);
162 ExplodedNode *Pred,
236 ExplodedNode *Pred, const ProgramState *St,
242 void Visit(const Stmt *S, ExplodedNode *Pred, ExplodedNodeSet &Dst);
246 ExplodedNode *Pred,
250 void VisitAsmStmt(const AsmStmt *A, ExplodedNode *Pred, ExplodedNodeSe
341 VisitCXXTemporaryObjectExpr(const CXXTemporaryObjectExpr *expr, ExplodedNode *Pred, ExplodedNodeSet &Dst) argument
[all...]
/external/llvm/include/llvm/Analysis/
H A DBlockFrequencyImpl.h163 BlockT *Pred = *PI;
169 return Pred;
183 if(BlockT *Pred = getSingleBlockPred(BB)) {
184 if (BlocksInLoop.count(Pred))
185 setBlockFreq(BB, getEdgeFreq(Pred, BB));
197 BlockT *Pred = *PI; local
199 if (isReachable(Pred) && isBackedge(Pred, BB)) {
201 } else if (BlocksInLoop.count(Pred)) {
202 incBlockFreq(BB, getEdgeFreq(Pred, B
241 BlockT *Pred = *PI; local
294 BlockT *Pred = *PI; local
[all...]
/external/llvm/include/llvm/Transforms/Utils/
H A DSSAUpdaterImpl.h117 BlkT *Pred = Preds[p]; local
120 BBMap.FindAndConstruct(Pred);
127 ValT PredVal = AvailableVals->lookup(Pred);
128 BBInfo *PredInfo = new (Allocator) BBInfo(Pred, PredVal);
230 BBInfo *Pred = Info->Preds[p]; local
233 if (Pred->BlkNum == 0) {
234 Pred->AvailableVal = Traits::GetUndefVal(Pred->BB, Updater);
235 (*AvailableVals)[Pred->BB] = Pred
260 IsDefInDomFrontier(const BBInfo *Pred, const BBInfo *IDom) argument
352 BlkT *Pred = PredInfo->BB; local
[all...]
/external/llvm/lib/Support/
H A DConstantRange.cpp51 ConstantRange ConstantRange::makeICmpRegion(unsigned Pred, argument
57 switch (Pred) {
/external/llvm/lib/Target/MBlaze/
H A DMBlazeAsmPrinter.cpp303 const MachineBasicBlock *Pred = *PI; local
305 if (!Pred->isLayoutSuccessor(MBB))
309 if (Pred->empty())
313 MachineBasicBlock::const_iterator I = Pred->end();
314 while (I != Pred->begin() && !(--I)->getDesc().isTerminator())
316 return I == Pred->end() || !I->getDesc().isBarrier();
/external/llvm/lib/Target/Mips/
H A DMipsAsmPrinter.cpp249 const MachineBasicBlock *Pred = *MBB->pred_begin(); local
253 if (const BasicBlock *bb = Pred->getBasicBlock())
270 if (!Pred->isLayoutSuccessor(MBB))
274 if (Pred->empty())
279 MachineBasicBlock::const_iterator I = Pred->end();
280 while (I != Pred->begin() && !(--I)->getDesc().isTerminator()) ;
/external/llvm/lib/Target/PTX/
H A DPTXISelDAGToDAG.cpp93 SDValue Pred = Node->getOperand(1); local
99 assert(Pred.getValueType() == MVT::i1);
102 SDValue Ops[] = { Target, Pred, PredOp, Chain };
133 SDValue Pred = CurDAG->getRegister(PTX::NoRegister, MVT::i1); local
137 SDValue Ops[] = { Index, Pred, PredOp, Chain };
171 SDValue Pred = CurDAG->getRegister(PTX::NoRegister, MVT::i1); local
175 SDValue Ops[] = { Value, Pred, PredOp, Chain };

Completed in 2259 milliseconds

1234