Searched refs:MSI (Results 1 - 25 of 29) sorted by relevance

12

/external/llvm/lib/MC/MCDisassembler/
H A DDisassembler.h67 std::unique_ptr<const llvm::MCSubtargetInfo> MSI; member in class:llvm::LLVMDisasmContext
98 MSI.reset(mSI);
116 const MCSubtargetInfo *getSubtargetInfo() const { return MSI.get(); }
/external/llvm/lib/Analysis/
H A DAliasSetTracker.cpp350 bool AliasSetTracker::add(MemSetInst *MSI) { argument
352 MSI->getAAMetadata(AAInfo);
357 if (ConstantInt *C = dyn_cast<ConstantInt>(MSI->getLength()))
363 addPointer(MSI->getRawDest(), Len, AAInfo, AliasSet::ModAccess, NewPtr);
364 if (MSI->isVolatile())
394 if (MemSetInst *MSI = dyn_cast<MemSetInst>(I))
395 return add(MSI);
507 bool AliasSetTracker::remove(MemSetInst *MSI) { argument
509 MSI->getAAMetadata(AAInfo);
512 if (ConstantInt *C = dyn_cast<ConstantInt>(MSI
[all...]
H A DLint.cpp315 MemSetInst *MSI = cast<MemSetInst>(&I); local
317 visitMemoryReference(I, MSI->getDest(), MemoryLocation::UnknownSize,
318 MSI->getAlignment(), nullptr, MemRef::Write);
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp83 bool processLoopMemSet(MemSetInst *MSI, const SCEV *BECount);
251 if (MemSetInst *MSI = dyn_cast<MemSetInst>(Inst)) {
253 if (!processLoopMemSet(MSI, BECount)) continue;
328 processLoopMemSet(MemSetInst *MSI, const SCEV *BECount) { argument
330 if (MSI->isVolatile() || !isa<ConstantInt>(MSI->getLength())) return false;
336 Value *Pointer = MSI->getDest();
346 uint64_t SizeInBytes = cast<ConstantInt>(MSI->getLength())->getZExtValue();
356 if (Stride == 0 || MSI->getLength() != Stride->getValue())
360 MSI
[all...]
H A DMemCpyOptimizer.cpp218 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 DScalarReplAggregates.cpp468 if (MemSetInst *MSI = dyn_cast<MemSetInst>(User)) {
470 if (!isa<ConstantInt>(MSI->getValue()))
474 ConstantInt *Len = dyn_cast<ConstantInt>(MSI->getLength());
573 if (MemSetInst *MSI = dyn_cast<MemSetInst>(User)) {
574 assert(MSI->getRawDest() == Ptr && "Consistency error!");
575 unsigned NumBytes = cast<ConstantInt>(MSI->getLength())->getZExtValue();
577 unsigned Val = cast<ConstantInt>(MSI->getValue())->getZExtValue();
598 MSI->eraseFromParent();
H A DGVN.cpp1051 if (MemSetInst *MSI = dyn_cast<MemSetInst>(SrcInst)) {
1054 Value *Val = MSI->getValue();
/external/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp224 void addMemSet(int64_t OffsetFromFirst, MemSetInst *MSI) { argument
225 int64_t Size = cast<ConstantInt>(MSI->getLength())->getZExtValue();
226 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
748 processMemSet(MemSetInst *MSI, BasicBlock::iterator &BBI) argument
[all...]
H A DLoopIdiomRecognize.cpp113 bool processLoopMemSet(MemSetInst *MSI, const SCEV *BECount);
489 if (MemSetInst *MSI = dyn_cast<MemSetInst>(Inst)) {
491 if (!processLoopMemSet(MSI, BECount))
647 bool LoopIdiomRecognize::processLoopMemSet(MemSetInst *MSI, argument
650 if (MSI->isVolatile() || !isa<ConstantInt>(MSI->getLength()))
657 Value *Pointer = MSI->getDest();
667 uint64_t SizeInBytes = cast<ConstantInt>(MSI->getLength())->getZExtValue();
683 Value *SplatValue = MSI->getValue();
688 MSIs.insert(MSI);
[all...]
H A DGVN.cpp1094 if (MemSetInst *MSI = dyn_cast<MemSetInst>(SrcInst)) {
1097 Value *Val = MSI->getValue();
/external/llvm/lib/Transforms/Utils/
H A DGlobalStatus.cpp152 } else if (const MemSetInst *MSI = dyn_cast<MemSetInst>(I)) {
153 assert(MSI->getArgOperand(0) == V && "Memset only takes one pointer!");
154 if (MSI->isVolatile())
H A DEvaluator.cpp368 if (MemSetInst *MSI = dyn_cast<MemSetInst>(II)) {
369 if (MSI->isVolatile()) {
374 Constant *Ptr = getVal(MSI->getDest());
375 Constant *Val = getVal(MSI->getValue());
/external/clang/lib/AST/
H A DDecl.cpp552 } else if (MemberSpecializationInfo *MSI =
554 TSK = MSI->getTemplateSpecializationKind();
2250 if (MemberSpecializationInfo *MSI = getMemberSpecializationInfo())
2251 return cast<VarDecl>(MSI->getInstantiatedFrom());
2260 if (MemberSpecializationInfo *MSI = getMemberSpecializationInfo())
2261 return MSI->getTemplateSpecializationKind();
2270 if (MemberSpecializationInfo *MSI = getMemberSpecializationInfo())
2271 return MSI->getPointOfInstantiation();
2308 if (MemberSpecializationInfo *MSI = getMemberSpecializationInfo()) {
2309 MSI
3674 MemberSpecializationInfo *MSI = getMemberSpecializationInfo(); local
[all...]
/external/clang/lib/CodeGen/
H A DCGObjCGNU.cpp484 MessageSendInfo &MSI) = 0;
492 MessageSendInfo &MSI) = 0;
620 MessageSendInfo &MSI) override {
631 llvm::Value *cmd, MessageSendInfo &MSI) override {
683 MessageSendInfo &MSI) override {
724 MessageSendInfo &MSI) override {
840 MessageSendInfo &MSI) override {
847 if (CGM.ReturnTypeUsesSRet(MSI.CallInfo))
857 llvm::Value *cmd, MessageSendInfo &MSI) override {
862 if (CGM.ReturnTypeUsesSRet(MSI
1289 MessageSendInfo MSI = getMessageSendInfo(Method, ResultType, ActualArgs); local
1440 MessageSendInfo MSI = getMessageSendInfo(Method, ResultType, ActualArgs); local
[all...]
H A DCGObjCMac.cpp1885 MessageSendInfo MSI = getMessageSendInfo(Method, ResultType, ActualArgs); local
1922 if (CGM.ReturnSlotInterferesWithArgs(MSI.CallInfo)) {
1935 if (ReceiverCanBeNull && CGM.ReturnTypeUsesSRet(MSI.CallInfo))
1955 Fn = llvm::ConstantExpr::getBitCast(Fn, MSI.MessengerType);
1956 RValue rvalue = CGF.EmitCall(MSI.CallInfo, Fn, Return, ActualArgs,
6755 MessageSendInfo MSI = getMessageSendInfo(method, resultType, args); local
6768 if (CGM.ReturnSlotInterferesWithArgs(MSI.CallInfo)) {
6836 callee = CGF.Builder.CreateBitCast(callee, MSI.MessengerType);
6838 RValue result = CGF.EmitCall(MSI.CallInfo, callee, returnSlot, args);
/external/llvm/include/llvm/Analysis/
H A DAliasSetTracker.h339 bool add(MemSetInst *MSI);
352 bool remove(MemSetInst *MSI);
/external/swiftshader/third_party/LLVM/lib/Analysis/
H A DLint.cpp305 MemSetInst *MSI = cast<MemSetInst>(&I); local
307 visitMemoryReference(I, MSI->getDest(), AliasAnalysis::UnknownSize,
308 MSI->getAlignment(), 0,
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
H A DGlobalOpt.cpp252 } else if (const MemSetInst *MSI = dyn_cast<MemSetInst>(I)) {
253 assert(MSI->getArgOperand(0) == V && "Memset only takes one pointer!");
254 if (MSI->isVolatile()) return true;
2437 if (MemSetInst *MSI = dyn_cast<MemSetInst>(CI)) {
2438 if (MSI->isVolatile()) return false;
2439 Constant *Ptr = getVal(Values, MSI->getDest());
2440 Constant *Val = getVal(Values, MSI->getValue());
/external/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp255 MemberSpecializationInfo *MSI = ED->getMemberSpecializationInfo(); local
256 if (MSI->getTemplateSpecializationKind() != TSK_ExplicitSpecialization) {
/external/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp177 } else if (MemSetInst *MSI = dyn_cast<MemSetInst>(U)) {
178 if (isa<Constant>(MSI->getValue())) {
180 MSI->eraseFromParent();
181 } else if (Instruction *I = dyn_cast<Instruction>(MSI->getValue())) {
183 Dead.push_back(std::make_pair(I, MSI));
/external/swiftshader/third_party/LLVM/lib/Target/X86/
H A DX86FastISel.cpp1392 const MemSetInst &MSI = cast<MemSetInst>(I); local
1394 if (MSI.isVolatile())
1398 if (!MSI.getLength()->getType()->isIntegerTy(SizeWidth))
1401 if (MSI.getDestAddressSpace() > 255)
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp238 } else if (MemSetInst *MSI = dyn_cast<MemSetInst>(MI)) {
239 if (Instruction *I = SimplifyMemSet(MSI))
/external/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp1422 const MemSetInst *MSI = cast<MemSetInst>(II); local
1424 if (MSI->isVolatile())
1426 if (!MSI->getLength()->getType()->isIntegerTy(32))
/external/llvm/lib/Target/ARM/
H A DARMFastISel.cpp2540 const MemSetInst &MSI = cast<MemSetInst>(I); local
2542 if (MSI.isVolatile())
2545 if (!MSI.getLength()->getType()->isIntegerTy(32))
2548 if (MSI.getDestAddressSpace() > 255)
/external/llvm/lib/Target/X86/
H A DX86FastISel.cpp2590 const MemSetInst *MSI = cast<MemSetInst>(II); local
2592 if (MSI->isVolatile())
2596 if (!MSI->getLength()->getType()->isIntegerTy(SizeWidth))
2599 if (MSI->getDestAddressSpace() > 255)

Completed in 675 milliseconds

12