Searched refs:CI (Results 151 - 175 of 260) sorted by relevance

1234567891011

/external/llvm/lib/IR/
H A DValue.cpp527 ConstantInt *CI = dyn_cast<ConstantInt>(Index); local
528 if (!CI)
531 if (CI->isZero())
537 if (CI->getValue().getActiveBits() > 64)
539 if (CI->getZExtValue() >= ATy->getNumElements())
H A DDebugInfo.cpp80 if (ConstantInt *CI =
82 return CI->getZExtValue();
92 if (ConstantInt *CI =
94 return CI->getSExtValue();
144 if (auto *CI = dyn_cast_or_null<ConstantInt>(ComplexExpr->getOperand(Idx)))
145 return CI->getZExtValue();
1482 CallInst *CI = cast<CallInst>(Declare->user_back()); local
1483 CI->eraseFromParent();
1491 CallInst *CI = cast<CallInst>(DbgVal->user_back()); local
1492 CI
[all...]
H A DAsmWriter.cpp527 if (const CallInst *CI = dyn_cast<CallInst>(I)) {
528 if (Function *F = CI->getCalledFunction())
535 AttributeSet Attrs = CI->getAttributes().getFnAttributes();
769 if (const ConstantInt *CI = dyn_cast<ConstantInt>(CV)) {
770 if (CI->getType()->isIntegerTy(1)) {
771 Out << (CI->getZExtValue() ? "true" : "false");
774 Out << CI->getValue();
1804 if (const CallInst *CI = dyn_cast<CallInst>(&I)) {
1805 if (CI->isMustTailCall())
1807 else if (CI
[all...]
/external/llvm/lib/Analysis/
H A DScalarEvolutionExpander.cpp53 if (CastInst *CI = dyn_cast<CastInst>(U))
54 if (CI->getOpcode() == Op) {
58 if (BasicBlock::iterator(CI) != IP || BIP == IP) {
63 Ret->takeName(CI);
64 CI->replaceAllUsesWith(Ret);
65 CI->setOperand(0, UndefValue::get(V->getType()));
68 Ret = CI;
101 if (CastInst *CI = dyn_cast<CastInst>(V)) {
102 if (CI->getOperand(0)->getType() == Ty)
103 return CI
229 ConstantInt *CI = local
[all...]
H A DValueTracking.cpp244 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
246 KnownOne = CI->getValue();
824 if (ConstantInt *CI = dyn_cast<ConstantInt>(C))
825 return CI->getValue().isPowerOf2();
1312 ConstantInt *CI = dyn_cast<ConstantInt>(V); local
1330 if (CI && CI->getZExtValue() % Base == 0) {
1331 Multiple = ConstantInt::get(T, CI->getZExtValue() / Base);
1454 if (const CallInst *CI = dyn_cast<CallInst>(I))
1455 if (const Function *F = CI
[all...]
H A DBasicAliasAnalysis.cpp819 if (const CallInst *CI = dyn_cast<CallInst>(CS.getInstruction()))
820 if (CI->isTailCall())
830 for (ImmutableCallSite::arg_iterator CI = CS.arg_begin(), CE = CS.arg_end();
831 CI != CE; ++CI, ++ArgNo) {
835 if (!(*CI)->getType()->isPointerTy() ||
843 if (!isNoAlias(Location(*CI), Location(Object))) {
/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/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...]
/external/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp287 const CallInst *CI = dyn_cast<const CallInst>(Instr); local
288 if (CI && isa<const InlineAsm>(CI->getCalledValue()))
/external/llvm/lib/Target/Mips/
H A DMips16HardFloat.cpp408 } else if (const CallInst *CI = dyn_cast<CallInst>(I)) {
409 const Value* V = CI->getCalledValue();
416 Function *F_ = CI->getCalledFunction();
/external/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp267 if (const CallInst *CI = dyn_cast<CallInst>(I)) {
268 if (CI->cannotDuplicate())
272 else if (!isa<IntrinsicInst>(CI))
274 else if (!CI->getType()->isVectorTy())
399 Constant *CI = LVI->getConstantOnEdge(InVal, local
401 if (Constant *KC = getKnownConstant(CI, Preference))
477 if (ConstantInt *CI = dyn_cast<ConstantInt>(BO->getOperand(1))) {
485 Constant *Folded = ConstantExpr::get(BO->getOpcode(), V, CI);
586 if (ConstantInt *CI = dyn_cast<ConstantInt>(Cond)) {
588 KnownCond = CI
607 Constant *CI = LVI->getConstant(V, BB); local
[all...]
H A DSeparateConstOffsetFromGEP.cpp409 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
411 ConstantOffset = CI->getValue();
520 if (ConstantInt *CI = dyn_cast<ConstantInt>(NextInChain)) {
521 if (CI->isZero() && !(BO->getOpcode() == Instruction::Sub && OpNo == 0))
/external/llvm/tools/bugpoint/
H A DExtractFunction.cpp246 ConstantInt *CI = dyn_cast<ConstantInt>(CS->getOperand(0)); local
247 int Priority = CI ? CI->getSExtValue() : 0;
/external/llvm/lib/Transforms/Vectorize/
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/include/clang/Frontend/
H A DASTUnit.h439 /// \param CI to this ASTUnit.
440 void transferASTDataFromCompilerInstance(CompilerInstance &CI);
698 static ASTUnit *create(CompilerInvocation *CI,
736 /// \param CI - The compiler invocation to use; it must have exactly one input
759 CompilerInvocation *CI, IntrusiveRefCntPtr<DiagnosticsEngine> Diags,
771 /// \param CI - The compiler invocation to use; it must have exactly one input
780 CompilerInvocation *CI, IntrusiveRefCntPtr<DiagnosticsEngine> Diags,
H A DUtils.h169 createChainedIncludesSource(CompilerInstance &CI,
/external/clang/lib/ARCMigrate/
H A DObjCMT.cpp188 ASTConsumer *ObjCMigrateAction::CreateASTConsumer(CompilerInstance &CI, argument
194 WrappedConsumer = WrapperFrontendAction::CreateASTConsumer(CI, InFile);
207 bool ObjCMigrateAction::BeginInvocation(CompilerInstance &CI) { argument
208 Remapper.initFromDisk(MigrateDir, CI.getDiagnostics(),
210 CompInst = &CI;
211 CI.getDiagnostics().setIgnoreAllWarnings(true);
1844 bool MigrateSourceAction::BeginInvocation(CompilerInstance &CI) { argument
1845 CI.getDiagnostics().setIgnoreAllWarnings(true);
1868 ASTConsumer *MigrateSourceAction::CreateASTConsumer(CompilerInstance &CI, argument
1871 PPRec = new PPConditionalDirectiveRecord(CI
[all...]
/external/llvm/lib/Analysis/IPA/
H A DGlobalsModRef.cpp406 for (CallGraphNode::iterator CI = SCC[i]->begin(), E = SCC[i]->end();
407 CI != E && !KnowNothing; ++CI)
408 if (Function *Callee = CI->second->getFunction()) {
/external/llvm/lib/CodeGen/
H A DAnalysis.cpp132 InlineAsm::ConstraintInfo &CI = CInfos[i]; local
133 for (unsigned j = 0, ee = CI.Codes.size(); j != ee; ++j) {
134 TargetLowering::ConstraintType CType = TLI.getConstraintType(CI.Codes[j]);
140 if (CI.isIndirect)
/external/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.cpp848 void DwarfUnit::addConstantValue(DIE &Die, const ConstantInt *CI, DIType Ty) {
849 addConstantValue(Die, CI->getValue(), Ty);
1331 if (ConstantInt *CI = dyn_cast<ConstantInt>(Val))
1332 addConstantValue(ParamDIE, CI, resolve(VP.getType()));
1544 const ConstantInt *CI = dyn_cast_or_null<ConstantInt>(CE->getOperand(1));
1545 if (!CI || !CI->isZero())
1658 } else if (const ConstantInt *CI =
1664 addConstantValue(*VariableDIE, CI, GTy);
1777 for (DenseMap<DIE *, const MDNode *>::iterator CI
[all...]
H A DAsmPrinter.cpp1556 if (const ConstantInt *CI = dyn_cast<ConstantInt>(CV))
1557 return MCConstantExpr::Create(CI->getZExtValue(), Ctx);
1699 if (const ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
1700 if (CI->getBitWidth() > 64) return -1;
1703 uint64_t Value = CI->getZExtValue();
1709 if (CI->getBitWidth() < 8 || !isPowerOf2_64(CI->getBitWidth())) return -1;
1908 static void emitGlobalConstantLargeInt(const ConstantInt *CI, AsmPrinter &AP) { argument
1910 unsigned BitWidth = CI->getBitWidth();
1914 APInt Realigned(CI
[all...]
/external/llvm/lib/MC/MCAnalysis/
H A DMCObjectDisassembler.cpp259 for (AddressSetTy::const_iterator CI = Calls.begin(), CE = Calls.end();
260 CI != CE; ++CI) {
261 BBInfo &BBI = BBInfos[*CI];
/external/clang/lib/Lex/
H A DPPDirectives.cpp2317 PPConditionalInfo CI; local
2318 if (CurPPLexer->popConditionalLevel(CI)) {
2328 if (CI.FoundElse) Diag(Result, diag::pp_err_else_after_else);
2331 Callbacks->Else(Result.getLocation(), CI.IfLoc);
2334 SkipExcludedConditionalBlock(CI.IfLoc, /*Foundnonskip*/true,
2350 PPConditionalInfo CI; local
2351 if (CurPPLexer->popConditionalLevel(CI)) {
2361 if (CI.FoundElse) Diag(ElifToken, diag::pp_err_elif_after_else);
2366 PPCallbacks::CVK_NotEvaluated, CI.IfLoc);
2369 SkipExcludedConditionalBlock(CI
[all...]
/external/clang/test/Analysis/
H A Dderived-to-base.cpp77 class CI : public virtual Intermediate { class in namespace:VirtualBaseClasses
82 class DI : public BI, public CI {};

Completed in 577 milliseconds

1234567891011