Home
last modified time | relevance | path

Searched refs:ConstantVal (Results 1 – 6 of 6) sorted by relevance

/external/llvm/include/llvm-c/
DCore.h1544 unsigned long long LLVMConstIntGetZExtValue(LLVMValueRef ConstantVal);
1551 long long LLVMConstIntGetSExtValue(LLVMValueRef ConstantVal);
1559 double LLVMConstRealGetDouble(LLVMValueRef ConstantVal, LLVMBool *losesInfo);
1671 LLVMOpcode LLVMGetConstOpcode(LLVMValueRef ConstantVal);
1674 LLVMValueRef LLVMConstNeg(LLVMValueRef ConstantVal);
1675 LLVMValueRef LLVMConstNSWNeg(LLVMValueRef ConstantVal);
1676 LLVMValueRef LLVMConstNUWNeg(LLVMValueRef ConstantVal);
1677 LLVMValueRef LLVMConstFNeg(LLVMValueRef ConstantVal);
1678 LLVMValueRef LLVMConstNot(LLVMValueRef ConstantVal);
1708 LLVMValueRef LLVMConstGEP(LLVMValueRef ConstantVal,
[all …]
/external/llvm/lib/IR/
DCore.cpp856 unsigned long long LLVMConstIntGetZExtValue(LLVMValueRef ConstantVal) { in LLVMConstIntGetZExtValue() argument
857 return unwrap<ConstantInt>(ConstantVal)->getZExtValue(); in LLVMConstIntGetZExtValue()
860 long long LLVMConstIntGetSExtValue(LLVMValueRef ConstantVal) { in LLVMConstIntGetSExtValue() argument
861 return unwrap<ConstantInt>(ConstantVal)->getSExtValue(); in LLVMConstIntGetSExtValue()
864 double LLVMConstRealGetDouble(LLVMValueRef ConstantVal, LLVMBool *LosesInfo) { in LLVMConstRealGetDouble() argument
865 ConstantFP *cFP = unwrap<ConstantFP>(ConstantVal) ; in LLVMConstRealGetDouble()
973 LLVMOpcode LLVMGetConstOpcode(LLVMValueRef ConstantVal) { in LLVMGetConstOpcode() argument
974 return map_to_llvmopcode(unwrap<ConstantExpr>(ConstantVal)->getOpcode()); in LLVMGetConstOpcode()
985 LLVMValueRef LLVMConstNeg(LLVMValueRef ConstantVal) { in LLVMConstNeg() argument
986 return wrap(ConstantExpr::getNeg(unwrap<Constant>(ConstantVal))); in LLVMConstNeg()
[all …]
/external/llvm/lib/AsmParser/
DLLParser.cpp658 Aliasee = ID.ConstantVal; in ParseAlias()
2371 ID.ConstantVal = ConstantInt::getTrue(Context); in ParseValID()
2375 ID.ConstantVal = ConstantInt::getFalse(Context); in ParseValID()
2434 ID.ConstantVal = ConstantVector::get(Elts); in ParseValID()
2468 ID.ConstantVal = ConstantArray::get(ATy, Elts); in ParseValID()
2474 ID.ConstantVal = ConstantDataArray::getString(Context, Lex.getStrVal(), in ParseValID()
2546 ID.ConstantVal = FwdRef; in ParseValID()
2571 ID.ConstantVal = BlockAddress::get(F, BB); in ParseValID()
2603 ID.ConstantVal = ConstantExpr::getCast((Instruction::CastOps)Opc, in ParseValID()
2622 ID.ConstantVal = ConstantExpr::getExtractValue(Val, Indices); in ParseValID()
[all …]
DLLParser.h64 Constant *ConstantVal; member
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c863 CAMLprim LLVMValueRef llvm_const_gep(LLVMValueRef ConstantVal, value Indices) { in llvm_const_gep() argument
864 return LLVMConstGEP(ConstantVal, (LLVMValueRef*) Op_val(Indices), in llvm_const_gep()
869 CAMLprim LLVMValueRef llvm_const_in_bounds_gep(LLVMValueRef ConstantVal, in llvm_const_in_bounds_gep() argument
871 return LLVMConstInBoundsGEP(ConstantVal, (LLVMValueRef*) Op_val(Indices), in llvm_const_in_bounds_gep()
1096 CAMLprim value llvm_set_initializer(LLVMValueRef ConstantVal, in llvm_set_initializer() argument
1098 LLVMSetInitializer(GlobalVar, ConstantVal); in llvm_set_initializer()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp932 Optional<SVal> ConstantVal = svalBuilder.getConstantVal(ArgE); in Visit() local
933 if (!ConstantVal) in Visit()
934 ConstantVal = UnknownVal(); in Visit()
940 State = State->BindExpr(S, LCtx, *ConstantVal); in Visit()