14 #ifndef LLVM_CODEGEN_ANALYSIS_H
15 #define LLVM_CODEGEN_ANALYSIS_H
29 class TargetLoweringBase;
39 const unsigned *Indices,
40 const unsigned *IndicesEnd,
41 unsigned CurIndex = 0);
45 unsigned CurIndex = 0) {
57 SmallVectorImpl<EVT> &ValueVTs,
58 SmallVectorImpl<uint64_t> *Offsets = 0,
59 uint64_t StartingOffset = 0);
67 const TargetLowering &TLI);
97 const ReturnInst *
Ret,
98 const TargetLoweringBase &TLI);
COFF::RelocationTypeX86 Type
ISD::CondCode getICmpCondCode(ICmpInst::Predicate Pred)
void ComputeValueVTs(const TargetLowering &TLI, Type *Ty, SmallVectorImpl< EVT > &ValueVTs, SmallVectorImpl< uint64_t > *Offsets=0, uint64_t StartingOffset=0)
GlobalVariable * ExtractTypeInfo(Value *V)
ExtractTypeInfo - Returns the type info, possibly bitcast, encoded in V.
bool returnTypeIsEligibleForTailCall(const Function *F, const Instruction *I, const ReturnInst *Ret, const TargetLoweringBase &TLI)
ISD::CondCode getFCmpCondCode(FCmpInst::Predicate Pred)
bool hasInlineAsmMemConstraint(InlineAsm::ConstraintInfoVector &CInfos, const TargetLowering &TLI)
bool isInTailCallPosition(ImmutableCallSite CS, const TargetLowering &TLI)
ISD::CondCode getFCmpCodeWithoutNaN(ISD::CondCode CC)
unsigned ComputeLinearIndex(Type *Ty, const unsigned *Indices, const unsigned *IndicesEnd, unsigned CurIndex=0)
std::vector< ConstraintInfo > ConstraintInfoVector