Home
last modified time | relevance | path

Searched defs:CxtI (Results 1 – 25 of 29) sorted by relevance

12

/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineInternal.h327 : willNotOverflowUnsignedAdd(LHS, RHS, CxtI); in willNotOverflowAdd() argument
314 willNotOverflowSignedAdd(const WithCache<const Value * > & LHS,const WithCache<const Value * > & RHS,const Instruction & CxtI) willNotOverflowSignedAdd() argument
321 willNotOverflowUnsignedAdd(const WithCache<const Value * > & LHS,const WithCache<const Value * > & RHS,const Instruction & CxtI) willNotOverflowUnsignedAdd() argument
333 willNotOverflowSignedSub(const Value * LHS,const Value * RHS,const Instruction & CxtI) willNotOverflowSignedSub() argument
339 willNotOverflowUnsignedSub(const Value * LHS,const Value * RHS,const Instruction & CxtI) willNotOverflowUnsignedSub() argument
345 willNotOverflowSub(const Value * LHS,const Value * RHS,const Instruction & CxtI,bool IsSigned) willNotOverflowSub() argument
351 willNotOverflowSignedMul(const Value * LHS,const Value * RHS,const Instruction & CxtI) willNotOverflowSignedMul() argument
364 willNotOverflowMul(const Value * LHS,const Value * RHS,const Instruction & CxtI,bool IsSigned) willNotOverflowMul() argument
370 willNotOverflow(BinaryOperator::BinaryOps Opcode,const Value * LHS,const Value * RHS,const Instruction & CxtI,bool IsSigned) willNotOverflow() argument
[all...]
H A DInstCombineShifts.cpp521 canEvaluateShiftedShift(unsigned OuterShAmt,bool IsOuterShl,Instruction * InnerShift,InstCombinerImpl & IC,Instruction * CxtI) canEvaluateShiftedShift() argument
572 canEvaluateShifted(Value * V,unsigned NumBits,bool IsLeftShift,InstCombinerImpl & IC,Instruction * CxtI) canEvaluateShifted() argument
H A DInstCombineCasts.cpp268 Instruction *CxtI) { in canEvaluateTruncated() argument
1026 canEvaluateZExtd(Value * V,Type * Ty,unsigned & BitsToClear,InstCombinerImpl & IC,Instruction * CxtI) canEvaluateZExtd() argument
[all...]
H A DInstCombineSimplifyDemanded.cpp1964 unsigned Depth, Instruction *CxtI) { in SimplifyDemandedUseFPClass() argument
H A DInstCombineMulDivRem.cpp47 simplifyValueKnownNonZero(Value * V,InstCombinerImpl & IC,Instruction & CxtI) simplifyValueKnownNonZero() argument
H A DInstCombineAndOrXor.cpp708 foldAndOrOfICmpsOfAndWithPow2(ICmpInst * LHS,ICmpInst * RHS,Instruction * CxtI,bool IsAnd,bool IsLogical) foldAndOrOfICmpsOfAndWithPow2() argument
775 foldSignedTruncationCheck(ICmpInst * ICmp0,ICmpInst * ICmp1,Instruction & CxtI,InstCombiner::BuilderTy & Builder) foldSignedTruncationCheck() argument
/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h432 computeKnownBits(const Value * V,KnownBits & Known,unsigned Depth,const Instruction * CxtI) computeKnownBits() argument
437 computeKnownBits(const Value * V,unsigned Depth,const Instruction * CxtI) computeKnownBits() argument
471 computeOverflowForSignedMul(const Value * LHS,const Value * RHS,const Instruction * CxtI) computeOverflowForSignedMul() argument
479 computeOverflowForUnsignedAdd(const WithCache<const Value * > & LHS,const WithCache<const Value * > & RHS,const Instruction * CxtI) computeOverflowForUnsignedAdd() argument
487 computeOverflowForSignedAdd(const WithCache<const Value * > & LHS,const WithCache<const Value * > & RHS,const Instruction * CxtI) computeOverflowForSignedAdd() argument
494 computeOverflowForUnsignedSub(const Value * LHS,const Value * RHS,const Instruction * CxtI) computeOverflowForUnsignedSub() argument
500 computeOverflowForSignedSub(const Value * LHS,const Value * RHS,const Instruction * CxtI) computeOverflowForSignedSub() argument
[all...]
/llvm-project/llvm/lib/Analysis/
H A DLazyValueInfo.cpp572 getBlockValue(Value * Val,BasicBlock * BB,Instruction * CxtI) getBlockValue() argument
927 getRangeFor(Value * V,Instruction * CxtI,BasicBlock * BB) getRangeFor() argument
1098 getValueFromSimpleICmpCondition(CmpInst::Predicate Pred,Value * RHS,const APInt & Offset,Instruction * CxtI,bool UseBlockValue) getValueFromSimpleICmpCondition() argument
1473 getEdgeValue(Value * Val,BasicBlock * BBFrom,BasicBlock * BBTo,Instruction * CxtI) getEdgeValue() argument
1507 getValueInBlock(Value * V,BasicBlock * BB,Instruction * CxtI) getValueInBlock() argument
1524 getValueAt(Value * V,Instruction * CxtI) getValueAt() argument
1542 getValueOnEdge(Value * V,BasicBlock * FromBB,BasicBlock * ToBB,Instruction * CxtI) getValueOnEdge() argument
1563 auto *CxtI = cast<Instruction>(U.getUser()); getValueAtUse() local
1700 getConstant(Value * V,Instruction * CxtI) getConstant() argument
1719 getConstantRange(Value * V,Instruction * CxtI,bool UndefAllowed) getConstantRange() argument
1739 getConstantOnEdge(Value * V,BasicBlock * FromBB,BasicBlock * ToBB,Instruction * CxtI) getConstantOnEdge() argument
1757 getConstantRangeOnEdge(Value * V,BasicBlock * FromBB,BasicBlock * ToBB,Instruction * CxtI) getConstantRangeOnEdge() argument
1810 getPredicateOnEdge(CmpInst::Predicate Pred,Value * V,Constant * C,BasicBlock * FromBB,BasicBlock * ToBB,Instruction * CxtI) getPredicateOnEdge() argument
1819 getPredicateAt(CmpInst::Predicate Pred,Value * V,Constant * C,Instruction * CxtI,bool UseBlockValue) getPredicateAt() argument
1926 getPredicateAt(CmpInst::Predicate Pred,Value * LHS,Value * RHS,Instruction * CxtI,bool UseBlockValue) getPredicateAt() argument
[all...]
H A DValueTracking.cpp103 safeCxtI(const Value * V,const Instruction * CxtI) safeCxtI() argument
117 safeCxtI(const Value * V1,const Value * V2,const Instruction * CxtI) safeCxtI() argument
167 computeKnownBits(const Value * V,KnownBits & Known,const DataLayout & DL,unsigned Depth,AssumptionCache * AC,const Instruction * CxtI,const DominatorTree * DT,bool UseInstrInfo) computeKnownBits() argument
176 computeKnownBits(const Value * V,const DataLayout & DL,unsigned Depth,AssumptionCache * AC,const Instruction * CxtI,const DominatorTree * DT,bool UseInstrInfo) computeKnownBits() argument
184 computeKnownBits(const Value * V,const APInt & DemandedElts,const DataLayout & DL,unsigned Depth,AssumptionCache * AC,const Instruction * CxtI,const DominatorTree * DT,bool UseInstrInfo) computeKnownBits() argument
274 isKnownToBeAPowerOfTwo(const Value * V,const DataLayout & DL,bool OrZero,unsigned Depth,AssumptionCache * AC,const Instruction * CxtI,const DominatorTree * DT,bool UseInstrInfo) isKnownToBeAPowerOfTwo() argument
311 isKnownNonEqual(const Value * V1,const Value * V2,const DataLayout & DL,AssumptionCache * AC,const Instruction * CxtI,const DominatorTree * DT,bool UseInstrInfo) isKnownNonEqual() argument
338 ComputeNumSignBits(const Value * V,const DataLayout & DL,unsigned Depth,AssumptionCache * AC,const Instruction * CxtI,const DominatorTree * DT,bool UseInstrInfo) ComputeNumSignBits() argument
346 ComputeMaxSignificantBits(const Value * V,const DataLayout & DL,unsigned Depth,AssumptionCache * AC,const Instruction * CxtI,const DominatorTree * DT) ComputeMaxSignificantBits() argument
488 isValidAssumeForContext(const Instruction * Inv,const Instruction * CxtI,const DominatorTree * DT,bool AllowEphemerals) isValidAssumeForContext() argument
4650 computeKnownFPClassFromCond(const Value * V,Value * Cond,bool CondIsTrue,const Instruction * CxtI,KnownFPClass & KnownFromContext) computeKnownFPClassFromCond() argument
[all...]
H A DBasicAliasAnalysis.cpp510 const Instruction *CxtI; global() member
586 const Instruction *CxtI = dyn_cast<Instruction>(V); DecomposeGEPExpression() local
H A DTargetTransformInfo.cpp896 getArithmeticInstrCost(unsigned Opcode,Type * Ty,TTI::TargetCostKind CostKind,OperandValueInfo Op1Info,OperandValueInfo Op2Info,ArrayRef<const Value * > Args,const Instruction * CxtI,const TargetLibraryInfo * TLibInfo) const getArithmeticInstrCost() argument
/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetTransformInfo.cpp57 getArithmeticInstrCost(unsigned Opcode,Type * Ty,TTI::TargetCostKind CostKind,TTI::OperandValueInfo Op1Info,TTI::OperandValueInfo Op2Info,ArrayRef<const Value * > Args,const Instruction * CxtI) getArithmeticInstrCost() argument
/llvm-project/llvm/include/llvm/Analysis/
H A DSimplifyQuery.h75 const Instruction *CxtI = nullptr; member
/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp234 const Instruction *CxtI) { in getShuffleCost() argument
277 const Instruction *CxtI) { in getArithmeticInstrCost() argument
/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXTargetTransformInfo.cpp401 getArithmeticInstrCost(unsigned Opcode,Type * Ty,TTI::TargetCostKind CostKind,TTI::OperandValueInfo Op1Info,TTI::OperandValueInfo Op2Info,ArrayRef<const Value * > Args,const Instruction * CxtI) getArithmeticInstrCost() argument
/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp588 getArithmeticInstrCost(unsigned Opcode,Type * Ty,TTI::TargetCostKind CostKind,TTI::OperandValueInfo Op1Info,TTI::OperandValueInfo Op2Info,ArrayRef<const Value * > Args,const Instruction * CxtI) getArithmeticInstrCost() argument
611 getShuffleCost(TTI::ShuffleKind Kind,Type * Tp,ArrayRef<int> Mask,TTI::TargetCostKind CostKind,int Index,Type * SubTp,ArrayRef<const Value * > Args,const Instruction * CxtI) getShuffleCost() argument
/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp429 getArithmeticInstrCost(unsigned Opcode,Type * Ty,TTI::TargetCostKind CostKind,TTI::OperandValueInfo Op1Info,TTI::OperandValueInfo Op2Info,ArrayRef<const Value * > Args,const Instruction * CxtI) getArithmeticInstrCost() argument
609 getShuffleCost(TTI::ShuffleKind Kind,VectorType * Tp,ArrayRef<int> Mask,TTI::TargetCostKind CostKind,int Index,VectorType * SubTp,ArrayRef<const Value * > Args,const Instruction * CxtI) getShuffleCost() argument
/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp530 getArithmeticInstrCost(unsigned Opcode,Type * Ty,TTI::TargetCostKind CostKind,TTI::OperandValueInfo Op1Info,TTI::OperandValueInfo Op2Info,ArrayRef<const Value * > Args,const Instruction * CxtI) getArithmeticInstrCost() argument
1110 getShuffleCost(TTI::ShuffleKind Kind,VectorType * VT,ArrayRef<int> Mask,TTI::TargetCostKind CostKind,int Index,VectorType * SubTp,ArrayRef<const Value * > Args,const Instruction * CxtI) getShuffleCost() argument
/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp340 getShuffleCost(TTI::ShuffleKind Kind,VectorType * Tp,ArrayRef<int> Mask,TTI::TargetCostKind CostKind,int Index,VectorType * SubTp,ArrayRef<const Value * > Args,const Instruction * CxtI) getShuffleCost() argument
1646 getArithmeticInstrCost(unsigned Opcode,Type * Ty,TTI::TargetCostKind CostKind,TTI::OperandValueInfo Op1Info,TTI::OperandValueInfo Op2Info,ArrayRef<const Value * > Args,const Instruction * CxtI) getArithmeticInstrCost() argument
/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp1220 getShuffleCost(TTI::ShuffleKind Kind,VectorType * Tp,ArrayRef<int> Mask,TTI::TargetCostKind CostKind,int Index,VectorType * SubTp,ArrayRef<const Value * > Args,const Instruction * CxtI) getShuffleCost() argument
1334 getArithmeticInstrCost(unsigned Opcode,Type * Ty,TTI::TargetCostKind CostKind,TTI::OperandValueInfo Op1Info,TTI::OperandValueInfo Op2Info,ArrayRef<const Value * > Args,const Instruction * CxtI) getArithmeticInstrCost() argument
/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp562 computeValueKnownInPredecessorsImpl(Value * V,BasicBlock * BB,PredValueInfo & Result,ConstantPreference Preference,SmallPtrSet<Value *,4> & RecursionSet,Instruction * CxtI) computeValueKnownInPredecessorsImpl() argument
1543 processThreadableEdges(Value * Cond,BasicBlock * BB,ConstantPreference Preference,Instruction * CxtI) processThreadableEdges() argument
[all...]
H A DCorrelatedValuePropagation.cpp209 if (Constant *C = LVI->getConstantOnEdge(Incoming, From, To, CxtI)) in getValueOnEdge() argument
/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp3019 getArithmeticInstrCost(unsigned Opcode,Type * Ty,TTI::TargetCostKind CostKind,TTI::OperandValueInfo Op1Info,TTI::OperandValueInfo Op2Info,ArrayRef<const Value * > Args,const Instruction * CxtI) getArithmeticInstrCost() argument
3996 getShuffleCost(TTI::ShuffleKind Kind,VectorType * Tp,ArrayRef<int> Mask,TTI::TargetCostKind CostKind,int Index,VectorType * SubTp,ArrayRef<const Value * > Args,const Instruction * CxtI) getShuffleCost() argument
[all...]
/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp250 getArithmeticInstrCost(unsigned Opcode,Type * Ty,TTI::TargetCostKind CostKind,TTI::OperandValueInfo Op1Info,TTI::OperandValueInfo Op2Info,ArrayRef<const Value * > Args,const Instruction * CxtI) getArithmeticInstrCost() argument
1529 getShuffleCost(TTI::ShuffleKind Kind,VectorType * BaseTp,ArrayRef<int> Mask,TTI::TargetCostKind CostKind,int Index,VectorType * SubTp,ArrayRef<const Value * > Args,const Instruction * CxtI) getShuffleCost() argument
/llvm-project/llvm/unittests/Analysis/
H A DValueTrackingTest.cpp92 Instruction *CxtI = nullptr, *CxtI2 = nullptr, *CxtI3 = nullptr; member in __anon582e62a20111::ValueTrackingTest
[all...]

12