Home
last modified time | relevance | path

Searched refs:MSI (Results 1 – 20 of 20) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp230 void addMemSet(int64_t OffsetFromFirst, MemSetInst *MSI) { in addMemSet() argument
231 int64_t Size = cast<ConstantInt>(MSI->getLength())->getZExtValue(); in addMemSet()
232 addRange(OffsetFromFirst, Size, MSI->getDest(), MSI->getAlignment(), MSI); in addMemSet()
409 MemSetInst *MSI = cast<MemSetInst>(BI); in INITIALIZE_PASS_DEPENDENCY() local
411 if (MSI->isVolatile() || ByteVal != MSI->getValue() || in INITIALIZE_PASS_DEPENDENCY()
412 !isa<ConstantInt>(MSI->getLength())) in INITIALIZE_PASS_DEPENDENCY()
417 if (!IsPointerOffset(StartPtr, MSI->getDest(), Offset, DL)) in INITIALIZE_PASS_DEPENDENCY()
420 Ranges.addMemSet(Offset, MSI); in INITIALIZE_PASS_DEPENDENCY()
565 bool MemCpyOpt::processMemSet(MemSetInst *MSI, BasicBlock::iterator &BBI) { in processMemSet() argument
568 if (isa<ConstantInt>(MSI->getLength()) && !MSI->isVolatile()) in processMemSet()
[all …]
DLoopIdiomRecognize.cpp123 bool processLoopMemSet(MemSetInst *MSI, const SCEV *BECount);
366 if (MemSetInst *MSI = dyn_cast<MemSetInst>(Inst)) { in runOnLoopBlock() local
368 if (!processLoopMemSet(MSI, BECount)) in runOnLoopBlock()
410 bool LoopIdiomRecognize::processLoopMemSet(MemSetInst *MSI, in processLoopMemSet() argument
413 if (MSI->isVolatile() || !isa<ConstantInt>(MSI->getLength())) in processLoopMemSet()
420 Value *Pointer = MSI->getDest(); in processLoopMemSet()
430 uint64_t SizeInBytes = cast<ConstantInt>(MSI->getLength())->getZExtValue(); in processLoopMemSet()
440 if (!Stride || MSI->getLength() != Stride->getValue()) in processLoopMemSet()
444 MSI->getAlignment(), MSI->getValue(), MSI, Ev, in processLoopMemSet()
DScalarReplAggregates.cpp543 if (MemSetInst *MSI = dyn_cast<MemSetInst>(UI)) { in CanConvertToScalar() local
548 if (!isa<ConstantInt>(MSI->getValue())) in CanConvertToScalar()
552 ConstantInt *Len = dyn_cast<ConstantInt>(MSI->getLength()); in CanConvertToScalar()
663 if (MemSetInst *MSI = dyn_cast<MemSetInst>(User)) { in ConvertUsesToScalar() local
664 assert(MSI->getRawDest() == Ptr && "Consistency error!"); in ConvertUsesToScalar()
666 int64_t SNumBytes = cast<ConstantInt>(MSI->getLength())->getSExtValue(); in ConvertUsesToScalar()
669 unsigned Val = cast<ConstantInt>(MSI->getValue())->getZExtValue(); in ConvertUsesToScalar()
690 MSI->eraseFromParent(); in ConvertUsesToScalar()
DGVN.cpp1240 if (MemSetInst *MSI = dyn_cast<MemSetInst>(SrcInst)) { in GetMemInstValueForLoad() local
1243 Value *Val = MSI->getValue(); in GetMemInstValueForLoad()
/external/llvm/lib/MC/MCDisassembler/
DDisassembler.h66 std::unique_ptr<const llvm::MCSubtargetInfo> MSI; variable
100 MSI.reset(mSI); in LLVMDisasmContext()
118 const MCSubtargetInfo *getSubtargetInfo() const { return MSI.get(); } in getSubtargetInfo()
/external/llvm/lib/Transforms/Utils/
DGlobalStatus.cpp152 } else if (const MemSetInst *MSI = dyn_cast<MemSetInst>(I)) { in analyzeGlobalAux() local
153 assert(MSI->getArgOperand(0) == V && "Memset only takes one pointer!"); in analyzeGlobalAux()
154 if (MSI->isVolatile()) in analyzeGlobalAux()
/external/clang/lib/AST/
DDecl.cpp551 } else if (MemberSpecializationInfo *MSI = in useInlineVisibilityHidden() local
553 TSK = MSI->getTemplateSpecializationKind(); in useInlineVisibilityHidden()
2208 if (MemberSpecializationInfo *MSI = getMemberSpecializationInfo()) in getInstantiatedFromStaticDataMember() local
2209 return cast<VarDecl>(MSI->getInstantiatedFrom()); in getInstantiatedFromStaticDataMember()
2218 if (MemberSpecializationInfo *MSI = getMemberSpecializationInfo()) in getTemplateSpecializationKind() local
2219 return MSI->getTemplateSpecializationKind(); in getTemplateSpecializationKind()
2228 if (MemberSpecializationInfo *MSI = getMemberSpecializationInfo()) in getPointOfInstantiation() local
2229 return MSI->getPointOfInstantiation(); in getPointOfInstantiation()
2266 if (MemberSpecializationInfo *MSI = getMemberSpecializationInfo()) { in setTemplateSpecializationKind() local
2267 MSI->setTemplateSpecializationKind(TSK); in setTemplateSpecializationKind()
[all …]
/external/clang/lib/CodeGen/
DCGObjCGNU.cpp465 MessageSendInfo &MSI) = 0;
472 MessageSendInfo &MSI) = 0;
596 MessageSendInfo &MSI) override { in LookupIMP() argument
606 llvm::Value *cmd, MessageSendInfo &MSI) override { in LookupIMPSuper() argument
654 MessageSendInfo &MSI) override { in LookupIMP() argument
694 MessageSendInfo &MSI) override { in LookupIMPSuper() argument
806 MessageSendInfo &MSI) override { in LookupIMP() argument
813 if (CGM.ReturnTypeUsesSRet(MSI.CallInfo)) in LookupIMP()
823 llvm::Value *cmd, MessageSendInfo &MSI) override { in LookupIMPSuper() argument
828 if (CGM.ReturnTypeUsesSRet(MSI.CallInfo)) in LookupIMPSuper()
[all …]
DCGObjCMac.cpp1878 MessageSendInfo MSI = getMessageSendInfo(Method, ResultType, ActualArgs); in EmitMessageSend() local
1915 if (CGM.ReturnSlotInterferesWithArgs(MSI.CallInfo)) { in EmitMessageSend()
1928 if (ReceiverCanBeNull && CGM.ReturnTypeUsesSRet(MSI.CallInfo)) in EmitMessageSend()
1948 Fn = llvm::ConstantExpr::getBitCast(Fn, MSI.MessengerType); in EmitMessageSend()
1949 RValue rvalue = CGF.EmitCall(MSI.CallInfo, Fn, Return, ActualArgs, in EmitMessageSend()
6681 MessageSendInfo MSI = getMessageSendInfo(method, resultType, args); in EmitVTableMessageSend() local
6694 if (CGM.ReturnSlotInterferesWithArgs(MSI.CallInfo)) { in EmitVTableMessageSend()
6762 callee = CGF.Builder.CreateBitCast(callee, MSI.MessengerType); in EmitVTableMessageSend()
6764 RValue result = CGF.EmitCall(MSI.CallInfo, callee, returnSlot, args); in EmitVTableMessageSend()
/external/llvm/lib/Analysis/
DLint.cpp315 MemSetInst *MSI = cast<MemSetInst>(&I); in visitCallSite() local
317 visitMemoryReference(I, MSI->getDest(), MemoryLocation::UnknownSize, in visitCallSite()
318 MSI->getAlignment(), nullptr, MemRef::Write); in visitCallSite()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp218 } else if (MemSetInst *MSI = dyn_cast<MemSetInst>(U)) { in CleanupPointerRootUsers() local
219 if (isa<Constant>(MSI->getValue())) { in CleanupPointerRootUsers()
221 MSI->eraseFromParent(); in CleanupPointerRootUsers()
222 } else if (Instruction *I = dyn_cast<Instruction>(MSI->getValue())) { in CleanupPointerRootUsers()
224 Dead.push_back(std::make_pair(I, MSI)); in CleanupPointerRootUsers()
2593 if (MemSetInst *MSI = dyn_cast<MemSetInst>(II)) { in EvaluateBlock() local
2594 if (MSI->isVolatile()) { in EvaluateBlock()
2599 Constant *Ptr = getVal(MSI->getDest()); in EvaluateBlock()
2600 Constant *Val = getVal(MSI->getValue()); in EvaluateBlock()
/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp230 MemberSpecializationInfo *MSI = ED->getMemberSpecializationInfo(); in RequireCompleteDeclContext() local
231 if (MSI->getTemplateSpecializationKind() != TSK_ExplicitSpecialization) { in RequireCompleteDeclContext()
DSemaType.cpp6667 MemberSpecializationInfo *MSI = Rec->getMemberSpecializationInfo(); in RequireCompleteTypeImpl() local
6668 assert(MSI && "Missing member specialization information?"); in RequireCompleteTypeImpl()
6670 if (MSI->getTemplateSpecializationKind() != in RequireCompleteTypeImpl()
/external/llvm/lib/Target/Mips/
DMipsFastISel.cpp1409 const MemSetInst *MSI = cast<MemSetInst>(II); in fastLowerIntrinsicCall() local
1411 if (MSI->isVolatile()) in fastLowerIntrinsicCall()
1413 if (!MSI->getLength()->getType()->isIntegerTy(32)) in fastLowerIntrinsicCall()
/external/llvm/lib/Target/ARM/
DARMFastISel.cpp2546 const MemSetInst &MSI = cast<MemSetInst>(I); in SelectIntrinsicCall() local
2548 if (MSI.isVolatile()) in SelectIntrinsicCall()
2551 if (!MSI.getLength()->getType()->isIntegerTy(32)) in SelectIntrinsicCall()
2554 if (MSI.getDestAddressSpace() > 255) in SelectIntrinsicCall()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp2415 const MemSetInst *MSI = cast<MemSetInst>(II); in fastLowerIntrinsicCall() local
2417 if (MSI->isVolatile()) in fastLowerIntrinsicCall()
2421 if (!MSI->getLength()->getType()->isIntegerTy(SizeWidth)) in fastLowerIntrinsicCall()
2424 if (MSI->getDestAddressSpace() > 255) in fastLowerIntrinsicCall()
/external/fio/
DREADME123 build fio. To create an MSI installer package install WiX 3.8 from
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp749 } else if (MemSetInst *MSI = dyn_cast<MemSetInst>(MI)) { in visitCallInst() local
750 if (Instruction *I = SimplifyMemSet(MSI)) in visitCallInst()
/external/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp3369 const MemSetInst *MSI = cast<MemSetInst>(II); in fastLowerIntrinsicCall() local
3371 if (MSI->isVolatile()) in fastLowerIntrinsicCall()
3374 if (!MSI->getLength()->getType()->isIntegerTy(64)) in fastLowerIntrinsicCall()
3377 if (MSI->getDestAddressSpace() > 255) in fastLowerIntrinsicCall()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp1658 MemberSpecializationInfo *MSI = new (C) MemberSpecializationInfo(RD, TSK); in VisitCXXRecordDeclImpl() local
1659 MSI->setPointOfInstantiation(POI); in VisitCXXRecordDeclImpl()
1660 D->TemplateOrInstantiation = MSI; in VisitCXXRecordDeclImpl()