Home
last modified time | relevance | path

Searched +defs:U +defs:V (Results 1 – 25 of 244) sorted by relevance

12345678910

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DIRTranslator.h89 VRegListT *getVRegs(const Value &V) { in getVRegs()
97 OffsetListT *getOffsets(const Value &V) { in getOffsets()
105 const_vreg_iterator findVRegs(const Value &V) const { in findVRegs()
109 bool contains(const Value &V) const { return ValToVRegs.contains(&V); } in contains()
119 VRegListT *insertVRegs(const Value &V) { in insertVRegs()
129 OffsetListT *insertOffsets(const Value &V) { in insertOffsets()
445 bool translateAdd(const User &U, MachineIRBuilder &MIRBuilder) { in translateAdd()
448 bool translateSub(const User &U, MachineIRBuilder &MIRBuilder) { in translateSub()
451 bool translateAnd(const User &U, MachineIRBuilder &MIRBuilder) { in translateAnd()
454 bool translateMul(const User &U, MachineIRBuilder &MIRBuilder) { in translateMul()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCaptureTracking.cpp57 bool CaptureTracker::shouldExplore(const Use *U) { return true; } in shouldExplore()
204 bool llvm::PointerMayBeCaptured(const Value *V, bool ReturnCaptures, in PointerMayBeCaptured()
237 bool llvm::PointerMayBeCapturedBefore(const Value *V, bool ReturnCaptures, in PointerMayBeCapturedBefore()
261 Instruction *llvm::FindEarliestCapture(const Value *V, Function &F, in FindEarliestCapture()
278 const Use &U, in DetermineUseCaptureKind()
407 void llvm::PointerMayBeCaptured(const Value *V, CaptureTracker *Tracker, in PointerMayBeCaptured()
417 auto AddUses = [&](const Value *V) { in PointerMayBeCaptured()
418 for (const Use &U : V->uses()) { in PointerMayBeCaptured() local
436 auto IsDereferenceableOrNull = [Tracker](Value *V, const DataLayout &DL) { in PointerMayBeCaptured()
440 const Use *U = Worklist.pop_back_val(); in PointerMayBeCaptured() local
[all …]
H A DGuardUtils.cpp18 bool llvm::isGuard(const User *U) { in isGuard()
22 bool llvm::isWidenableCondition(const Value *V) { in isWidenableCondition()
26 bool llvm::isWidenableBranch(const User *U) { in isWidenableBranch()
33 bool llvm::isGuardAsWidenableBranch(const User *U) { in isGuardAsWidenableBranch()
53 bool llvm::parseWidenableBranch(const User *U, Value *&Condition, in parseWidenableBranch()
69 bool llvm::parseWidenableBranch(User *U, Use *&C,Use *&WC, in parseWidenableBranch()
138 void llvm::parseWidenableGuard(const User *U, in parseWidenableGuard()
151 Value *llvm::extractWidenableCondition(const User *U) { in extractWidenableCondition()
H A DCodeMetrics.cpp27 appendSpeculatableOperands(const Value *V, in appendSpeculatableOperands()
30 const User *U = dyn_cast<User>(V); in appendSpeculatableOperands() local
52 const Value *V = Worklist[i]; in completeEphemeralValues() local
58 if (!all_of(V->users(), [&](const User *U) { return EphValues.count(U); })) in completeEphemeralValues()
H A DAssumeBundleQueries.cpp135 static CallInst::BundleOpInfo *getBundleFromUse(const Use *U) { in getBundleFromUse()
144 llvm::getKnowledgeFromUse(const Use *U, in getKnowledgeFromUse()
157 llvm::getKnowledgeForValue(const Value *V, in getKnowledgeForValue()
182 for (const auto &U : V->uses()) { in getKnowledgeForValue() local
198 const Value *V, ArrayRef<Attribute::AttrKind> AttrKinds, in getKnowledgeValidInContext()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DGlobalStatus.cpp54 for (const User *U : C->users()) { in isSafeToDestroyConstant() local
64 static bool analyzeGlobalAux(const Value *V, GlobalStatus &GS, in analyzeGlobalAux()
70 for (const Use &U : V->uses()) { in analyzeGlobalAux() local
192 bool GlobalStatus::analyzeGlobal(const Value *V, GlobalStatus &GS) { in analyzeGlobal()
H A DSSAUpdaterBulk.cpp29 static BasicBlock *getUserBB(Use *U) { in getUserBB()
51 void SSAUpdaterBulk::AddAvailableValue(unsigned Var, BasicBlock *BB, Value *V) { in AddAvailableValue()
61 void SSAUpdaterBulk::AddUse(unsigned Var, Use *U) { in AddUse()
75 Value *V = computeValueAt(IDom, R, DT); in computeValueAt() local
173 Value *V = computeValueAt(getUserBB(U), R, DT); in RewriteAllUses() local
H A DDemoteRegToStack.cpp57 Instruction *U = cast<Instruction>(I.user_back()); in DemoteRegToStack() local
71 Value *&V = Loads[PN->getIncomingBlock(i)]; in DemoteRegToStack() local
84 Value *V = new LoadInst(I.getType(), Slot, I.getName() + ".reload", in DemoteRegToStack() local
161 Value *V = in DemotePHIToStack() local
166 Value *V = in DemotePHIToStack() local
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFFormValue.h61 const DWARFUnit *U = nullptr; /// Remember the DWARFUnit at extract time. variable
64 DWARFFormValue(dwarf::Form F, ValueType V) : Form(F), Value(V) {} in DWARFFormValue()
104 dwarf::FormParams FormParams, const DWARFUnit *U) { in extractValue()
179 toString(const std::optional<DWARFFormValue> &V) { in toString()
228 toUnsigned(const std::optional<DWARFFormValue> &V) { in toUnsigned()
251 toReference(const std::optional<DWARFFormValue> &V) { in toReference()
285 inline int64_t toSigned(const std::optional<DWARFFormValue> &V, in toSigned()
296 toAddress(const std::optional<DWARFFormValue> &V) { in toAddress()
303 toSectionedAddress(const std::optional<DWARFFormValue> &V) { in toSectionedAddress()
326 toSectionOffset(const std::optional<DWARFFormValue> &V) { in toSectionOffset()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCBoolRetToInt.cpp73 static SmallPtrSet<Value *, 8> findAllDefs(Value *V) { in findAllDefs()
92 Value *translate(Value *V) { in translate()
140 auto IsValidUser = [] (const Value *V) -> bool { in getPromotablePHINodes()
144 auto IsValidOperand = [] (const Value *V) -> bool { in getPromotablePHINodes()
156 auto IsPromotable = [&Promotable] (const Value *V) -> bool { in getPromotablePHINodes()
210 for (auto &U : CI->operands()) in runOnFunction() local
219 bool runOnUse(Use &U, const PHINodeSet &PromotablePHINodes, in runOnUse()
224 if (llvm::none_of(Defs, [](Value *V) { return isa<Instruction>(V); })) in runOnUse()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DTypeFinder.cpp61 for (const Use &U : FI.operands()) in run() local
133 void TypeFinder::incorporateValue(const Value *V) { in incorporateValue()
164 const User *U = cast<User>(V); in incorporateValue() local
171 void TypeFinder::incorporateMDNode(const MDNode *V) { in incorporateMDNode()
H A DReplaceConstant.cpp21 static bool isExpandableUser(User *U) { in isExpandableUser()
31 Value *V = PoisonValue::get(C->getType()); in expandUser() local
38 Value *V = PoisonValue::get(C->getType()); in expandUser() local
H A DValue.cpp99 for (auto *U : users()) in ~Value() local
181 for (auto *U : users()) { in getUniqueUndroppableUser() local
217 void Value::dropDroppableUse(Use &U) { in dropDroppableUse()
259 static bool getSymTab(Value *V, ValueSymbolTable *&ST) { in getSymTab()
383 void Value::takeName(Value *V) { in takeName()
486 static bool contains(Value *Expr, Value *V) { in contains()
517 Use &U = *UseList; in doRAUW() local
601 replaceUsesWithIf(New, [BB](Use &U) { in replaceUsesOutsideBlock()
623 const Value *V, in stripPointerCastsAndOffsets()
728 const Value *V = this; in stripAndAccumulateConstantOffsets() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp200 Value *V = Q.front(); in pop_front_val() local
261 const Value *V; member
338 Value *V = Q.pop_front_val(); in initialize() local
438 Value *V = Q.pop_front_val(); in replace() local
500 Value *V = Q.pop_front_val(); in find() local
1140 for (auto *U : Out->users()) { in findCycle() local
1171 Value *V = Cycle[I]; in classifyCycle() local
1188 Value *V = Cycle[I]; in classifyCycle() local
1325 Value *V = nullptr; in convertShiftsToLeft() local
1343 Value *V = Users[i]; in convertShiftsToLeft() local
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DObjCARCAnalysisUtils.h69 inline const Value *GetUnderlyingObjCPtr(const Value *V) { in GetUnderlyingObjCPtr()
82 const Value *V, in GetUnderlyingObjCPtrCached()
110 inline const Value *GetRCIdentityRoot(const Value *V) { in GetRCIdentityRoot()
124 inline Value *GetRCIdentityRoot(Value *V) { in GetRCIdentityRoot()
135 inline bool IsNullOrUndef(const Value *V) { in IsNullOrUndef()
174 for (const Use &U : CB.args()) in GetCallSiteClass() local
186 inline bool IsObjCIdentifiedObject(const Value *V) { in IsObjCIdentifiedObject()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp225 Value *V = *AI; in doPromotion() local
371 Value *V = Worklist.pop_back_val(); in doPromotion() local
437 return all_of(Callee->users(), [&](User *U) { in allCallersPassValidPointerForArgument()
572 auto AppendUses = [&](const Value *V) { in findArgParts()
573 for (const Use &U : V->uses()) in findArgParts() local
579 const Use *U = Worklist.pop_back_val(); in findArgParts() local
580 Value *V = U->getUser(); in findArgParts() local
684 return all_of(F.uses(), [&](const Use &U) { in areTypesABICompatible()
835 for (auto *U : NewF->users()) { in run() local
H A DGlobalOpt.cpp209 User *U = Worklist.pop_back_val(); in CleanupPointerRootUsers() local
211 Value *V = SI->getValueOperand(); in CleanupPointerRootUsers() local
283 User *U = WorkList.pop_back_val(); in CleanupConstantGlobalUsers() local
343 auto AppendUses = [&](Value *V) { in collectSRATypes()
350 Use *U = Worklist.pop_back_val(); in collectSRATypes() local
351 User *V = U->getUser(); in collectSRATypes() local
585 auto AppendUsers = [&](Value *V) { in SRAGlobal()
644 for (const User *U : V->users()) { in AllUsesOfValueWillTrapIfNull() local
732 for (auto *U : P->users()) { in allUsesOfLoadAndStores() local
946 for (auto *U : Guses) { in OptimizeGlobalAddressOfAllocation() local
[all …]
H A DThinLTOBitcodeWriter.cpp127 for (const Use &U : TypeTestFunc->uses()) { in promoteTypeIds() local
135 for (const Use &U : PublicTypeTestFunc->uses()) { in promoteTypeIds() local
143 for (const Use &U : TypeCheckedLoadFunc->uses()) { in promoteTypeIds() local
151 for (const Use &U : TypeCheckedLoadRelativeFunc->uses()) { in promoteTypeIds() local
223 std::vector<GlobalValue *> V; in filterModule() local
250 for (auto *V : Used) { in cloneUsedGlobalVariables() local
404 for (auto *V : CfiFunctions) { in splitAndWriteThinLTOBitcode() local
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp139 SVal V = state->getSVal(LHS, LCtx); in VisitBinaryOperator() local
337 SVal V = state->getSVal(Ex, LCtx); in VisitCast() local
344 SVal V = state->getSVal(Ex, LCtx); in VisitCast() local
365 SVal V = state->getSVal(Ex, LCtx); in VisitCast() local
441 if (std::optional<SVal> V = in VisitCast() local
772 SVal V; in VisitInitListExpr() local
815 SVal V; in VisitGuardedExpr() local
906 void ExprEngine::handleUOExtension(ExplodedNode *N, const UnaryOperator *U, in handleUOExtension()
921 void ExprEngine::VisitUnaryOperator(const UnaryOperator* U, ExplodedNode *Pred, in VisitUnaryOperator()
1008 SVal V = state->getSVal(Ex, LCtx); in VisitUnaryOperator() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LowerAMXType.cpp187 Use &U = *(Phi->use_begin()); in getShape() local
189 User *V = U.getUser(); in getShape() local
198 Use &U = *(V->use_begin()); in getShape() local
206 Use &U = *(V->use_begin()); in getShape() local
240 Use &U = *(Bitcast->use_begin()); in combineLoadBitcast() local
483 Value *V = U.get(); in replaceWithTileLoad() local
509 User *V = U.getUser(); in isIncomingOfPHI() local
541 User *V = U.getUser(); in updatePhiIncomings() local
650 User *V = U.getUser(); in volatileTileNonPHI() local
873 Value *V = OldPN->getOperand(j); in optimizeAMXCastFromPhi() local
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DAbstractCallSite.h137 bool isCallee(const Use *U) const { in isCallee()
219 Value *V = getCalledOperand(); in getCalledFunction() local
229 for (const Use *U : CallbackUses) { in forEachCallbackCallSite() local
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFFormValue.cpp82 DWARFFormValue DWARFFormValue::createFromSValue(dwarf::Form F, int64_t V) { in createFromSValue()
86 DWARFFormValue DWARFFormValue::createFromUValue(dwarf::Form F, uint64_t V) { in createFromUValue()
90 DWARFFormValue DWARFFormValue::createFromPValue(dwarf::Form F, const char *V) { in createFromPValue()
96 ValueType V; in createFromBlockValue() local
102 DWARFFormValue DWARFFormValue::createFromUnit(dwarf::Form F, const DWARFUnit *U, in createFromUnit()
641 const ValueType &Value, const dwarf::Form Form, const DWARFUnit *U) { in getAsSectionedAddress()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILValueEnumerator.cpp85 static void orderValue(const Value *V, OrderMap &OM) { in orderValue()
126 for (const Use &U : F.operands()) in orderModule() local
136 auto orderConstantValue = [&OM](const Value *V) { in orderModule()
145 for (const Value *V : I.operands()) { in orderModule() local
210 for (const Use &U : V->uses()) in predictValueUseListOrderImpl() local
353 for (const Use &U : F.operands()) in predictUseListOrder() local
412 for (const Use &U : F.operands()) in ValueEnumerator() local
540 const Value *V = I.first; in print() local
549 for (const Use &U : V->uses()) { in print() local
871 void ValueEnumerator::EnumerateValue(const Value *V) { in EnumerateValue()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp73 for (auto &U : Value->uses()) { in isOnlyCopiedFromConstantMemory() local
297 for (auto *U : I.users()) { in collectUsersRecursive() local
393 auto *V = getReplacement(BC->getOperand(0)); in replace() local
450 void PointerReplacer::replacePointer(Value *V) { in replacePointer()
734 Value *V = PoisonValue::get(T); in unpackLoadToAggregate() local
779 Value *V = PoisonValue::get(T); in unpackLoadToAggregate() local
902 Value *V = GEPI->getOperand(I); in canReplaceGEPIdxWithZero() local
1120 Value *U = nullptr; in likeBitCastFromVector() local
1190 Value *V = SI.getValueOperand(); in combineStoreToValueType() local
1207 if (Value *U = likeBitCastFromVector(IC, V)) in combineStoreToValueType() local
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtil.cpp55 void PrintASCII(const Unit &U, const char *PrintAfter) { in PrintASCII()
73 bool IsASCII(const Unit &U) { return IsASCII(U.data(), U.size()); } in IsASCII()
81 bool ParseOneDictionaryEntry(const std::string &Str, Unit *U) { in ParseOneDictionaryEntry()
99 uint8_t V = (uint8_t)Str[Pos]; in ParseOneDictionaryEntry() local
134 Unit U; in ParseDictionaryFile() local
155 std::string Base64(const Unit &U) { in Base64()

12345678910