Searched defs:CI (Results 126 - 144 of 144) sorted by relevance

123456

/external/llvm/lib/Target/ARM/
H A DARMFastISel.cpp518 const ConstantInt *CI = cast<ConstantInt>(C); local
519 if (Subtarget->hasV6T2Ops() && isUInt<16>(CI->getZExtValue())) {
526 .addImm(CI->getZExtValue()));
531 if (VT == MVT::i32 && Subtarget->hasV6T2Ops() && CI->isNegative()) {
532 unsigned Imm = (unsigned)~(CI->getSExtValue());
809 if (const ConstantInt *CI = dyn_cast<ConstantInt>(Op)) {
811 TmpOffset += CI->getSExtValue() * S;
816 ConstantInt *CI = local
818 TmpOffset += CI->getSExtValue() * S;
1256 if (const CmpInst *CI
1480 const CmpInst *CI = cast<CmpInst>(I); local
2274 const CallInst *CI = cast<CallInst>(I); local
[all...]
/external/llvm/lib/Target/X86/
H A DX86FastISel.cpp167 static CmpInst::Predicate optimizeCmpPredicate(const CmpInst *CI) { argument
169 CmpInst::Predicate Predicate = CI->getPredicate();
170 if (CI->getOperand(0) != CI->getOperand(1))
494 if (const ConstantInt *CI = dyn_cast<ConstantInt>(Val)) {
505 if (isInt<32>(CI->getSExtValue()))
513 addFullAddress(MIB, AM).addImm(Signed ? (uint64_t) CI->getSExtValue()
514 : CI->getZExtValue());
710 if (const ConstantInt *CI = dyn_cast<ConstantInt>(U->getOperand(1))) {
711 uint64_t Disp = (int32_t)AM.Disp + (uint64_t)CI
751 ConstantInt *CI = local
1185 const CmpInst *CI = cast<CmpInst>(I); local
1751 const auto *CI = dyn_cast<CmpInst>(Cond); local
1858 const auto *CI = dyn_cast<FCmpInst>(I->getOperand(0)); local
1954 const auto *CI = dyn_cast<CmpInst>(Cond); local
2639 const CallInst *CI = cast<CallInst>(I); local
2675 const CallInst *CI = cast<CallInst>(I); local
[all...]
/external/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp624 } else if (const CallInst *CI = dyn_cast<CallInst>(U)) {
625 if (CI->getCalledValue() != V) {
634 } else if (const BitCastInst *CI = dyn_cast<BitCastInst>(U)) {
635 if (!AllUsesOfValueWillTrapIfNull(CI, PHIs)) return false;
704 } else if (CastInst *CI = dyn_cast<CastInst>(I)) {
705 Changed |= OptimizeAwayTrappingUsesOfValue(CI,
706 ConstantExpr::getCast(CI->getOpcode(),
707 NewV, CI->getType()));
708 if (CI->use_empty()) {
710 CI
824 OptimizeGlobalAddressOfMalloc(GlobalVariable *GV, CallInst *CI, Type *AllocTy, ConstantInt *NElements, const DataLayout *DL, TargetLibraryInfo *TLI) argument
830 DEBUG(errs() << "PROMOTING GLOBAL: " << *GV << " CALL = " << *CI << '\\n'); local
1274 PerformHeapAllocSRoA(GlobalVariable *GV, CallInst *CI, Value *NElems, const DataLayout *DL, const TargetLibraryInfo *TLI) argument
1277 DEBUG(dbgs() << "SROA HEAP ALLOC: " << *GV << " MALLOC = " << *CI << '\\n'); local
1463 TryToOptimizeStoreOfMallocToGlobal(GlobalVariable *GV, CallInst *CI, Type *AllocTy, AtomicOrdering Ordering, Module::global_iterator &GVI, const DataLayout *DL, TargetLibraryInfo *TLI) argument
2136 ConstantInt *CI = cast<ConstantInt>(Addr->getOperand(OpNo)); local
3002 CallInst *CI = dyn_cast<CallInst>(*I++); local
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp162 static bool isHighOnes(const ConstantInt *CI) { argument
163 return (~CI->getValue() + 1).isPowerOf2();
519 if (ConstantInt *CI = dyn_cast<ConstantInt>(GEP->getOperand(i))) {
521 if (CI->isZero()) continue;
525 Offset += DL.getStructLayout(STy)->getElementOffset(CI->getZExtValue());
528 Offset += Size*CI->getSExtValue();
547 ConstantInt *CI = dyn_cast<ConstantInt>(GEP->getOperand(i)); local
548 if (!CI) return nullptr;
551 if (CI->isZero()) continue;
555 Offset += DL.getStructLayout(STy)->getElementOffset(CI
740 FoldICmpAddOpCst(Instruction &ICI, Value *X, ConstantInt *CI, ICmpInst::Predicate Pred) argument
1849 ConstantInt *CI = dyn_cast<ConstantInt>(ICI.getOperand(1)); local
2106 ConstantInt *CI; local
2201 ConstantInt *CI = cast<ConstantInt>(BO->getOperand(1)); local
2559 const APInt *CI; local
2604 const APInt *CI; local
3608 CallInst *CI = cast<CallInst>(LHSI); local
[all...]
H A DInstructionCombining.cpp648 if (CastInst *CI = dyn_cast<CastInst>(&I)) {
649 return IC->Builder->CreateCast(CI->getOpcode(), SO, I.getType());
674 if (ICmpInst *CI = dyn_cast<ICmpInst>(&I))
675 return IC->Builder->CreateICmp(CI->getPredicate(), Op0, Op1,
677 if (FCmpInst *CI = dyn_cast<FCmpInst>(&I))
678 return IC->Builder->CreateICmp(CI->getPredicate(), Op0, Op1,
813 } else if (CmpInst *CI = dyn_cast<CmpInst>(&I)) {
818 InV = ConstantExpr::getCompare(CI->getPredicate(), InC, C);
819 else if (isa<ICmpInst>(CI))
820 InV = Builder->CreateICmp(CI
839 CastInst *CI = cast<CastInst>(&I); local
1821 ConstantInt *CI = cast<ConstantInt>(II->getArgOperand(1)); local
[all...]
/external/llvm/lib/Transforms/ObjCARC/
H A DObjCARCOpts.cpp1332 CallInst *CI = cast<CallInst>(Inst); local
1333 if (IsNullOrUndef(CI->getArgOperand(0))) {
1335 Type *Ty = CI->getArgOperand(0)->getType();
1338 CI); local
1339 llvm::Value *NewValue = UndefValue::get(CI->getType());
1341 "\nOld = " << *CI << "\nNew = " << *NewValue << "\n");
1342 CI->replaceAllUsesWith(NewValue);
1343 CI->eraseFromParent();
1350 CallInst *CI = cast<CallInst>(Inst); local
1351 if (IsNullOrUndef(CI
1357 CI); local
2712 CallInst *CI = CallInst::Create(Decl, EarlierCall, "", Call); local
2741 CallInst *CI = CallInst::Create(Decl, EarlierCall, "", Call); local
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DGVN.cpp2148 ConstantInt *CI = dyn_cast<ConstantInt>(RHS); local
2149 if (!CI)
2153 bool isKnownTrue = CI->isAllOnesValue();
H A DLoopStrengthReduce.cpp3012 if (ICmpInst *CI = dyn_cast<ICmpInst>(LF.UserInst))
3013 if (CI->isEquality()) {
3016 Value *NV = CI->getOperand(1);
3018 CI->setOperand(1, CI->getOperand(0));
3019 CI->setOperand(0, NV);
3020 NV = CI->getOperand(1);
3029 N = TransformForPostIncUse(Normalize, N, CI, nullptr,
4674 ICmpInst *CI = cast<ICmpInst>(LF.UserInst); local
4675 DeadInsts.push_back(CI
[all...]
/external/llvm/lib/Transforms/Vectorize/
H A DBBVectorize.cpp497 if (CastInst *CI = dyn_cast<CastInst>(I))
498 T2 = CI->getSrcTy();
506 } else if (CmpInst *CI = dyn_cast<CmpInst>(I)) {
507 T2 = CI->getOperand(0)->getType();
1102 CallInst *CI = dyn_cast<CallInst>(I); local
1104 if (CI && (FI = CI->getCalledFunction())) {
1108 Value *A1I = CI->getArgOperand(1),
1117 for (unsigned i = 0, ie = CI->getNumArgOperands(); i != ie; ++i)
1118 Tys.push_back(CI
[all...]
H A DSLPVectorizer.cpp271 ConstantInt *CI = dyn_cast<ConstantInt>(E0->getOperand(1));
272 if (!CI || CI->getZExtValue())
277 ConstantInt *CI = dyn_cast<ConstantInt>(E->getOperand(1)); local
279 if (!CI || CI->getZExtValue() != i || E->getOperand(0) != Vec)
1066 CallInst *CI = cast<CallInst>(VL[0]); local
1069 Intrinsic::ID ID = getIntrinsicIDForCall(CI, TLI);
1075 Function *Int = CI->getCalledFunction();
1078 A1I = CI
1295 CallInst *CI = cast<CallInst>(VL0); local
1861 CallInst *CI = cast<CallInst>(VL0); local
[all...]
H A DLoopVectorize.cpp1361 if (CastInst *CI = dyn_cast<CastInst>(V))
1362 if (CI->getOperand(0)->getType()->isIntegerTy())
1363 return CI->getOperand(0);
3188 CastInst *CI = dyn_cast<CastInst>(it); local
3194 if (CI->getOperand(0) == OldInduction &&
3196 Value *ScalarCast = Builder.CreateCast(CI->getOpcode(), Induction,
3197 CI->getType());
3204 Type *DestTy = (VF == 1) ? CI->getType() :
3205 VectorType::get(CI->getType(), VF);
3209 Entry[Part] = Builder.CreateCast(CI
3220 CallInst *CI = cast<CallInst>(it); local
3611 CallInst *CI = dyn_cast<CallInst>(it); local
3701 CastInst *CI = dyn_cast<CastInst>(U); local
[all...]
/external/clang/lib/CodeGen/
H A DCGBuiltin.cpp411 ConstantInt *CI = dyn_cast<ConstantInt>(Ty); local
412 assert(CI);
413 uint64_t val = CI->getZExtValue();
414 CI = ConstantInt::get(Builder.getInt1Ty(), (val & 0x2) >> 1);
418 return RValue::get(Builder.CreateCall2(F, EmitScalarExpr(E->getArg(0)),CI));
2749 llvm::Constant *CI = ConstantInt::get(SizeTy, 0); local
2750 Ops[0] = Builder.CreateInsertElement(V, Ld, CI);
2751 return EmitNeonSplat(Ops[0], CI);
3470 llvm::Constant *CI = ConstantInt::get(Int32Ty, 0); local
3471 Args.push_back(CI);
3755 llvm::Constant *CI = ConstantInt::get(SizeTy, 0); local
3764 llvm::Constant *CI = ConstantInt::get(SizeTy, 0); local
3781 Constant *CI = ConstantInt::get(SizeTy, 0); local
3797 Constant *CI = ConstantInt::get(SizeTy, 0); local
4309 Constant *CI = ConstantInt::get(SizeTy, 0); local
4406 Constant *CI = ConstantInt::get(SizeTy, 0); local
5313 llvm::Constant *CI = ConstantInt::get(Int32Ty, 0); local
[all...]
H A DCGCall.cpp2979 llvm::Instruction *CI = CS.getInstruction(); local
2980 if (Builder.isNamePreserving() && !CI->getType()->isVoidTy())
2981 CI->setName("call");
3008 llvm::Value *Real = Builder.CreateExtractValue(CI, 0);
3009 llvm::Value *Imag = Builder.CreateExtractValue(CI, 1);
3020 BuildAggStore(*this, CI, DestPtr, DestIsVolatile, false);
3026 llvm::Value *V = CI;
3051 CreateCoercedStore(CI, StorePtr, DestIsVolatile, *this);
/external/clang/lib/Sema/
H A DSemaStmt.cpp1043 for (CaseValsTy::const_iterator CI = CaseVals.begin();
1044 CI != CaseVals.end(); CI++) {
1045 while (EI != EIend && EI->first < CI->first)
1047 if (EI == EIend || EI->first > CI->first) {
1048 Expr *CaseExpr = CI->second->getLHS();
1082 CaseValsTy::const_iterator CI = CaseVals.begin(); local
1090 while (CI != CaseVals.end() && CI->first < EI->first)
1091 CI
[all...]
/external/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp318 ConstantInt *CI = dyn_cast<ConstantInt>(V); local
319 if (CI || !DL || !isa<Constant>(V) || !V->getType()->isPointerTy())
320 return CI;
333 if (ConstantInt *CI = dyn_cast<ConstantInt>(CE->getOperand(0))) {
335 if (CI->getType() == PtrTy)
336 return CI;
339 (ConstantExpr::getIntegerCast(CI, PtrTy, /*isSigned=*/false));
636 ConstantInt* CI = dyn_cast<ConstantInt>(MD->getOperand(MD_i)); local
637 assert(CI);
638 Weights.push_back(CI
742 ConstantInt *CI = cast<ConstantInt>(MD->getOperand(i)); local
1569 const CallInst *CI = dyn_cast<CallInst>(I); local
2140 CmpInst *CI = cast<CmpInst>(NewCond); local
3117 CallInst *CI = Builder.CreateCall(II->getCalledValue(), local
3726 SwitchInst::CaseIt CI = SI->case_begin(); local
[all...]
/external/clang/lib/Rewrite/Frontend/
H A DRewriteObjC.cpp1724 for (Stmt::child_range CI = S->children(); CI; ++CI)
1725 if (*CI)
1726 WarnAboutReturnGotoStmts(*CI);
1738 for (Stmt::child_range CI = S->children(); CI; ++CI)
1739 if (*CI)
1740 HasReturnStmts(*CI, hasReturn
3607 std::string CI = SynthesizeBlockImpl(Blocks[i], ImplTag, DescTag); local
4892 ObjCImplementationDecl *CI = cast<ObjCImplementationDecl>(D); local
4897 ObjCCategoryImplDecl *CI = cast<ObjCCategoryImplDecl>(D); local
[all...]
H A DRewriteModernObjC.cpp1947 for (Stmt::child_range CI = S->children(); CI; ++CI)
1948 if (*CI)
1949 WarnAboutReturnGotoStmts(*CI);
4482 std::string CI = SynthesizeBlockImpl(Blocks[i], ImplTag, DescTag); local
4484 InsertText(FunLocStart, CI);
4576 for (Stmt::child_range CI = S->children(); CI; ++CI)
5876 ObjCImplementationDecl *CI = cast<ObjCImplementationDecl>(D); local
5881 ObjCCategoryImplDecl *CI = cast<ObjCCategoryImplDecl>(D); local
[all...]
/external/owasp/sanitizer/lib/htmlparser-1.3/
H A Dhtmlparser-1.3-with-transitions.jarMETA-INF/MANIFEST.MF nu/validator/htmlparser/tools/XSLT4HTML5XOM.class XSLT4HTML5XOM.java package nu. ...
H A Dhtmlparser-1.3.jarMETA-INF/MANIFEST.MF nu/validator/htmlparser/tools/XSLT4HTML5XOM.class XSLT4HTML5XOM.java package nu. ...

Completed in 7235 milliseconds

123456