Lines Matching refs:special_ty
115 ::llvm::LoadInst* CreateLoad(::llvm::Value* ptr, TBAASpecialType special_ty) { in CreateLoad() argument
116 return CreateLoad(ptr, mdb_.GetTBAASpecialType(special_ty)); in CreateLoad()
119 …::llvm::StoreInst* CreateStore(::llvm::Value* val, ::llvm::Value* ptr, TBAASpecialType special_ty)… in CreateStore() argument
120 DCHECK_NE(special_ty, kTBAAConstJObject) << "ConstJObject is read only!"; in CreateStore()
121 return CreateStore(val, ptr, mdb_.GetTBAASpecialType(special_ty)); in CreateStore()
124 ::llvm::LoadInst* CreateLoad(::llvm::Value* ptr, TBAASpecialType special_ty, JType j_ty) { in CreateLoad() argument
125 return CreateLoad(ptr, mdb_.GetTBAAMemoryJType(special_ty, j_ty)); in CreateLoad()
129 TBAASpecialType special_ty, JType j_ty) { in CreateStore() argument
130 DCHECK_NE(special_ty, kTBAAConstJObject) << "ConstJObject is read only!"; in CreateStore()
131 return CreateStore(val, ptr, mdb_.GetTBAAMemoryJType(special_ty, j_ty)); in CreateStore()
137 TBAASpecialType special_ty) { in LoadFromObjectOffset() argument
138 return LoadFromObjectOffset(object_addr, offset, type, mdb_.GetTBAASpecialType(special_ty)); in LoadFromObjectOffset()
144 TBAASpecialType special_ty) { in StoreToObjectOffset() argument
145 DCHECK_NE(special_ty, kTBAAConstJObject) << "ConstJObject is read only!"; in StoreToObjectOffset()
146 StoreToObjectOffset(object_addr, offset, new_value, mdb_.GetTBAASpecialType(special_ty)); in StoreToObjectOffset()
152 TBAASpecialType special_ty, JType j_ty) { in LoadFromObjectOffset() argument
153 … return LoadFromObjectOffset(object_addr, offset, type, mdb_.GetTBAAMemoryJType(special_ty, j_ty)); in LoadFromObjectOffset()
159 TBAASpecialType special_ty, JType j_ty) { in StoreToObjectOffset() argument
160 DCHECK_NE(special_ty, kTBAAConstJObject) << "ConstJObject is read only!"; in StoreToObjectOffset()
161 StoreToObjectOffset(object_addr, offset, new_value, mdb_.GetTBAAMemoryJType(special_ty, j_ty)); in StoreToObjectOffset()
169 TBAASpecialType special_ty) { in CompareExchangeObjectOffset() argument
170 DCHECK_NE(special_ty, kTBAAConstJObject) << "ConstJObject is read only!"; in CompareExchangeObjectOffset()
172 mdb_.GetTBAASpecialType(special_ty)); in CompareExchangeObjectOffset()
175 void SetTBAA(::llvm::Instruction* inst, TBAASpecialType special_ty) { in SetTBAA() argument
176 inst->setMetadata(::llvm::LLVMContext::MD_tbaa, mdb_.GetTBAASpecialType(special_ty)); in SetTBAA()