/external/llvm/lib/MC/MCDisassembler/ |
H A D | Disassembler.h | 67 llvm::OwningPtr<const llvm::MCSubtargetInfo> MSI; member in class:llvm::LLVMDisasmContext 96 MSI.reset(mSI);
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | LoopIdiomRecognize.cpp | 83 bool processLoopMemSet(MemSetInst *MSI, const SCEV *BECount); 253 if (MemSetInst *MSI = dyn_cast<MemSetInst>(Inst)) { 255 if (!processLoopMemSet(MSI, BECount)) continue; 330 processLoopMemSet(MemSetInst *MSI, const SCEV *BECount) { argument 332 if (MSI->isVolatile() || !isa<ConstantInt>(MSI->getLength())) return false; 338 Value *Pointer = MSI->getDest(); 348 uint64_t SizeInBytes = cast<ConstantInt>(MSI->getLength())->getZExtValue(); 358 if (Stride == 0 || MSI->getLength() != Stride->getValue()) 362 MSI [all...] |
H A D | MemCpyOptimizer.cpp | 218 void addMemSet(int64_t OffsetFromFirst, MemSetInst *MSI) { argument 219 int64_t Size = cast<ConstantInt>(MSI->getLength())->getZExtValue(); 220 addRange(OffsetFromFirst, Size, MSI->getDest(), MSI->getAlignment(), MSI); 401 MemSetInst *MSI = cast<MemSetInst>(BI); local 403 if (MSI->isVolatile() || ByteVal != MSI->getValue() || 404 !isa<ConstantInt>(MSI->getLength())) 409 if (!IsPointerOffset(StartPtr, MSI 544 processMemSet(MemSetInst *MSI, BasicBlock::iterator &BBI) argument [all...] |
H A D | ScalarReplAggregates.cpp | 535 if (MemSetInst *MSI = dyn_cast<MemSetInst>(User)) { 540 if (!isa<ConstantInt>(MSI->getValue())) 544 ConstantInt *Len = dyn_cast<ConstantInt>(MSI->getLength()); 655 if (MemSetInst *MSI = dyn_cast<MemSetInst>(User)) { 656 assert(MSI->getRawDest() == Ptr && "Consistency error!"); 658 int64_t SNumBytes = cast<ConstantInt>(MSI->getLength())->getSExtValue(); 661 unsigned Val = cast<ConstantInt>(MSI->getValue())->getZExtValue(); 682 MSI->eraseFromParent();
|
H A D | GVN.cpp | 1118 if (MemSetInst *MSI = dyn_cast<MemSetInst>(SrcInst)) { 1121 Value *Val = MSI->getValue();
|
/external/clang/lib/AST/ |
H A D | Decl.cpp | 185 } else if (MemberSpecializationInfo *MSI = 187 TSK = MSI->getTemplateSpecializationKind(); 1524 if (MemberSpecializationInfo *MSI = getMemberSpecializationInfo()) 1525 return cast<VarDecl>(MSI->getInstantiatedFrom()); 1531 if (MemberSpecializationInfo *MSI = getMemberSpecializationInfo()) 1532 return MSI->getTemplateSpecializationKind(); 1543 MemberSpecializationInfo *MSI = getMemberSpecializationInfo(); local 1544 assert(MSI && "Not an instantiated static data member?"); 1545 MSI->setTemplateSpecializationKind(TSK); 1548 MSI 2694 MemberSpecializationInfo *MSI = getMemberSpecializationInfo(); local [all...] |
/external/llvm/lib/Analysis/ |
H A D | Lint.cpp | 310 MemSetInst *MSI = cast<MemSetInst>(&I); local 312 visitMemoryReference(I, MSI->getDest(), AliasAnalysis::UnknownSize, 313 MSI->getAlignment(), 0,
|
/external/llvm/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 277 } else if (const MemSetInst *MSI = dyn_cast<MemSetInst>(I)) { 278 assert(MSI->getArgOperand(0) == V && "Memset only takes one pointer!"); 279 if (MSI->isVolatile()) return true; 409 } else if (MemSetInst *MSI = dyn_cast<MemSetInst>(U)) { 410 if (isa<Constant>(MSI->getValue())) { 412 MSI->eraseFromParent(); 413 } else if (Instruction *I = dyn_cast<Instruction>(MSI->getValue())) { 415 Dead.push_back(std::make_pair(I, MSI)); 2689 if (MemSetInst *MSI = dyn_cast<MemSetInst>(II)) { 2690 if (MSI [all...] |
/external/clang/lib/Sema/ |
H A D | SemaCXXScopeSpec.cpp | 247 MemberSpecializationInfo *MSI = ED->getMemberSpecializationInfo(); local 248 if (MSI->getTemplateSpecializationKind() != TSK_ExplicitSpecialization) {
|
H A D | SemaType.cpp | 4396 MemberSpecializationInfo *MSI = Rec->getMemberSpecializationInfo(); local 4397 assert(MSI && "Missing member specialization information?"); 4399 if (MSI->getTemplateSpecializationKind() != TSK_ExplicitSpecialization)
|
/external/clang/lib/CodeGen/ |
H A D | CGObjCGNU.cpp | 1101 MessageSendInfo MSI = getMessageSendInfo(Method, ResultType, ActualArgs); local 1157 imp = EnforceType(Builder, imp, MSI.MessengerType); 1167 RValue msgRet = CGF.EmitCall(MSI.CallInfo, imp, Return, ActualArgs, 0, &call); 1245 MessageSendInfo MSI = getMessageSendInfo(Method, ResultType, ActualArgs); local 1262 } else if (CGM.ReturnTypeUsesSRet(MSI.CallInfo)) { 1276 imp = EnforceType(Builder, imp, MSI.MessengerType); 1279 RValue msgRet = CGF.EmitCall(MSI.CallInfo, imp, Return, ActualArgs,
|
H A D | CGObjCMac.cpp | 1724 MessageSendInfo MSI = getMessageSendInfo(Method, ResultType, ActualArgs); local 1734 if (CGM.ReturnTypeUsesSRet(MSI.CallInfo)) { 1762 Fn = llvm::ConstantExpr::getBitCast(Fn, MSI.MessengerType); 1763 RValue rvalue = CGF.EmitCall(MSI.CallInfo, Fn, Return, ActualArgs); 5839 MessageSendInfo MSI = getMessageSendInfo(method, resultType, args); local 5852 if (CGM.ReturnTypeUsesSRet(MSI.CallInfo)) { 5920 callee = CGF.Builder.CreateBitCast(callee, MSI.MessengerType); 5922 RValue result = CGF.EmitCall(MSI.CallInfo, callee, returnSlot, args);
|
/external/llvm/lib/Target/X86/ |
H A D | X86FastISel.cpp | 1414 const MemSetInst &MSI = cast<MemSetInst>(I); local 1416 if (MSI.isVolatile()) 1420 if (!MSI.getLength()->getType()->isIntegerTy(SizeWidth)) 1423 if (MSI.getDestAddressSpace() > 255)
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCalls.cpp | 234 } else if (MemSetInst *MSI = dyn_cast<MemSetInst>(MI)) { 235 if (Instruction *I = SimplifyMemSet(MSI))
|
/external/llvm/lib/Target/ARM/ |
H A D | ARMFastISel.cpp | 2506 const MemSetInst &MSI = cast<MemSetInst>(I); local 2508 if (MSI.isVolatile()) 2511 if (!MSI.getLength()->getType()->isIntegerTy(32)) 2514 if (MSI.getDestAddressSpace() > 255)
|
/external/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 1191 MemberSpecializationInfo *MSI = new (C) MemberSpecializationInfo(RD, TSK); local 1192 MSI->setPointOfInstantiation(POI); 1193 D->TemplateOrInstantiation = MSI;
|