Searched refs:IC (Results 1 - 25 of 40) sorted by relevance

12

/freebsd-9.3-release/contrib/llvm/utils/TableGen/
H A DX86DisassemblerShared.h24 insnContext = IC; \
H A DCodeEmitterGen.cpp286 for (std::vector<Record*>::iterator IC = Insts.begin(), EC = Insts.end();
287 IC != EC; ++IC) {
288 Record *R = *IC;
H A DCodeGenSchedule.h147 bool isKeyEqual(Record *IC, const IdxVec &W, const IdxVec &R) { argument
148 return ItinClassDef == IC && Writes == W && Reads == R;
/freebsd-9.3-release/contrib/llvm/lib/Transforms/IPO/
H A DInliner.cpp286 InlineCost IC = getInlineCost(CS); local
288 if (IC.isAlways()) {
294 if (IC.isNever()) {
301 if (!IC) {
302 DEBUG(dbgs() << " NOT Inlining: cost=" << IC.getCost()
303 << ", thres=" << (IC.getCostDelta() + IC.getCost())
328 int CandidateCost = IC.getCost() - (InlineConstants::CallPenalty + 1);
369 if (inliningPreventsSomeOuterInline && TotalSecondaryCost < IC.getCost()) {
371 " Cost = " << IC
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp69 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 DInstCombineSelect.cpp369 const ICmpInst *IC = dyn_cast<ICmpInst>(SI.getCondition()); local
370 if (!IC || !IC->isEquality() || !SI.getType()->isIntegerTy())
373 Value *CmpLHS = IC->getOperand(0);
374 Value *CmpRHS = IC->getOperand(1);
407 ICmpInst::Predicate Pred = IC->getPredicate();
664 const ICmpInst *IC = dyn_cast<ICmpInst>(SI.getCondition()); local
665 if (!IC || !IC->isEquality() || !SI.getType()->isIntegerTy())
668 if (!match(IC
[all...]
H A DInstCombineLoadStoreAlloca.cpp283 static Instruction *InstCombineLoadCast(InstCombiner &IC, LoadInst &LI, argument
316 if (IC.getDataLayout() &&
323 IC.getDataLayout()->getTypeSizeInBits(SrcPTy) ==
324 IC.getDataLayout()->getTypeSizeInBits(DestPTy)) {
330 IC.Builder->CreateLoad(CastOp, LI.isVolatile(), CI->getName());
453 static Instruction *InstCombineStoreToCast(InstCombiner &IC, StoreInst &SI) { argument
502 if (!IC.getDataLayout() ||
505 IC.getDataLayout()->getTypeSizeInBits(SrcPTy) !=
506 IC.getDataLayout()->getTypeSizeInBits(DestPTy))
528 CastOp = IC
[all...]
H A DInstCombineCasts.cpp1462 InstCombiner &IC) {
1478 InVal = IC.Builder->CreateBitCast(InVal, SrcTy);
1533 Type *VecEltTy, InstCombiner &IC) {
1549 if (IC.getDataLayout()->isBigEndian())
1569 Shift, Elements, VecEltTy, IC);
1584 if (!CollectInsertionElements(Piece, ShiftI, Elements, VecEltTy, IC))
1598 Elements, VecEltTy, IC);
1605 Elements, VecEltTy, IC);
1608 Elements, VecEltTy, IC) &&
1610 Elements, VecEltTy, IC);
1461 OptimizeVectorResize(Value *InVal, VectorType *DestTy, InstCombiner &IC) argument
1531 CollectInsertionElements(Value *V, unsigned Shift, SmallVectorImpl<Value*> &Elements, Type *VecEltTy, InstCombiner &IC) argument
1639 OptimizeIntegerToVectorInsertions(BitCastInst &CI, InstCombiner &IC) argument
1669 OptimizeIntToFloatBitCast(BitCastInst &CI,InstCombiner &IC) argument
[all...]
H A DInstCombineMulDivRem.cpp26 static Value *simplifyValueKnownNonZero(Value *V, InstCombiner &IC) { argument
41 A = IC.Builder->CreateSub(A, B);
42 return IC.Builder->CreateShl(PowerOf2, A);
51 if (Value *V2 = simplifyValueKnownNonZero(I->getOperand(0), IC)) {
742 InstCombiner &IC);
768 const BinaryOperator &I, InstCombiner &IC) {
778 const BinaryOperator &I, InstCombiner &IC) {
779 Value *ICI = IC.Builder->CreateICmpULT(Op0, cast<ConstantInt>(Op1));
787 InstCombiner &IC) {
796 N = IC
767 foldUDivPow2Cst(Value *Op0, Value *Op1, const BinaryOperator &I, InstCombiner &IC) argument
777 foldUDivNegCst(Value *Op0, Value *Op1, const BinaryOperator &I, InstCombiner &IC) argument
786 foldUDivShl(Value *Op0, Value *Op1, const BinaryOperator &I, InstCombiner &IC) argument
[all...]
H A DInstructionCombining.cpp550 InstCombiner *IC) {
552 return IC->Builder->CreateCast(CI->getOpcode(), SO, I.getType());
570 return IC->Builder->CreateBinOp(BO->getOpcode(), Op0, Op1,
573 return IC->Builder->CreateICmp(CI->getPredicate(), Op0, Op1,
576 return IC->Builder->CreateICmp(CI->getPredicate(), Op0, Op1,
2216 InstCombiner &IC,
2238 DEBUG(dbgs() << "IC: DCE: " << *Inst << '\n');
2246 DEBUG(dbgs() << "IC: ConstFold to: " << *C << " from: "
2313 IC.Worklist.AddInitialGroup(&InstrsForInstCombineWorklist[0],
2367 DEBUG(dbgs() << "IC
549 FoldOperationIntoSelectOperand(Instruction &I, Value *SO, InstCombiner *IC) argument
2214 AddReachableCodeToWorklist(BasicBlock *BB, SmallPtrSet<BasicBlock*, 64> &Visited, InstCombiner &IC, const DataLayout *TD, const TargetLibraryInfo *TLI) argument
2483 InstCombiner *IC; member in class:__anon2597::InstCombinerLibCallSimplifier
2485 InstCombinerLibCallSimplifier(const DataLayout *TD, const TargetLibraryInfo *TLI, InstCombiner *IC) argument
[all...]
H A DInstCombineCompares.cpp514 static Value *EvaluateGEPOffsetExpression(User *GEP, InstCombiner &IC) { argument
515 DataLayout &TD = *IC.getDataLayout();
581 VariableIdx = IC.Builder->CreateTrunc(VariableIdx, IntPtrTy);
603 VariableIdx = IC.Builder->CreateIntCast(VariableIdx, IntPtrTy,
606 return IC.Builder->CreateAdd(VariableIdx, OffsetVal, "offset");
1903 InstCombiner &IC) {
1931 if (IC.ComputeNumSignBits(A) < NeededSignBits ||
1932 IC.ComputeNumSignBits(B) < NeededSignBits)
1963 InstCombiner::BuilderTy *Builder = IC.Builder;
1977 IC
1901 ProcessUGT_ADDCST_ADD(ICmpInst &I, Value *A, Value *B, ConstantInt *CI2, ConstantInt *CI1, InstCombiner &IC) argument
1983 ProcessUAddIdiom(Instruction &I, Value *OrigAddV, InstCombiner &IC) argument
[all...]
/freebsd-9.3-release/sys/mips/include/
H A Dregnum.h108 * IC is valid only on RM7K and RM9K processors. Access to this is
111 #define IC 38 macro
/freebsd-9.3-release/contrib/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp209 InfixCalculator IC; member in class:__anon2501::X86AsmParser::IntelExprStateMachine
222 int64_t getImm() { return Imm + IC.execute(); }
244 IC.pushOperator(IC_PLUS);
280 IC.pushOperator(IC_MINUS);
306 IC.pushOperand(IC_REGISTER);
315 Scale = IC.popOperand();
316 IC.pushOperand(IC_IMM);
317 IC.popOperator();
336 IC.pushOperand(IC_IMM);
358 IC
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaObjCProperty.cpp838 ObjCImplementationDecl *IC = 0; local
840 if ((IC = dyn_cast<ObjCImplementationDecl>(ClassImpDecl))) {
841 IDecl = IC->getClassInterface();
859 Diag(IC->getLocation(), diag::warn_auto_implicit_atomic_property);
1247 if (IC) {
1250 IC->FindPropertyImplIvarDecl(PropertyIvar)) {
1258 = IC->FindPropertyImplDecl(PropertyId)) {
1263 IC->addPropertyImplementation(PIDecl);
1280 declaresSameEntity(IC->getClassInterface(), ClassDeclared)) {
1605 ObjCImplementationDecl *IC
[all...]
H A DSemaDeclObjC.cpp372 if (ObjCInterfaceDecl *IC = MDecl->getClassInterface()) {
374 IC->lookupMethod(MDecl->getSelector(), MDecl->isInstanceMethod());
398 if (const ObjCInterfaceDecl *SuperClass = IC->getSuperClass()) {
2612 if (ObjCImplementationDecl *IC=dyn_cast<ObjCImplementationDecl>(ClassDecl)) {
2613 IC->setAtEndRange(AtEnd);
2614 if (ObjCInterfaceDecl* IDecl = IC->getClassInterface()) {
2629 = IC->FindPropertyImplDecl(Property->getIdentifier()))
2648 ImplMethodsVsClassMethods(S, IC, IDecl);
2649 AtomicPropertySetterGetterRules(IC, IDecl);
2650 DiagnoseOwningPropertyGetterSynthesis(IC);
[all...]
H A DSemaAccess.cpp211 DeclContext *IC = S.computeDeclContext(getBaseObjectType()); local
212 InstanceContext = (IC ? cast<CXXRecordDecl>(IC)->getCanonicalDecl() : 0);
/freebsd-9.3-release/libexec/getty/
H A Dmain.c242 if (IC || AC) {
249 if (IC) {
250 if (getty_chat(IC, CT, DC) > 0) {
H A Dgettytab.h91 #define IC gettystrs[27].value macro
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/
H A DCommentParser.cpp414 InlineCommandComment *IC; local
416 IC = S.actOnInlineCommand(CommandTok.getLocation(),
423 IC = S.actOnInlineCommand(CommandTok.getLocation(),
430 return IC;
/freebsd-9.3-release/contrib/llvm/lib/IR/
H A DVerifier.cpp295 void visitICmpInst(ICmpInst &IC);
1665 void Verifier::visitICmpInst(ICmpInst &IC) { argument
1667 Type *Op0Ty = IC.getOperand(0)->getType();
1668 Type *Op1Ty = IC.getOperand(1)->getType();
1670 "Both operands to ICmp instruction are not of the same type!", &IC);
1673 "Invalid operand types for ICmp instruction", &IC);
1675 Assert1(IC.getPredicate() >= CmpInst::FIRST_ICMP_PREDICATE &&
1676 IC.getPredicate() <= CmpInst::LAST_ICMP_PREDICATE,
1677 "Invalid predicate in ICmp instruction!", &IC);
1679 visitInstruction(IC);
[all...]
/freebsd-9.3-release/contrib/llvm/include/llvm/IR/
H A DIRBuilder.h959 if (Constant *IC = dyn_cast<Constant>(Idx))
960 return Insert(Folder.CreateGetElementPtr(PC, IC), Name);
965 if (Constant *IC = dyn_cast<Constant>(Idx))
966 return Insert(Folder.CreateInBoundsGetElementPtr(PC, IC), Name);
1352 if (Constant *IC = dyn_cast<Constant>(Idx))
1353 return Insert(Folder.CreateExtractElement(VC, IC), Name);
1361 if (Constant *IC = dyn_cast<Constant>(Idx))
1362 return Insert(Folder.CreateInsertElement(VC, NC, IC), Name);
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp93 if (ICmpInst *IC = dyn_cast<ICmpInst>(*UI))
94 if (IC->isEquality())
95 if (Constant *C = dyn_cast<Constant>(IC->getOperand(1)))
109 if (ICmpInst *IC = dyn_cast<ICmpInst>(*UI))
110 if (IC->isEquality() && IC->getOperand(1) == With)
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DDecl.h1145 void setConstexpr(bool IC) { VarDeclBits.IsConstexpr = IC; }
1149 void setInitCapture(bool IC) { VarDeclBits.IsInitCapture = IC; }
1732 void setConstexpr(bool IC) { IsConstexpr = IC; }
/freebsd-9.3-release/contrib/llvm/lib/Target/X86/Disassembler/
H A DX86DisassemblerDecoderCommon.h82 ENUM_ENTRY(IC, 0, "says nothing about the instruction") \
/freebsd-9.3-release/contrib/dialog/
H A Ddlg_keys.c312 CURSES_NAME(IC),

Completed in 519 milliseconds

12