Home
last modified time | relevance | path

Searched refs:WeakVH (Results 1 – 25 of 46) sorted by relevance

12

/external/llvm/unittests/IR/
DValueHandleTest.cpp38 WeakVH WVH(BitcastV.get()); in TEST_F()
50 WeakVH BitcastWVH(BitcastV.get()); in TEST_F()
51 WeakVH ConstantWVH(ConstantV); in TEST_F()
83 WeakVH WVH(BitcastV.get()); in TEST_F()
84 WeakVH WVH_Copy(WVH); in TEST_F()
85 WeakVH WVH_Recreated(BitcastV.get()); in TEST_F()
93 WeakVH WVH(BitcastV.get()); in TEST_F()
94 WeakVH WVH_Copy(WVH); in TEST_F()
95 WeakVH WVH_Recreated(BitcastV.get()); in TEST_F()
346 std::unique_ptr<WeakVH> ToClear[2]; in TEST_F()
[all …]
/external/llvm/include/llvm/IR/
DValueHandle.h145 class WeakVH : public ValueHandleBase {
147 WeakVH() : ValueHandleBase(Weak) {} in WeakVH() function
148 WeakVH(Value *P) : ValueHandleBase(Weak, P) {} in WeakVH() function
149 WeakVH(const WeakVH &RHS) in WeakVH() function
152 WeakVH &operator=(const WeakVH &RHS) = default;
168 template <> struct simplify_type<WeakVH> {
170 static SimpleType getSimplifiedValue(WeakVH &WVH) { return WVH; }
172 template <> struct simplify_type<const WeakVH> {
174 static SimpleType getSimplifiedValue(const WeakVH &WVH) { return WVH; }
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DValueHandle.h141 class WeakVH : public ValueHandleBase {
143 WeakVH() : ValueHandleBase(Weak) {} in WeakVH() function
144 WeakVH(Value *P) : ValueHandleBase(Weak, P) {} in WeakVH() function
145 WeakVH(const WeakVH &RHS) in WeakVH() function
148 WeakVH &operator=(const WeakVH &RHS) = default;
164 template <> struct simplify_type<WeakVH> {
167 static SimpleType getSimplifiedValue(WeakVH &WVH) { return WVH; }
169 template <> struct simplify_type<const WeakVH> {
172 static SimpleType getSimplifiedValue(const WeakVH &WVH) { return WVH; }
/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp131 SmallVector<WeakVH,8> WUsers(CE->user_begin(), CE->user_end()); in replaceConstantExprOp()
135 if (WeakVH WU = WUsers.pop_back_val()) { in replaceConstantExprOp()
162 SmallVector<WeakVH,8> WUsers; in rewriteNonInstructionUses()
165 WUsers.push_back(WeakVH(U)); in rewriteNonInstructionUses()
167 if (WeakVH WU = WUsers.pop_back_val()) { in rewriteNonInstructionUses()
/external/llvm/include/llvm/Transforms/Utils/
DSimplifyIndVar.h50 LoopInfo *LI, SmallVectorImpl<WeakVH> &Dead,
56 LoopInfo *LI, SmallVectorImpl<WeakVH> &Dead);
DCloning.h80 std::vector<WeakVH> OperandBundleCallSites;
193 SmallVector<WeakVH, 8> InlinedCalls;
DValueMapper.h24 typedef ValueMap<const Value *, WeakVH> ValueToValueMapTy;
/external/llvm/include/llvm/Analysis/
DAssumptionCache.h47 SmallVector<WeakVH, 4> AssumeHandles;
85 MutableArrayRef<WeakVH> assumptions() { in assumptions()
DMemoryBuiltins.h212 typedef std::pair<WeakVH, WeakVH> WeakEvalType;
DIVUsers.h82 WeakVH OperandValToReplace;
DScalarEvolutionExpander.h191 SmallVectorImpl<WeakVH> &DeadInsts,
DCallGraph.h175 typedef std::pair<WeakVH, CallGraphNode *> CallRecord;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DMemorySSAUpdater.h66 SmallVector<WeakVH, 16> InsertedPHIs;
222 void fixupDefs(const SmallVectorImpl<WeakVH> &);
DAliasSetTracker.h143 std::vector<WeakVH> UnknownInsts;
/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp51 SmallVectorImpl<WeakVH> &DeadInsts;
57 LoopInfo *LI,SmallVectorImpl<WeakVH> &Dead) in SimplifyIndvar()
670 LoopInfo *LI, SmallVectorImpl<WeakVH> &Dead, in simplifyUsersOfIV()
680 LoopInfo *LI, SmallVectorImpl<WeakVH> &Dead) { in simplifyLoopIVs()
/external/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp191 DenseMap<const SCEV *, SmallVector<WeakVH, 2>> SeenExprs;
263 SeenExprs[NewSCEV].push_back(WeakVH(&*I)); in doOneIteration()
283 SeenExprs[OldSCEV].push_back(WeakVH(&*I)); in doOneIteration()
DLoopSimplifyCFG.cpp43 SmallVector<WeakVH, 16> Blocks(L.blocks()); in simplifyLoopCFG()
DIndVarSimplify.cpp96 SmallVector<WeakVH, 16> DeadInsts;
414 WeakVH WeakPH = PN; in handleFloatingPointIV()
449 SmallVector<WeakVH, 8> PHIs; in rewriteNonIntegerIVs()
887 SmallVectorImpl<WeakVH> &DeadInsts;
895 SmallVectorImpl<WeakVH> &DI) : in WidenIV()
DLoopStrengthReduce.cpp800 DeleteTriviallyDeadInstructions(SmallVectorImpl<WeakVH> &DeadInsts) { in DeleteTriviallyDeadInstructions()
1676 SmallVectorImpl<WeakVH> &DeadInsts);
1759 SmallVectorImpl<WeakVH> &DeadInsts) const;
1763 SmallVectorImpl<WeakVH> &DeadInsts) const;
1767 SmallVectorImpl<WeakVH> &DeadInsts) const;
2830 SmallVectorImpl<WeakVH> &DeadInsts) { in GenerateIVChain()
4437 SmallVectorImpl<WeakVH> &DeadInsts) const { in Expand()
4622 SmallVectorImpl<WeakVH> &DeadInsts) const { in RewriteForPHI()
4696 SmallVectorImpl<WeakVH> &DeadInsts) const { in Rewrite()
4734 SmallVector<WeakVH, 16> DeadInsts; in ImplementSolution()
[all …]
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp1403 std::vector<WeakVH> Deferred;
1407 bool doSanityCheck(std::vector<WeakVH> &Worklist);
1466 bool MergeFunctions::doSanityCheck(std::vector<WeakVH> &Worklist) { in doSanityCheck()
1474 for (std::vector<WeakVH>::iterator I = Worklist.begin(), E = Worklist.end(); in doSanityCheck()
1477 for (std::vector<WeakVH>::iterator J = I; J != E && j < Max; ++J, ++j) { in doSanityCheck()
1496 for (std::vector<WeakVH>::iterator K = J; K != E && k < Max; in doSanityCheck()
1567 Deferred.push_back(WeakVH(I->second)); in runOnModule()
1572 std::vector<WeakVH> Worklist; in runOnModule()
1581 for (WeakVH &I : Worklist) { in runOnModule()
/external/llvm/include/llvm/Transforms/Vectorize/
DSLPVectorizer.h43 typedef SmallVector<WeakVH, 8> WeakVHList;
/external/clang/lib/CodeGen/
DCodeGenModule.h346 std::vector<llvm::WeakVH> LLVMUsed;
347 std::vector<llvm::WeakVH> LLVMCompilerUsed;
418 std::vector<std::pair<llvm::WeakVH,llvm::Constant*> > CXXGlobalDtors;
431 llvm::WeakVH CFConstantStringClassRef;
435 llvm::WeakVH ConstantStringClassRef;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Vectorize/
DSLPVectorizer.h133 bool vectorizeSimpleInstructions(SmallVectorImpl<WeakVH> &Instructions,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DMemorySSAUpdater.cpp279 SmallVector<WeakVH, 8> FixupList(InsertedPHIs.begin(), InsertedPHIs.end()); in insertDef()
325 void MemorySSAUpdater::fixupDefs(const SmallVectorImpl<WeakVH> &Vars) { in fixupDefs()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp243 WeakVH NewIExist = NewI; in doOneIteration()

12