Searched refs:UserI (Results 1 - 13 of 13) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DDemandedBits.cpp87 const Instruction *UserI, const Value *Val, unsigned OperandNo,
104 const DataLayout &DL = UserI->getModule()->getDataLayout();
106 computeKnownBits(V1, Known, DL, 0, &AC, UserI, &DT);
110 computeKnownBits(V2, Known2, DL, 0, &AC, UserI, &DT);
114 switch (UserI->getOpcode()) {
118 if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(UserI))
186 if (match(UserI->getOperand(1), m_APInt(ShiftAmtC))) {
192 const ShlOperator *S = cast<ShlOperator>(UserI);
203 if (match(UserI->getOperand(1), m_APInt(ShiftAmtC))) {
209 if (cast<LShrOperator>(UserI)
86 determineLiveOperandBits( const Instruction *UserI, const Value *Val, unsigned OperandNo, const APInt &AOut, APInt &AB, KnownBits &Known, KnownBits &Known2, bool &KnownBitsComputed) argument
356 Instruction *UserI = Worklist.pop_back_val(); local
[all...]
H A DValueTracking.cpp4598 const Instruction *UserI = cast<Instruction>(User); local
4599 if (propagatesFullPoison(UserI))
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopInstSimplify.cpp111 auto *UserI = cast<Instruction>(U.getUser()); local
117 if (auto *UserPI = dyn_cast<PHINode>(UserI))
131 assert((L.contains(UserI) || isa<PHINode>(UserI)) &&
133 if (!IsFirstIteration && L.contains(UserI))
134 ToSimplify->insert(UserI);
H A DSpeculateAroundPHIs.cpp254 auto *UserI = cast<Instruction>(U.getUser()); local
272 if (UserI->isBinaryOp() && UserI->isCommutative() && Idx != 1)
278 if (auto *UserII = dyn_cast<IntrinsicInst>(UserI))
290 TTI.getIntImmCostInst(UserI->getOpcode(), Idx,
H A DLoopInterchange.cpp1269 Instruction *UserI = cast<Instruction>(U.getUser());
1270 if (!InnerLoop->contains(UserI->getParent()) ||
1271 UserI->getParent() == NewLatch || UserI == InductionPHI)
H A DSimpleLoopUnswitch.cpp151 Instruction *UserI = dyn_cast<Instruction>(U->getUser()); local
154 if (UserI && L.contains(UserI))
2242 Instruction *UserI = dyn_cast<Instruction>(U->getUser()); local
2243 if (!UserI)
2248 if (DT.dominates(LoopPH, UserI->getParent()))
2251 DT.dominates(ClonedPH, UserI->getParent()))
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp913 const Instruction *UserI = cast<Instruction>(*Ld->user_begin()); local
918 if (UserI->hasOneUse()) {
919 unsigned UserBits = UserI->getType()->getScalarSizeInBits();
920 if (isa<TruncInst>(UserI))
922 else if (isa<SExtInst>(UserI))
924 else if (isa<ZExtInst>(UserI))
928 FoldedValue = UserI;
929 UserI = cast<Instruction>(*UserI->user_begin());
930 // Load (single use) -> trunc/extend (single use) -> UserI
1005 const Instruction *UserI = cast<Instruction>(*FoldedValue->user_begin()); local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp998 Instruction *UserI = cast<Instruction>(U); local
1001 if (PHINode *UserPN = dyn_cast<PHINode>(UserI)) {
1008 if (isa<TruncInst>(UserI)) {
1009 PHIUsers.push_back(PHIUsageRecord(PHIId, 0, UserI));
1014 if (UserI->getOpcode() != Instruction::LShr ||
1015 !UserI->hasOneUse() || !isa<TruncInst>(UserI->user_back()) ||
1016 !isa<ConstantInt>(UserI->getOperand(1)))
1020 unsigned SizeInBits = UserI->getType()->getScalarSizeInBits();
1021 if (cast<ConstantInt>(UserI
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DDemandedBits.h66 void determineLiveOperandBits(const Instruction *UserI,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp266 const auto *UserI = cast<Instruction>(U); local
267 if (auto *InnerCatchSwitch = dyn_cast<CatchSwitchInst>(UserI)) {
270 calculateCXXStateNumbers(FuncInfo, UserI, CatchLow);
272 if (auto *InnerCleanupPad = dyn_cast<CleanupPadInst>(UserI)) {
278 calculateCXXStateNumbers(FuncInfo, UserI, CatchLow);
309 const auto *UserI = cast<Instruction>(U); local
310 if (UserI->isEHPad())
376 const auto *UserI = cast<Instruction>(U); local
377 if (auto *InnerCatchSwitch = dyn_cast<CatchSwitchInst>(UserI)) {
380 calculateSEHStateNumbers(FuncInfo, UserI, ParentStat
409 const auto *UserI = cast<Instruction>(U); local
905 Instruction *UserI = cast<Instruction>(U.getUser()); local
[all...]
H A DCodeGenPrepare.cpp2636 Instruction *UserI = cast<Instruction>(U.getUser()); local
2637 OriginalUses.push_back(InstructionAndIdx(UserI, U.getOperandNo()));
4553 Instruction *UserI = cast<Instruction>(U.getUser());
4554 if (LoadInst *LI = dyn_cast<LoadInst>(UserI)) {
4559 if (StoreInst *SI = dyn_cast<StoreInst>(UserI)) {
4567 if (AtomicRMWInst *RMW = dyn_cast<AtomicRMWInst>(UserI)) {
4575 if (AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(UserI)) {
4583 if (CallInst *CI = dyn_cast<CallInst>(UserI)) {
4600 if (FindAllMemoryUses(UserI, MemoryUses, ConsideredInsts, TLI, TRI, OptSize,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributor.cpp830 if (const Instruction *UserI = dyn_cast<Instruction>(U->getUser())) {
831 bool Found = Explorer.findInContextOf(UserI, EIt, EEnd);
832 if (Found && Base::followUse(A, U, UserI))
833 for (const Use &Us : UserI->uses())
1638 Instruction *UserI = cast<Instruction>(U.getUser());
1639 if (auto *CB = dyn_cast<CallBase>(UserI)) {
1651 if (isa<GetElementPtrInst>(UserI) || isa<BitCastInst>(UserI) ||
1652 isa<PHINode>(UserI) || isa<SelectInst>(UserI)) {
5010 Instruction *UserI = cast<Instruction>(U->getUser()); local
5031 followUsersOfUseIn(Attributor &A, const Use *U, const Instruction *UserI) argument
5056 analyzeUseIn(Attributor &A, const Use *U, const Instruction *UserI) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp469 if (auto *UserI = dyn_cast<Instruction>(U.getUser()))
470 if (ParallelRegionBlockSet.count(UserI->getParent()))

Completed in 192 milliseconds