| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | AssumptionCache.cpp | 242 for (auto &VH : AssumeHandles) { in registerAssumption() local 243 if (!VH) in registerAssumption() 246 assert(&F == cast<Instruction>(VH)->getParent()->getParent() && in registerAssumption() 248 assert(match(cast<CallInst>(VH), m_Intrinsic<Intrinsic::assume>()) && in registerAssumption() 250 assert(AssumptionSet.insert(VH).second && in registerAssumption() 271 for (auto &VH : AC.assumptions()) in run() local 272 if (VH) in run() 273 OS << " " << *cast<CallInst>(VH)->getArgOperand(0) << "\n"; in run() 322 for (auto &VH : I.second->assumptions()) in verifyAnalysis() local 323 if (VH) in verifyAnalysis() [all …]
|
| H A D | MemorySSAUpdater.cpp | 371 for (const auto &VH : InsertedPHIs) in insertDef() local 372 if (const auto *RealPHI = cast_or_null<MemoryPhi>(VH)) in insertDef() 1094 for (auto &VH : InsertedPhis) in applyInsertUpdates() local 1095 if (auto *MPhi = cast_or_null<MemoryPhi>(VH)) in applyInsertUpdates() 1403 for (const auto &VH : UpdatedPHIs) in tryRemoveTrivialPhis() local 1404 if (auto *MPhi = cast_or_null<MemoryPhi>(VH)) in tryRemoveTrivialPhis()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | ValueHandleTest.cpp | 434 CastInst *implicit_to_exact_type = VH; in TEST_F() 444 EXPECT_FALSE(VH->mayWriteToMemory()); in TEST_F() 445 EXPECT_FALSE((*VH).mayWriteToMemory()); in TEST_F() 489 PoisoningVH<Value> VH(BitcastV.get()); in TEST_F() local 527 TrackingVH<Value> VH(BitcastV.get()); in TEST_F() local 529 EXPECT_EQ(VH, ConstantV); in TEST_F() 536 PoisoningVH<Value> VH(BitcastV.get()); in TEST_F() local 544 VH = BitcastV.get(); in TEST_F() 557 TrackingVH<Value> VH(BitcastV.get()); in TEST_F() local 562 EXPECT_DEATH((void)*VH, in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LowerConstantIntrinsics.cpp | 65 for (auto &VH : Worklist) { in replaceConditionalBranchesOnConstant() local 66 BranchInst *BI = dyn_cast_or_null<BranchInst>(VH); in replaceConditionalBranchesOnConstant() 123 for (WeakTrackingVH &VH: Worklist) { in lowerConstantIntrinsics() 127 if (!VH) in lowerConstantIntrinsics() 129 IntrinsicInst *II = dyn_cast<IntrinsicInst>(&*VH); in lowerConstantIntrinsics()
|
| H A D | StructurizeCFG.cpp | 682 for (WeakVH VH : AffectedPhis) { in simplifyAffectedPhis() local 683 if (auto Phi = dyn_cast_or_null<PHINode>(VH)) { in simplifyAffectedPhis()
|
| H A D | LoopStrengthReduce.cpp | 6311 static Value *getValueOrUndef(WeakVH &VH, LLVMContext &C) { in getValueOrUndef() argument 6312 return (VH) ? VH : UndefValue::get(llvm::Type::getInt8Ty(C)); in getValueOrUndef() 6335 for (WeakVH VH : DVIRec.LocationOps) { in restorePreTransformState() local 6336 Value *CachedValue = getValueOrUndef(VH, DVIRec.DVI->getContext()); in restorePreTransformState() 6367 WeakVH VH = DVIRec.LocationOps[i]; in SalvageDVI() local 6371 if (VH && !isa<UndefValue>(VH)) { in SalvageDVI() 6372 NewLocationOps.push_back(VH); in SalvageDVI()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | ValueMap.h | 299 using VH = ValueMapCallbackVH<KeyT, ValueT, Config>; 301 static inline VH getEmptyKey() { 302 return VH(DenseMapInfo<Value *>::getEmptyKey()); 305 static inline VH getTombstoneKey() { 306 return VH(DenseMapInfo<Value *>::getTombstoneKey()); 309 static unsigned getHashValue(const VH &Val) { 317 static bool isEqual(const VH &LHS, const VH &RHS) { 321 static bool isEqual(const KeyT &LHS, const VH &RHS) {
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/ |
| H A D | ScalarEvolutionExpander.h | 201 for (auto &VH : InsertedValues) { 202 Value *V = VH; 208 for (auto &VH : InsertedPostIncValues) { 209 Value *V = VH;
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | misched-fusion-aes.ll | 106 ; CHECK: aese [[VH:v[0-7].16b]], {{v[0-7].16b}} 107 ; CHECK-NEXT: aesmc [[VH]], [[VH]] 190 ; CHECK: aesd [[VH:v[0-7].16b]], {{v[0-7].16b}} 191 ; CHECK-NEXT: aesimc [[VH]], [[VH]]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | InlineFunction.cpp | 2027 for (auto &VH : InlinedFunctionInfo.OperandBundleCallSites) { in InlineFunction() local 2028 CallBase *ICS = dyn_cast_or_null<CallBase>(VH); in InlineFunction() 2065 VH = nullptr; in InlineFunction()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.cpp | 5565 auto &VH = NamespaceAliasCache[&NA]; in EmitNamespaceAlias() local 5566 if (VH) in EmitNamespaceAlias() 5567 return cast<llvm::DIImportedEntity>(VH); in EmitNamespaceAlias() 5582 VH.reset(R); in EmitNamespaceAlias()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeIntegerTypes.cpp | 3696 SDValue VH = DAG.getNode(ISD::SRL, dl, NVT, V, Shift); in ExpandIntRes_MUL() local 3700 DAG.getNode(ISD::ADD, dl, NVT, UH, VH)); in ExpandIntRes_MUL()
|