You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/values/instruction_value.rs
+5-1
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
use either::{Either,Either::{Left,Right}};
2
-
use llvm_sys::core::{LLVMGetAlignment,LLVMSetAlignment,LLVMGetOrdering,LLVMSetOrdering,LLVMGetInstructionOpcode,LLVMIsTailCall,LLVMGetPreviousInstruction,LLVMGetNextInstruction,LLVMGetInstructionParent,LLVMInstructionEraseFromParent,LLVMInstructionClone,LLVMSetVolatile,LLVMGetVolatile,LLVMGetNumOperands,LLVMGetOperand,LLVMGetOperandUse,LLVMSetOperand,LLVMValueAsBasicBlock,LLVMIsABasicBlock,LLVMGetICmpPredicate,LLVMGetFCmpPredicate,LLVMIsAAllocaInst,LLVMIsALoadInst,LLVMIsAStoreInst};
2
+
use llvm_sys::core::{LLVMGetAlignment,LLVMSetAlignment,LLVMGetInstructionOpcode,LLVMIsTailCall,LLVMGetPreviousInstruction,LLVMGetNextInstruction,LLVMGetInstructionParent,LLVMInstructionEraseFromParent,LLVMInstructionClone,LLVMSetVolatile,LLVMGetVolatile,LLVMGetNumOperands,LLVMGetOperand,LLVMGetOperandUse,LLVMSetOperand,LLVMValueAsBasicBlock,LLVMIsABasicBlock,LLVMGetICmpPredicate,LLVMGetFCmpPredicate,LLVMIsAAllocaInst,LLVMIsALoadInst,LLVMIsAStoreInst};
3
+
#[llvm_versions(3.8..=latest)]
4
+
use llvm_sys::core::{LLVMGetOrdering,LLVMSetOrdering};
3
5
#[llvm_versions(3.9..=latest)]
4
6
use llvm_sys::core::LLVMInstructionRemoveFromParent;
5
7
use llvm_sys::LLVMOpcode;
@@ -237,6 +239,7 @@ impl InstructionValue {
237
239
238
240
// SubTypes: Only apply to memory access instructions
239
241
/// Returns atomic ordering on a memory access instruction.
0 commit comments