Changeset View
Changeset View
Standalone View
Standalone View
llvm/trunk/include/llvm/Analysis/TargetTransformInfoImpl.h
Show First 20 Lines • Show All 146 Lines • ▼ Show 20 Lines | unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, | ||||
case Intrinsic::invariant_end: | case Intrinsic::invariant_end: | ||||
case Intrinsic::lifetime_start: | case Intrinsic::lifetime_start: | ||||
case Intrinsic::lifetime_end: | case Intrinsic::lifetime_end: | ||||
case Intrinsic::objectsize: | case Intrinsic::objectsize: | ||||
case Intrinsic::ptr_annotation: | case Intrinsic::ptr_annotation: | ||||
case Intrinsic::var_annotation: | case Intrinsic::var_annotation: | ||||
case Intrinsic::experimental_gc_result: | case Intrinsic::experimental_gc_result: | ||||
case Intrinsic::experimental_gc_relocate: | case Intrinsic::experimental_gc_relocate: | ||||
case Intrinsic::coro_alloc: | |||||
case Intrinsic::coro_begin: | |||||
case Intrinsic::coro_free: | |||||
case Intrinsic::coro_end: | |||||
case Intrinsic::coro_frame: | |||||
case Intrinsic::coro_size: | |||||
case Intrinsic::coro_suspend: | |||||
case Intrinsic::coro_param: | |||||
case Intrinsic::coro_subfn_addr: | |||||
// These intrinsics don't actually represent code after lowering. | // These intrinsics don't actually represent code after lowering. | ||||
return TTI::TCC_Free; | return TTI::TCC_Free; | ||||
} | } | ||||
} | } | ||||
bool hasBranchDivergence() { return false; } | bool hasBranchDivergence() { return false; } | ||||
bool isSourceOfDivergence(const Value *V) { return false; } | bool isSourceOfDivergence(const Value *V) { return false; } | ||||
▲ Show 20 Lines • Show All 379 Lines • Show Last 20 Lines |