Home
last modified time | relevance | path

Searched refs:ReadNone (Results 1 – 25 of 37) sorted by relevance

12

/external/swiftshader/third_party/LLVM/include/llvm/
DAttributes.h46 const Attributes ReadNone = 1<<9; ///< Function does not access memory variable
92 const Attributes FunctionOnly = NoReturn | NoUnwind | ReadNone | ReadOnly |
104 ReadNone | ReadOnly,
DFunction.h220 return hasFnAttr(Attribute::ReadNone);
223 if (DoesNotAccessMemory) addFnAttr(Attribute::ReadNone);
224 else removeFnAttr(Attribute::ReadNone);
233 else removeFnAttr(Attribute::ReadOnly | Attribute::ReadNone);
DInstructions.h1281 return paramHasAttr(~0, Attribute::ReadNone);
1284 if (NotAccessMemory) addAttribute(~0, Attribute::ReadNone);
1285 else removeAttribute(~0, Attribute::ReadNone);
1294 else removeAttribute(~0, Attribute::ReadOnly | Attribute::ReadNone);
2753 return paramHasAttr(~0, Attribute::ReadNone);
2756 if (NotAccessMemory) addAttribute(~0, Attribute::ReadNone);
2757 else removeAttribute(~0, Attribute::ReadNone);
2766 else removeAttribute(~0, Attribute::ReadOnly | Attribute::ReadNone);
/external/llvm/include/llvm/IR/
DFunction.h287 return hasFnAttribute(Attribute::ReadNone);
290 addFnAttr(Attribute::ReadNone);
419 return AttributeSets.hasAttribute(n, Attribute::ReadNone);
422 addAttribute(n, Attribute::ReadNone);
DCallSite.h561 return dataOperandHasImpliedAttr(OpNo + 1, Attribute::ReadNone); in doesNotAccessMemory()
566 dataOperandHasImpliedAttr(OpNo + 1, Attribute::ReadNone); in onlyReadsMemory()
DAttributes.td119 def ReadNone : EnumAttr<"readnone">;
DIntrinsics.td75 // ReadNone - The specified argument pointer is not dereferenced by the
77 class ReadNone<int argNo> : IntrinsicProperty {
DInstructions.h1732 return hasFnAttr(Attribute::ReadNone);
1735 addAttribute(AttributeSet::FunctionIndex, Attribute::ReadNone);
3696 return hasFnAttr(Attribute::ReadNone);
3699 addAttribute(AttributeSet::FunctionIndex, Attribute::ReadNone);
DInstrTypes.h1506 case Attribute::ReadNone:
/external/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp212 B.addAttribute(Attribute::ReadOnly).addAttribute(Attribute::ReadNone); in addReadAttrs()
219 ReadsMemory ? Attribute::ReadOnly : Attribute::ReadNone); in addReadAttrs()
483 return IsRead ? Attribute::ReadOnly : Attribute::ReadNone; in determinePointerReadAttrs()
642 Attribute::AttrKind ReadAttr = Attribute::ReadNone; in addArgumentAttrs()
646 if (K == Attribute::ReadNone) in addArgumentAttrs()
659 R.addAttribute(Attribute::ReadOnly).addAttribute(Attribute::ReadNone); in addArgumentAttrs()
DForceFunctionAttrs.cpp49 .Case("readnone", Attribute::ReadNone) in parseAttrKind()
/external/llvm/utils/TableGen/
DCodeGenIntrinsics.h111 enum ArgAttribute { NoCapture, Returned, ReadOnly, WriteOnly, ReadNone }; enumerator
DCodeGenTarget.cpp606 ArgumentAttributes.push_back(std::make_pair(ArgNo, ReadNone)); in CodeGenIntrinsic()
DIntrinsicEmitter.cpp569 case CodeGenIntrinsic::ReadNone: in EmitAttributes()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DFunctionAttrs.cpp214 F->removeAttribute(~0, Attribute::ReadOnly | Attribute::ReadNone); in AddReadAttrs()
217 F->addAttribute(~0, ReadsMemory? Attribute::ReadOnly : Attribute::ReadNone); in AddReadAttrs()
/external/llvm/lib/Transforms/Scalar/
DPartiallyInlineLibCalls.cpp69 Call->addAttribute(AttributeSet::FunctionIndex, Attribute::ReadNone); in optimizeSQRT()
/external/clang/lib/CodeGen/
DCGStmt.cpp1844 bool ReadOnly = true, ReadNone = true; in EmitAsmStmt() local
1909 ReadOnly = ReadNone = false; in EmitAsmStmt()
1955 ReadNone = false; in EmitAsmStmt()
2022 ReadOnly = ReadNone = false; in EmitAsmStmt()
2074 if (ReadNone) in EmitAsmStmt()
2076 llvm::Attribute::ReadNone); in EmitAsmStmt()
DCGCall.cpp1663 FuncAttrs.addAttribute(llvm::Attribute::ReadNone); in ConstructAttributeList()
1824 .removeAttribute(llvm::Attribute::ReadNone); in ConstructAttributeList()
1936 .removeAttribute(llvm::Attribute::ReadNone); in ConstructAttributeList()
1947 .removeAttribute(llvm::Attribute::ReadNone); in ConstructAttributeList()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DAttributes.cpp55 if (Attrs & Attribute::ReadNone) in getAsString()
/external/llvm/lib/Target/Mips/
DMips16HardFloat.cpp422 Attribute::ReadNone); in fixupFPReturnAndCall()
/external/llvm/lib/IR/
DAttributes.cpp291 if (hasAttribute(Attribute::ReadNone)) in getAsString()
483 case Attribute::ReadNone: return 1 << 9; in getAttrMask()
1563 .addAttribute(Attribute::ReadNone) in typeIncompatible()
DVerifier.cpp1313 I->getKindAsEnum() == Attribute::ReadNone) { in verifyAttributeTypes()
1380 Assert(!(Attrs.hasAttribute(Idx, Attribute::ReadNone) && in verifyParameterAttrs()
1386 Assert(!(Attrs.hasAttribute(Idx, Attribute::ReadNone) && in verifyParameterAttrs()
1509 !(Attrs.hasAttribute(AttributeSet::FunctionIndex, Attribute::ReadNone) && in verifyFunctionAttrs()
1514 !(Attrs.hasAttribute(AttributeSet::FunctionIndex, Attribute::ReadNone) && in verifyFunctionAttrs()
1524 !(Attrs.hasAttribute(AttributeSet::FunctionIndex, Attribute::ReadNone) && in verifyFunctionAttrs()
1530 !(Attrs.hasAttribute(AttributeSet::FunctionIndex, Attribute::ReadNone) && in verifyFunctionAttrs()
DFunction.cpp188 hasAttribute(getArgNo()+1, Attribute::ReadNone); in onlyReadsMemory()
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp626 F->addAttribute(AttributeSet::FunctionIndex, Attribute::ReadNone); in runOnModule()
634 F->addAttribute(AttributeSet::FunctionIndex, Attribute::ReadNone); in runOnModule()
698 B.addAttribute(Attribute::ReadOnly).addAttribute(Attribute::ReadNone); in runOnModule()
/external/spirv-llvm/lib/SPIRV/
DSPIRVInternal.h237 add(Attribute::ReadNone, FunctionControlPureMask); in init()

12