/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | iterator.h | 269 template <typename VT, bool IC> 270 inline UptrVectorIterator<VT, IC>& UptrVectorIterator<VT, IC>::operator++() { 275 template <typename VT, bool IC> 276 inline UptrVectorIterator<VT, IC> UptrVectorIterator<VT, IC>::operator++(int) { 282 template <typename VT, bool IC> 283 inline UptrVectorIterator<VT, IC>& UptrVectorIterator<VT, IC>::operator--() { 288 template <typename VT, bool IC> 289 inline UptrVectorIterator<VT, IC> UptrVectorIterator<VT, IC>::operator--(int) { 295 template <typename VT, bool IC> 296 inline bool UptrVectorIterator<VT, IC>::operator==( [all …]
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | iterator.h | 269 template <typename VT, bool IC> 270 inline UptrVectorIterator<VT, IC>& UptrVectorIterator<VT, IC>::operator++() { 275 template <typename VT, bool IC> 276 inline UptrVectorIterator<VT, IC> UptrVectorIterator<VT, IC>::operator++(int) { 282 template <typename VT, bool IC> 283 inline UptrVectorIterator<VT, IC>& UptrVectorIterator<VT, IC>::operator--() { 288 template <typename VT, bool IC> 289 inline UptrVectorIterator<VT, IC> UptrVectorIterator<VT, IC>::operator--(int) { 295 template <typename VT, bool IC> 296 inline bool UptrVectorIterator<VT, IC>::operator==( [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopVectorize/ |
D | scalar_after_vectorization.ll | 2 …ce-vector-width=4 -force-vector-interleave=2 -loop-vectorize -S | FileCheck %s --check-prefix=NO-IC 21 ; NO-IC-LABEL: @scalar_after_vectorization_0 23 ; NO-IC: vector.body: 24 ; NO-IC: %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ] 25 ; NO-IC: %offset.idx = add i64 1, %index 26 ; NO-IC: %[[T2:.+]] = add i64 %offset.idx, 0 27 ; NO-IC: %[[T3:.+]] = add i64 %offset.idx, 4 28 ; NO-IC: %[[T4:.+]] = add nuw nsw i64 %[[T2]], %tmp0 29 ; NO-IC: %[[T5:.+]] = add nuw nsw i64 %[[T3]], %tmp0 30 ; NO-IC: %[[T6:.+]] = sub nsw i64 %[[T4]], %x [all …]
|
D | first-order-recurrence.ll | 3 …rize -force-vector-width=4 -force-vector-interleave=2 -S | FileCheck %s --check-prefix=UNROLL-NO-IC 292 ; UNROLL-NO-IC-LABEL: @PR30183( 293 ; UNROLL-NO-IC: vector.ph: 294 ; UNROLL-NO-IC: [[VECTOR_RECUR_INIT:%.*]] = insertelement <4 x i32> undef, i32 [[PRE_LOAD:%… 295 ; UNROLL-NO-IC-NEXT: br label %vector.body 296 ; UNROLL-NO-IC: vector.body: 297 ; UNROLL-NO-IC-NEXT: [[INDEX:%.*]] = phi i64 [ 0, %vector.ph ], [ [[INDEX_NEXT:%.*]], %vector.bo… 298 ; UNROLL-NO-IC-NEXT: [[VECTOR_RECUR:%.*]] = phi <4 x i32> [ [[VECTOR_RECUR_INIT]], %vector.ph ],… 299 ; UNROLL-NO-IC: [[TMP27:%.*]] = load i32, i32* {{.*}} 300 ; UNROLL-NO-IC-NEXT: [[TMP28:%.*]] = load i32, i32* {{.*}} [all …]
|
D | induction.ll | 4 …rize -force-vector-interleave=2 -force-vector-width=2 -S | FileCheck %s --check-prefix=UNROLL-NO-IC 91 ; UNROLL-NO-IC-LABEL: @scalarize_induction_variable_01( 92 ; UNROLL-NO-IC: vector.body: 93 ; UNROLL-NO-IC: %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ] 94 ; UNROLL-NO-IC: %[[i0:.+]] = add i64 %index, 0 95 ; UNROLL-NO-IC: %[[i2:.+]] = add i64 %index, 2 96 ; UNROLL-NO-IC: getelementptr inbounds i64, i64* %a, i64 %[[i0]] 97 ; UNROLL-NO-IC: getelementptr inbounds i64, i64* %a, i64 %[[i2]] 149 ; UNROLL-NO-IC-LABEL: @scalarize_induction_variable_02( 150 ; UNROLL-NO-IC: vector.body: [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 185 static Instruction *simplifyAllocaArraySize(InstCombiner &IC, AllocaInst &AI) { in simplifyAllocaArraySize() argument 193 Value *V = IC.Builder.getInt32(1); in simplifyAllocaArraySize() 201 AllocaInst *New = IC.Builder.CreateAlloca(NewTy, nullptr, AI.getName()); in simplifyAllocaArraySize() 214 Type *IdxTy = IC.getDataLayout().getIntPtrType(AI.getType()); in simplifyAllocaArraySize() 219 IC.InsertNewInstBefore(GEP, *It); in simplifyAllocaArraySize() 223 return IC.replaceInstUsesWith(AI, GEP); in simplifyAllocaArraySize() 227 return IC.replaceInstUsesWith(AI, Constant::getNullValue(AI.getType())); in simplifyAllocaArraySize() 231 Type *IntPtrTy = IC.getDataLayout().getIntPtrType(AI.getType()); in simplifyAllocaArraySize() 233 Value *V = IC.Builder.CreateIntCast(AI.getArraySize(), IntPtrTy, false); in simplifyAllocaArraySize() 254 PointerReplacer(InstCombiner &IC) : IC(IC) {} in PointerReplacer() argument [all …]
|
D | InstCombineShifts.cpp | 71 Instruction *InnerShift, InstCombiner &IC, in canEvaluateShiftedShift() argument 105 if (IC.MaskedValueIsZero(InnerShift->getOperand(0), Mask, 0, CxtI)) in canEvaluateShiftedShift() 123 InstCombiner &IC, Instruction *CxtI) { in canEvaluateShifted() argument 166 return canEvaluateShifted(I->getOperand(0), NumBits, IsLeftShift, IC, I) && in canEvaluateShifted() 167 canEvaluateShifted(I->getOperand(1), NumBits, IsLeftShift, IC, I); in canEvaluateShifted() 171 return canEvaluateShiftedShift(NumBits, IsLeftShift, I, IC, CxtI); in canEvaluateShifted() 177 return canEvaluateShifted(TrueVal, NumBits, IsLeftShift, IC, SI) && in canEvaluateShifted() 178 canEvaluateShifted(FalseVal, NumBits, IsLeftShift, IC, SI); in canEvaluateShifted() 186 if (!canEvaluateShifted(IncValue, NumBits, IsLeftShift, IC, PN)) in canEvaluateShifted() 259 InstCombiner &IC, const DataLayout &DL) { in getShiftedValue() argument [all …]
|
D | InstCombineCasts.cpp | 342 static bool canEvaluateTruncated(Value *V, Type *Ty, InstCombiner &IC, in canEvaluateTruncated() argument 359 return canEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI) && in canEvaluateTruncated() 360 canEvaluateTruncated(I->getOperand(1), Ty, IC, CxtI); in canEvaluateTruncated() 369 if (IC.MaskedValueIsZero(I->getOperand(0), Mask, 0, CxtI) && in canEvaluateTruncated() 370 IC.MaskedValueIsZero(I->getOperand(1), Mask, 0, CxtI)) { in canEvaluateTruncated() 371 return canEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI) && in canEvaluateTruncated() 372 canEvaluateTruncated(I->getOperand(1), Ty, IC, CxtI); in canEvaluateTruncated() 383 return canEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI); in canEvaluateTruncated() 396 IC.MaskedValueIsZero(I->getOperand(0), in canEvaluateTruncated() 398 return canEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI); in canEvaluateTruncated() [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 170 static Instruction *simplifyAllocaArraySize(InstCombiner &IC, AllocaInst &AI) { in simplifyAllocaArraySize() argument 178 Value *V = IC.Builder->getInt32(1); in simplifyAllocaArraySize() 186 AllocaInst *New = IC.Builder->CreateAlloca(NewTy, nullptr, AI.getName()); in simplifyAllocaArraySize() 199 Type *IdxTy = IC.getDataLayout().getIntPtrType(AI.getType()); in simplifyAllocaArraySize() 204 IC.InsertNewInstBefore(GEP, *It); in simplifyAllocaArraySize() 208 return IC.replaceInstUsesWith(AI, GEP); in simplifyAllocaArraySize() 212 return IC.replaceInstUsesWith(AI, Constant::getNullValue(AI.getType())); in simplifyAllocaArraySize() 216 Type *IntPtrTy = IC.getDataLayout().getIntPtrType(AI.getType()); in simplifyAllocaArraySize() 218 Value *V = IC.Builder->CreateIntCast(AI.getArraySize(), IntPtrTy, false); in simplifyAllocaArraySize() 320 static LoadInst *combineLoadToNewType(InstCombiner &IC, LoadInst &LI, Type *NewTy, in combineLoadToNewType() argument [all …]
|
D | InstCombineShifts.cpp | 62 Instruction *SecondShift, InstCombiner &IC, in canEvaluateShiftedShift() argument 96 if (IC.MaskedValueIsZero(SecondShift->getOperand(0), Mask, 0, CxtI)) in canEvaluateShiftedShift() 116 InstCombiner &IC, Instruction *CxtI) { in CanEvaluateShifted() argument 159 return CanEvaluateShifted(I->getOperand(0), NumBits, IsLeftShift, IC, I) && in CanEvaluateShifted() 160 CanEvaluateShifted(I->getOperand(1), NumBits, IsLeftShift, IC, I); in CanEvaluateShifted() 164 return canEvaluateShiftedShift(NumBits, IsLeftShift, I, IC, CxtI); in CanEvaluateShifted() 170 return CanEvaluateShifted(TrueVal, NumBits, IsLeftShift, IC, SI) && in CanEvaluateShifted() 171 CanEvaluateShifted(FalseVal, NumBits, IsLeftShift, IC, SI); in CanEvaluateShifted() 179 if (!CanEvaluateShifted(IncValue, NumBits, IsLeftShift, IC, PN)) in CanEvaluateShifted() 189 InstCombiner &IC, const DataLayout &DL) { in GetShiftedValue() argument [all …]
|
D | InstCombineCasts.cpp | 331 static bool canEvaluateTruncated(Value *V, Type *Ty, InstCombiner &IC, in canEvaluateTruncated() argument 361 return canEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI) && in canEvaluateTruncated() 362 canEvaluateTruncated(I->getOperand(1), Ty, IC, CxtI); in canEvaluateTruncated() 371 if (IC.MaskedValueIsZero(I->getOperand(0), Mask, 0, CxtI) && in canEvaluateTruncated() 372 IC.MaskedValueIsZero(I->getOperand(1), Mask, 0, CxtI)) { in canEvaluateTruncated() 373 return canEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI) && in canEvaluateTruncated() 374 canEvaluateTruncated(I->getOperand(1), Ty, IC, CxtI); in canEvaluateTruncated() 385 return canEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI); in canEvaluateTruncated() 395 if (IC.MaskedValueIsZero(I->getOperand(0), in canEvaluateTruncated() 398 return canEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI); in canEvaluateTruncated() [all …]
|
/external/v8/src/ic/ |
D | ic-inl.h | 19 Address IC::address() const { in address() 25 Address IC::constant_pool() const { in constant_pool() 34 Address IC::raw_constant_pool() const { in raw_constant_pool() 42 void IC::update_receiver_map(Handle<Object> receiver) { in update_receiver_map() 50 bool IC::IsHandler(MaybeObject* object) { in IsHandler() 60 bool IC::AddressIsDeoptimizedCode() const { in AddressIsDeoptimizedCode() 65 bool IC::AddressIsDeoptimizedCode(Isolate* isolate, Address address) { in AddressIsDeoptimizedCode()
|
D | ic.h | 25 class IC { 38 IC(Isolate* isolate, Handle<FeedbackVector> vector, FeedbackSlot slot); 39 virtual ~IC() {} in ~IC() 95 bool ConfigureVectorState(IC::State new_state, Handle<Object> key); 107 char TransitionMarkFromState(IC::State state); 205 DISALLOW_IMPLICIT_CONSTRUCTORS(IC); 209 class LoadIC : public IC { 212 : IC(isolate, vector, slot) { in LoadIC() 239 friend class IC; variable 272 friend class IC; [all …]
|
/external/llvm/lib/Transforms/IPO/ |
D | Inliner.cpp | 232 bool Inliner::shouldBeDeferred(Function *Caller, CallSite CS, InlineCost IC, in shouldBeDeferred() argument 256 int CandidateCost = IC.getCost() - (InlineConstants::CallPenalty + 1); in shouldBeDeferred() 296 if (inliningPreventsSomeOuterInline && TotalSecondaryCost < IC.getCost()) in shouldBeDeferred() 304 InlineCost IC = getInlineCost(CS); in shouldInline() local 306 if (IC.isAlways()) { in shouldInline() 314 if (IC.isNever()) { in shouldInline() 323 if (!IC) { in shouldInline() 324 DEBUG(dbgs() << " NOT Inlining: cost=" << IC.getCost() in shouldInline() 325 << ", thres=" << (IC.getCostDelta() + IC.getCost()) in shouldInline() 329 Twine(IC.getCost()) + ", threshold=" + in shouldInline() [all …]
|
/external/llvm/test/Transforms/LoopVectorize/ |
D | if-pred-stores.ll | 4 …nd-stores-vec -verify-loop-info -simplifycfg -instcombine < %s | FileCheck %s --check-prefix=VEC-IC 41 ; VEC-IC-LABEL: test 42 ; VEC-IC: %[[v1:.+]] = icmp sgt <2 x i32> %{{.*}}, <i32 100, i32 100> 43 ; VEC-IC: %[[v2:.+]] = add nsw <2 x i32> %{{.*}}, <i32 20, i32 20> 44 ; VEC-IC: %[[v3:.+]] = extractelement <2 x i1> %[[v1]], i32 0 45 ; VEC-IC: br i1 %[[v3]], label %[[cond:.+]], label %[[else:.+]] 47 ; VEC-IC: [[cond]]: 48 ; VEC-IC: %[[v4:.+]] = extractelement <2 x i32> %[[v2]], i32 0 49 ; VEC-IC: store i32 %[[v4]], i32* %{{.*}}, align 4 50 ; VEC-IC: br label %[[else:.+]] [all …]
|
D | induction.ll | 4 …rize -force-vector-interleave=2 -force-vector-width=2 -S | FileCheck %s --check-prefix=UNROLL-NO-IC 85 ; UNROLL-NO-IC-LABEL: @scalarize_induction_variable_01( 86 ; UNROLL-NO-IC: vector.body: 87 ; UNROLL-NO-IC: %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ] 88 ; UNROLL-NO-IC: %[[i0:.+]] = add i64 %index, 0 89 ; UNROLL-NO-IC: %[[i1:.+]] = add i64 %index, 1 90 ; UNROLL-NO-IC: %[[i2:.+]] = add i64 %index, 2 91 ; UNROLL-NO-IC: %[[i3:.+]] = add i64 %index, 3 92 ; UNROLL-NO-IC: getelementptr inbounds i64, i64* %a, i64 %[[i0]] 93 ; UNROLL-NO-IC: getelementptr inbounds i64, i64* %a, i64 %[[i1]] [all …]
|
/external/llvm/test/tools/llvm-profdata/ |
D | value-prof.proftext | 4 # RUN: llvm-profdata show -ic-targets -all-functions %t.profdata | FileCheck %s --check-prefix=IC … 54 #IC: Indirect Call Site Count: 3 55 #IC-NEXT: Indirect Target Results: 56 #IC-NEXT: [ 1, foo2, 1000 ] 57 #IC-NEXT: [ 1, foo, 100 ] 58 #IC-NEXT: [ 2, foo2, 20000 ]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-profdata/ |
D | value-prof.proftext | 4 # RUN: llvm-profdata show -ic-targets -all-functions %t.profdata | FileCheck %s --check-prefix=IC … 54 #IC: Indirect Call Site Count: 3 55 #IC-NEXT: Indirect Target Results: 56 #IC-NEXT: [ 1, foo2, 1000 ] 57 #IC-NEXT: [ 1, foo, 100 ] 58 #IC-NEXT: [ 2, foo2, 20000 ]
|
/external/python/cpython2/Doc/library/ |
D | ic.rst | 23 are the same as for the Pascal or C API to Internet Config, so the standard IC 37 .. class:: IC([signature[, ic]]) 56 IC Objects 59 :class:`IC` objects have a mapping interface, hence to obtain the mail address 63 The module knows about various datatypes, and converts the internal IC 66 IC database, this will have to serve as documentation. 72 Besides the dictionary interface, :class:`IC` objects have the following 76 .. method:: IC.launchurl(url[, hint]) 84 .. method:: IC.parseurl(data[, start[, end[, hint]]]) 94 .. method:: IC.mapfile(file) [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | Inliner.cpp | 298 shouldBeDeferred(Function *Caller, CallSite CS, InlineCost IC, in shouldBeDeferred() argument 322 int CandidateCost = IC.getCost() - 1; in shouldBeDeferred() 362 if (inliningPreventsSomeOuterInline && TotalSecondaryCost < IC.getCost()) in shouldBeDeferred() 376 InlineCost IC = GetInlineCost(CS); in shouldInline() local 381 if (IC.isAlways()) { in shouldInline() 384 return IC; in shouldInline() 387 if (IC.isNever()) { in shouldInline() 399 if (!IC) { in shouldInline() 400 LLVM_DEBUG(dbgs() << " NOT Inlining: cost=" << IC.getCost() in shouldInline() 401 << ", thres=" << IC.getThreshold() in shouldInline() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 69 InstCombiner &IC) { in CanEvaluateShifted() argument 112 return CanEvaluateShifted(I->getOperand(0), NumBits, isLeftShift, IC) && in CanEvaluateShifted() 113 CanEvaluateShifted(I->getOperand(1), NumBits, isLeftShift, IC); in CanEvaluateShifted() 165 return CanEvaluateShifted(SI->getTrueValue(), NumBits, isLeftShift, IC) && in CanEvaluateShifted() 166 CanEvaluateShifted(SI->getFalseValue(), NumBits, isLeftShift, IC); in CanEvaluateShifted() 174 if (!CanEvaluateShifted(PN->getIncomingValue(i), NumBits, isLeftShift,IC)) in CanEvaluateShifted() 184 InstCombiner &IC) { in GetShiftedValue() argument 188 V = IC.Builder->CreateShl(C, NumBits); in GetShiftedValue() 190 V = IC.Builder->CreateLShr(C, NumBits); in GetShiftedValue() 193 V = ConstantFoldConstantExpression(CE, IC.getTargetData()); in GetShiftedValue() [all …]
|
D | InstCombineLoadStoreAlloca.cpp | 89 static Instruction *InstCombineLoadCast(InstCombiner &IC, LoadInst &LI, in InstCombineLoadCast() argument 120 if (IC.getTargetData() && in InstCombineLoadCast() 126 IC.getTargetData()->getTypeSizeInBits(SrcPTy) == in InstCombineLoadCast() 127 IC.getTargetData()->getTypeSizeInBits(DestPTy)) { in InstCombineLoadCast() 133 IC.Builder->CreateLoad(CastOp, LI.isVolatile(), CI->getName()); in InstCombineLoadCast() 256 static Instruction *InstCombineStoreToCast(InstCombiner &IC, StoreInst &SI) { in InstCombineStoreToCast() argument 305 if (!IC.getTargetData() || in InstCombineStoreToCast() 308 IC.getTargetData()->getTypeSizeInBits(SrcPTy) != in InstCombineStoreToCast() 309 IC.getTargetData()->getTypeSizeInBits(DestPTy)) in InstCombineStoreToCast() 331 CastOp = IC.Builder->CreateInBoundsGEP(CastOp, NewGEPIndices); in InstCombineStoreToCast() [all …]
|
/external/python/cpython2/Lib/plat-mac/ |
D | ic.py | 163 class IC: class 237 if _dft_ic is None: _dft_ic = IC() 242 if _dft_ic is None: _dft_ic = IC() 247 if _dft_ic is None: _dft_ic = IC() 252 if _dft_ic is None: _dft_ic = IC() 257 if _dft_ic is None: _dft_ic = IC() 261 ic = IC()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | nn_ops_test.cc | 876 #define BM_AvgPoolFwdCPU(BS, IR, IC, ND, KR, KC, ST, PT, TH, LABEL) \ argument 878 BM_AvgPool_##BS##_##IR##_##IC##_##ND##_##KR##_##KC##_##ST##_##PT##_##TH( \ 880 BM_AvgPool(iters, BS, IR, IC, ND, KR, KC, ST, PT, TH, LABEL); \ 883 BM_AvgPool_##BS##_##IR##_##IC##_##ND##_##KR##_##KC##_##ST##_##PT##_##TH) 982 #define BM_AvgPoolBkCPU(BS, IR, IC, ND, KR, KC, ST, PT, TH, LABEL) \ argument 984 BM_AvgPoolBk_##BS##_##IR##_##IC##_##ND##_##KR##_##KC##_##ST##_##PT##_##TH( \ 986 BM_AvgPoolBk(iters, BS, IR, IC, ND, KR, KC, ST, PT, TH, LABEL); \ 989 BM_AvgPoolBk_##BS##_##IR##_##IC##_##ND##_##KR##_##KC##_##ST##_##PT##_##TH) 1071 #define BM_MaxPoolFwdCPU(BS, IR, IC, ND, KR, KC, ST, PT, TH, LABEL) \ argument 1073 BM_MaxPool_##BS##_##IR##_##IC##_##ND##_##KR##_##KC##_##ST##_##PT##_##TH( \ [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | BasicInliner.cpp | 110 InlineCost IC = CA.getInlineCost(CS, NeverInline); in inlineFunctions() local 111 if (IC.isAlways()) { in inlineFunctions() 114 } else if (IC.isNever()) { in inlineFunctions() 119 int Cost = IC.getValue(); in inlineFunctions()
|