/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
H A D | BasicInliner.cpp | 110 InlineCost IC = CA.getInlineCost(CS, NeverInline); local 111 if (IC.isAlways()) { 114 } else if (IC.isNever()) { 119 int Cost = IC.getValue();
|
/external/llvm/lib/Analysis/ |
H A D | CaptureTracking.cpp | 64 bool IncludeI, OrderedBasicBlock *IC) 65 : OrderedBB(IC), BeforeHere(I), DT(DT), 63 CapturesBefore(bool ReturnCaptures, const Instruction *I, DominatorTree *DT, bool IncludeI, OrderedBasicBlock *IC) argument
|
/external/v8/src/ic/ |
H A D | ic.h | 18 // IC is the base class for LoadIC, StoreIC, KeyedLoadIC, and KeyedStoreIC. 20 class IC { class in namespace:v8::internal 22 // Alias the inline cache state type to make the IC code more readable. 25 // The IC code is either invoked with no extra frames on the stack 29 // Construct the IC structure with the given number of extra 31 IC(FrameDepth depth, Isolate* isolate, FeedbackNexus* nexus = NULL); 32 virtual ~IC() {} 37 // Compute the current IC state based on the target stub, receiver and name. 84 // Nofity the IC system that a feedback has changed. 115 void ConfigureVectorState(IC [all...] |
/external/python/cpython2/Lib/plat-mac/ |
H A D | ic.py | 0 """IC wrapper module, based on Internet Config 1.3""" 36 """An unparseable IC entry""" 163 class IC: class in inherits: 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/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
H A D | Inliner.cpp | 219 InlineCost IC = getInlineCost(CS); local 221 if (IC.isAlways()) { 227 if (IC.isNever()) { 233 int Cost = IC.getValue();
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
H A D | InstCombineLoadStoreAlloca.cpp | 89 static Instruction *InstCombineLoadCast(InstCombiner &IC, LoadInst &LI, argument 120 if (IC.getTargetData() && 126 IC.getTargetData()->getTypeSizeInBits(SrcPTy) == 127 IC.getTargetData()->getTypeSizeInBits(DestPTy)) { 133 IC.Builder->CreateLoad(CastOp, LI.isVolatile(), CI->getName()); 256 static Instruction *InstCombineStoreToCast(InstCombiner &IC, StoreInst &SI) { argument 305 if (!IC.getTargetData() || 308 IC.getTargetData()->getTypeSizeInBits(SrcPTy) != 309 IC.getTargetData()->getTypeSizeInBits(DestPTy)) 331 CastOp = IC [all...] |
H A D | InstCombineShifts.cpp | 69 InstCombiner &IC) { 112 return CanEvaluateShifted(I->getOperand(0), NumBits, isLeftShift, IC) && 113 CanEvaluateShifted(I->getOperand(1), NumBits, isLeftShift, IC); 165 return CanEvaluateShifted(SI->getTrueValue(), NumBits, isLeftShift, IC) && 166 CanEvaluateShifted(SI->getFalseValue(), NumBits, isLeftShift, IC); 174 if (!CanEvaluateShifted(PN->getIncomingValue(i), NumBits, isLeftShift,IC)) 184 InstCombiner &IC) { 188 V = IC.Builder->CreateShl(C, NumBits); 190 V = IC.Builder->CreateLShr(C, NumBits); 193 V = ConstantFoldConstantExpression(CE, IC 68 CanEvaluateShifted(Value *V, unsigned NumBits, bool isLeftShift, InstCombiner &IC) argument 183 GetShiftedValue(Value *V, unsigned NumBits, bool isLeftShift, InstCombiner &IC) argument [all...] |
H A D | InstCombineMulDivRem.cpp | 26 static Value *simplifyValueKnownNonZero(Value *V, InstCombiner &IC) { argument 40 isPowerOfTwo(PowerOf2, IC.getTargetData())) { 41 A = IC.Builder->CreateSub(A, B); 42 return IC.Builder->CreateShl(PowerOf2, A); 49 isPowerOfTwo(I->getOperand(0), IC.getTargetData())) { 52 if (Value *V2 = simplifyValueKnownNonZero(I->getOperand(0), IC)) { 459 Value *IC = Builder->CreateICmpULT(Op0, C); local 460 return SelectInst::Create(IC, Constant::getNullValue(I.getType()),
|
H A D | InstCombineSelect.cpp | 586 const ICmpInst *IC = dyn_cast<ICmpInst>(SI.getCondition()); local 587 if (!IC || !IC->isEquality()) 590 if (!match(IC->getOperand(1), m_Zero())) 594 Value *LHS = IC->getOperand(0); 639 ShouldNotVal ^= IC->getPredicate() == ICmpInst::ICMP_NE;
|
/external/llvm/lib/Transforms/IPO/ |
H A D | Inliner.cpp | 232 bool Inliner::shouldBeDeferred(Function *Caller, CallSite CS, InlineCost IC, argument 256 int CandidateCost = IC.getCost() - (InlineConstants::CallPenalty + 1); 296 if (inliningPreventsSomeOuterInline && TotalSecondaryCost < IC.getCost()) 304 InlineCost IC = getInlineCost(CS); local 306 if (IC.isAlways()) { 314 if (IC.isNever()) { 323 if (!IC) { 324 DEBUG(dbgs() << " NOT Inlining: cost=" << IC.getCost() 325 << ", thres=" << (IC.getCostDelta() + IC [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineShifts.cpp | 62 Instruction *SecondShift, InstCombiner &IC, 96 if (IC.MaskedValueIsZero(SecondShift->getOperand(0), Mask, 0, CxtI)) 116 InstCombiner &IC, Instruction *CxtI) { 159 return CanEvaluateShifted(I->getOperand(0), NumBits, IsLeftShift, IC, I) && 160 CanEvaluateShifted(I->getOperand(1), NumBits, IsLeftShift, IC, I); 164 return canEvaluateShiftedShift(NumBits, IsLeftShift, I, IC, CxtI); 170 return CanEvaluateShifted(TrueVal, NumBits, IsLeftShift, IC, SI) && 171 CanEvaluateShifted(FalseVal, NumBits, IsLeftShift, IC, SI); 179 if (!CanEvaluateShifted(IncValue, NumBits, IsLeftShift, IC, PN)) 189 InstCombiner &IC, cons 60 canEvaluateShiftedShift(unsigned FirstShiftAmt, bool IsFirstShiftLeft, Instruction *SecondShift, InstCombiner &IC, Instruction *CxtI) argument 115 CanEvaluateShifted(Value *V, unsigned NumBits, bool IsLeftShift, InstCombiner &IC, Instruction *CxtI) argument 188 GetShiftedValue(Value *V, unsigned NumBits, bool isLeftShift, InstCombiner &IC, const DataLayout &DL) argument [all...] |
H A D | InstCombineLoadStoreAlloca.cpp | 170 static Instruction *simplifyAllocaArraySize(InstCombiner &IC, AllocaInst &AI) { argument 178 Value *V = IC.Builder->getInt32(1); 186 AllocaInst *New = IC.Builder->CreateAlloca(NewTy, nullptr, AI.getName()); 199 Type *IdxTy = IC.getDataLayout().getIntPtrType(AI.getType()); 204 IC.InsertNewInstBefore(GEP, *It); 208 return IC.replaceInstUsesWith(AI, GEP); 212 return IC.replaceInstUsesWith(AI, Constant::getNullValue(AI.getType())); 216 Type *IntPtrTy = IC.getDataLayout().getIntPtrType(AI.getType()); 218 Value *V = IC.Builder->CreateIntCast(AI.getArraySize(), IntPtrTy, false); 320 static LoadInst *combineLoadToNewType(InstCombiner &IC, LoadIns argument 394 combineStoreToNewValue(InstCombiner &IC, StoreInst &SI, Value *V) argument 460 combineLoadToOperationType(InstCombiner &IC, LoadInst &LI) argument 518 unpackLoadToAggregate(InstCombiner &IC, LoadInst &LI) argument 700 canReplaceGEPIdxWithZero(InstCombiner &IC, GetElementPtrInst *GEPI, Instruction *MemI, unsigned &Idx) argument 772 replaceGEPIdxWithZero(InstCombiner &IC, Value *Ptr, T &MemI) argument 934 likeBitCastFromVector(InstCombiner &IC, Value *V) argument 995 combineStoreToValueType(InstCombiner &IC, StoreInst &SI) argument 1020 unpackStoreToAggregate(InstCombiner &IC, StoreInst &SI) argument [all...] |
H A D | InstCombineMulDivRem.cpp | 28 static Value *simplifyValueKnownNonZero(Value *V, InstCombiner &IC, argument 42 A = IC.Builder->CreateSub(A, B); 43 return IC.Builder->CreateShl(One, A); 50 isKnownToBeAPowerOfTwo(I->getOperand(0), IC.getDataLayout(), false, 0, 51 IC.getAssumptionCache(), &CxtI, 52 IC.getDominatorTree())) { 55 if (Value *V2 = simplifyValueKnownNonZero(I->getOperand(0), IC, CxtI)) { 949 InstCombiner &IC); 975 const BinaryOperator &I, InstCombiner &IC) { 986 const BinaryOperator &I, InstCombiner &IC) { 974 foldUDivPow2Cst(Value *Op0, Value *Op1, const BinaryOperator &I, InstCombiner &IC) argument 985 foldUDivNegCst(Value *Op0, Value *Op1, const BinaryOperator &I, InstCombiner &IC) argument 994 foldUDivShl(Value *Op0, Value *Op1, const BinaryOperator &I, InstCombiner &IC) argument [all...] |
H A D | InstCombineSelect.cpp | 312 const ICmpInst *IC = dyn_cast<ICmpInst>(SI.getCondition()); local 313 if (!IC || !IC->isEquality() || !SI.getType()->isIntegerTy()) 316 Value *CmpLHS = IC->getOperand(0); 317 Value *CmpRHS = IC->getOperand(1); 350 ICmpInst::Predicate Pred = IC->getPredicate(); 772 const ICmpInst *IC = dyn_cast<ICmpInst>(SI.getCondition()); local 773 if (!IC || !IC->isEquality() || !SI.getType()->isIntegerTy()) 776 if (!match(IC [all...] |
/external/llvm/utils/TableGen/ |
H A D | CodeGenSchedule.h | 147 bool isKeyEqual(Record *IC, ArrayRef<unsigned> W, ArrayRef<unsigned> R) { argument 148 return ItinClassDef == IC && makeArrayRef(Writes) == W &&
|
/external/cblas/testing/ |
H A D | c_cblat1.f | 13 INTEGER IC variable in program:CCBLAT1 22 DO 20 IC = 1, 10 23 ICASE = IC
|
H A D | c_dblat1.f | 13 INTEGER IC variable in program:DCBLAT1 22 DO 20 IC = 1, 10 23 ICASE = IC
|
H A D | c_sblat1.f | 13 INTEGER IC variable in program:SCBLAT1 22 DO 20 IC = 1, 10 23 ICASE = IC
|
H A D | c_zblat1.f | 13 INTEGER IC variable in program:ZCBLAT1 22 DO 20 IC = 1, 10 23 ICASE = IC
|
/external/clang/lib/AST/ |
H A D | CommentParser.cpp | 414 InlineCommandComment *IC; local 416 IC = S.actOnInlineCommand(CommandTok.getLocation(), 423 IC = S.actOnInlineCommand(CommandTok.getLocation(), 430 return IC;
|
/external/eigen/blas/testing/ |
H A D | cblat1.f | 55 INTEGER IC variable in program:CBLAT1 64 DO 20 IC = 1, 10 65 ICASE = IC
|
H A D | zblat1.f | 55 INTEGER IC variable in program:ZBLAT1 64 DO 20 IC = 1, 10 65 ICASE = IC
|
H A D | dblat1.f | 55 INTEGER IC variable in program:DBLAT1 64 DO 20 IC = 1, 13 65 ICASE = IC
|
H A D | sblat1.f | 55 INTEGER IC variable in program:SBLAT1 64 DO 20 IC = 1, 13 65 ICASE = IC
|
/external/llvm/lib/Target/AArch64/Utils/ |
H A D | AArch64BaseInfo.h | 300 struct IC { struct in namespace:llvm::AArch64IC
|