Home
last modified time | relevance | path

Searched refs:MemTy (Results 1 – 9 of 9) sorted by relevance

/external/clang/lib/CodeGen/
DCGAtomic.cpp663 QualType MemTy = AtomicTy; in EmitAtomicExpr() local
665 MemTy = AT->getValueType(); in EmitAtomicExpr()
725 if (MemTy->isPointerType()) { in EmitAtomicExpr()
733 getContext().getTypeSizeInChars(MemTy->getPointeeType()); in EmitAtomicExpr()
841 MemTy->isPointerType() ? getContext().getIntPtrType() : MemTy; in EmitAtomicExpr()
866 MemTy, E->getExprLoc(), sizeChars); in EmitAtomicExpr()
878 MemTy, E->getExprLoc(), sizeChars); in EmitAtomicExpr()
889 MemTy, E->getExprLoc(), sizeChars); in EmitAtomicExpr()
918 MemTy, E->getExprLoc(), sizeChars); in EmitAtomicExpr()
929 MemTy, E->getExprLoc(), sizeChars); in EmitAtomicExpr()
[all …]
DTargetInfo.cpp4814 llvm::Type *MemTy = CGF.ConvertTypeForMem(Ty); in EmitAAPCSVAArg() local
4819 MemTy = llvm::PointerType::getUnqual(MemTy); in EmitAAPCSVAArg()
4856 RegAddr = CGF.Builder.CreateElementBitCast(Tmp, MemTy); in EmitAAPCSVAArg()
4869 RegAddr = CGF.Builder.CreateElementBitCast(BaseAddr, MemTy); in EmitAAPCSVAArg()
4923 OnStackAddr = CGF.Builder.CreateElementBitCast(OnStackAddr, MemTy); in EmitAAPCSVAArg()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp174 Type *MemTy = nullptr; member
178 MemAccessTy(Type *Ty, unsigned AS) : MemTy(Ty), AddrSpace(AS) {} in MemAccessTy()
181 return MemTy == Other.MemTy && AddrSpace == Other.AddrSpace; in operator ==()
191 Type *getType() { return MemTy; } in getType()
828 AccessTy.MemTy = SI->getOperand(0)->getType(); in getAccessType()
841 AccessTy.MemTy = OperandVal->getType(); in getAccessType()
846 AccessTy.MemTy = OperandVal->getType(); in getAccessType()
862 if (PointerType *PTy = dyn_cast<PointerType>(AccessTy.MemTy)) in getAccessType()
863 AccessTy.MemTy = PointerType::get(IntegerType::get(PTy->getContext(), 1), in getAccessType()
1570 if (AccessTy.MemTy->isPointerTy()) in print()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp112 Type *MemTy; member
115 MemAccessTy() : MemTy(nullptr), AddrSpace(UnknownAddressSpace) {} in MemAccessTy()
118 MemTy(Ty), AddrSpace(AS) {} in MemAccessTy()
121 return MemTy == Other.MemTy && AddrSpace == Other.AddrSpace; in operator ==()
699 AccessTy.MemTy = SI->getOperand(0)->getType(); in getAccessType()
707 if (PointerType *PTy = dyn_cast<PointerType>(AccessTy.MemTy)) in getAccessType()
708 AccessTy.MemTy = PointerType::get(IntegerType::get(PTy->getContext(), 1), in getAccessType()
1326 if (AccessTy.MemTy->isPointerTy()) in print()
1329 OS << *AccessTy.MemTy; in print()
1362 return TTI.isLegalAddressingMode(AccessTy.MemTy, BaseGV, BaseOffset, in isAMCompletelyFolded()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonISelLoweringHVX.cpp1406 MVT MemTy = BN->getMemoryVT().getSimpleVT(); in SplitHvxMemOp() local
1407 if (!isHvxPairTy(MemTy)) in SplitHvxMemOp()
1412 MVT SingleTy = typeSplit(MemTy).first; in SplitHvxMemOp()
1431 { DAG.getNode(ISD::CONCAT_VECTORS, dl, MemTy, Load0, Load1), in SplitHvxMemOp()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ISelDAGToDAG.cpp2731 EVT MemTy = cast<MemSDNode>(N)->getMemoryVT(); in SelectCMP_SWAP() local
2736 if (MemTy == MVT::i8) in SelectCMP_SWAP()
2738 else if (MemTy == MVT::i16) in SelectCMP_SWAP()
2740 else if (MemTy == MVT::i32) in SelectCMP_SWAP()
2742 else if (MemTy == MVT::i64) in SelectCMP_SWAP()
2747 MVT RegTy = MemTy == MVT::i64 ? MVT::i64 : MVT::i32; in SelectCMP_SWAP()
/external/llvm/lib/Target/AArch64/
DAArch64ISelDAGToDAG.cpp2527 EVT MemTy = cast<MemSDNode>(N)->getMemoryVT(); in SelectCMP_SWAP() local
2528 if (MemTy == MVT::i8) in SelectCMP_SWAP()
2530 else if (MemTy == MVT::i16) in SelectCMP_SWAP()
2532 else if (MemTy == MVT::i32) in SelectCMP_SWAP()
2534 else if (MemTy == MVT::i64) in SelectCMP_SWAP()
2539 MVT RegTy = MemTy == MVT::i64 ? MVT::i64 : MVT::i32; in SelectCMP_SWAP()
/external/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp2630 EVT MemTy = cast<MemSDNode>(N)->getMemoryVT(); in SelectCMP_SWAP() local
2631 if (MemTy == MVT::i8) in SelectCMP_SWAP()
2633 else if (MemTy == MVT::i16) in SelectCMP_SWAP()
2635 else if (MemTy == MVT::i32) in SelectCMP_SWAP()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp2463 EVT MemTy = cast<MemSDNode>(N)->getMemoryVT(); in SelectCMP_SWAP() local
2464 if (MemTy == MVT::i8) in SelectCMP_SWAP()
2466 else if (MemTy == MVT::i16) in SelectCMP_SWAP()
2468 else if (MemTy == MVT::i32) in SelectCMP_SWAP()